Combined Code
movieClip 2 snow_mc {
}
// unknown tag 88 length 51
movieClip 5 ejecutarenemigos5 {
#initclip
Object.registerClass('ejecutarenemigos5', ejecutarenemigos5);
#endinitclip
}
movieClip 7 ejecutarenemigos4 {
#initclip
Object.registerClass('ejecutarenemigos4', ejecutarenemigos4);
#endinitclip
}
movieClip 9 ejecutarenemigos2 {
#initclip
Object.registerClass('ejecutarenemigos2', ejecutarenemigos2);
#endinitclip
}
movieClip 11 bajacooldowns {
#initclip
Object.registerClass('bajacooldowns', bajacooldowns);
#endinitclip
}
movieClip 17 {
}
movieClip 28 {
frame 10 {
stop();
}
}
movieClip 34 {
frame 9 {
stop();
}
}
movieClip 35 {
}
movieClip 44 {
}
movieClip 47 {
}
movieClip 57 {
frame 14 {
stop();
}
}
movieClip 60 {
frame 9 {
stop();
}
}
movieClip 61 {
}
movieClip 67 {
}
movieClip 71 {
}
movieClip 72 {
}
movieClip 73 {
frame 1 {
stop();
}
}
movieClip 75 {
instance of movieClip 73 {
onClipEvent (enterFrame) {
play();
}
}
frame 15 {
stop();
}
}
movieClip 77 {
frame 9 {
stop();
}
}
movieClip 78 {
}
movieClip 79 pet {
#initclip
Object.registerClass('pet', pet);
#endinitclip
frame 1 {
if (_root.guardian1 == 'Ferralas') {
gotoAndStop(2);
} else {
if (_root.guardian1 == 'ShellKin') {
gotoAndStop(3);
} else {
if (_root.guardian1 == 'LifeWing') {
gotoAndStop(4);
} else {
gotoAndStop(1);
}
}
}
}
instance of movieClip 35 {
onClipEvent (enterFrame) {
if (_root.player1life < 1) {
this.gotoAndStop(3);
} else {
if (_root.ferralasenaccion == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 61 {
onClipEvent (enterFrame) {
if (_root.player1life < 1) {
this.gotoAndStop(3);
} else {
if (_root.shellkinenaccion == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 78 {
onClipEvent (enterFrame) {
if (_root.player1life < 1) {
this.gotoAndStop(3);
} else {
if (_root.lifewingenaccion == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
}
movieClip 81 ejecutarenemigos {
#initclip
Object.registerClass('ejecutarenemigos', ejecutarenemigos);
#endinitclip
}
movieClip 83 {
frame 1 {
stop();
}
}
movieClip 86 {
}
movieClip 96 {
}
movieClip 112 {
frame 1 {
_root.tindraenaccion = 1;
}
frame 16 {
stop();
_root.tindraenaccion = 0;
}
}
movieClip 118 {
}
movieClip 128 {
frame 1 {
_root.tindraenaccion = 1;
}
frame 26 {
stop();
_root.tindraenaccion = 0;
}
}
movieClip 134 {
}
movieClip 145 {
frame 1 {
_root.tindraenaccion = 1;
}
frame 23 {
stop();
_root.tindraenaccion = 0;
}
}
movieClip 153 {
frame 1 {
if (_root.player1 == 'Tindra') {
_root.player1golpeado = 1;
} else {
if (_root.player2 == 'Tindra') {
_root.player2golpeado = 1;
}
}
_root.tindraenaccion = 1;
}
frame 4 {
stop();
if (_root.player1 == 'Tindra') {
_root.player1golpeado = 0;
} else {
if (_root.player2 == 'Tindra') {
_root.player2golpeado = 0;
}
}
_root.tindraenaccion = 0;
}
}
movieClip 163 {
frame 10 {
stop();
}
}
movieClip 165 {
}
movieClip 174 {
}
movieClip 190 {
}
movieClip 199 {
frame 1 {
_root.tindraenaccion = 1;
}
frame 47 {
stop();
_root.tindraenaccion = 0;
}
}
movieClip 202 tindra {
#initclip
Object.registerClass('tindra', tindra);
#endinitclip
frame 1 {
stop();
}
}
movieClip 208 {
}
movieClip 217 {
}
movieClip 230 {
frame 1 {
_root.cogenaccion = 1;
}
frame 23 {
stop();
_root.cogenaccion = 0;
}
}
movieClip 240 {
frame 1 {
_root.cogenaccion = 1;
}
frame 17 {
stop();
_root.cogenaccion = 0;
}
}
movieClip 242 {
}
movieClip 251 {
frame 1 {
_root.cogenaccion = 1;
}
frame 168 {
stop();
_root.cogenaccion = 0;
_root.cogbloqueando = 0;
}
}
movieClip 255 {
frame 1 {
_root.cogenaccion = 1;
if (_root.player1 == 'Cog') {
_root.player1golpeado = 1;
} else {
if (_root.player2 == 'Cog') {
_root.player2golpeado = 1;
}
}
}
frame 3 {
stop();
_root.cogenaccion = 0;
if (_root.player1 == 'Cog') {
_root.player1golpeado = 0;
} else {
if (_root.player2 == 'Cog') {
_root.player2golpeado = 0;
}
}
}
}
movieClip 263 {
frame 16 {
stop();
}
}
movieClip 265 {
}
movieClip 278 {
}
movieClip 282 {
}
movieClip 295 {
}
movieClip 297 {
frame 1 {
_root.cogenaccion = 1;
}
frame 35 {
stop();
if (_root.player1 == 'Cog') {
_root.cogberzerker = 1;
_root.cogberzerkertiempo = 240;
} else {
if (_root.player2 == 'Cog') {
_root.cogberzerker = 2;
_root.cogberzerkertiempo = 240;
}
}
_root.cogenaccion = 0;
}
}
movieClip 313 {
frame 1 {
_root.cogenaccion = 1;
}
frame 13 {
stop();
_root.cogenaccion = 0;
}
}
movieClip 315 cog {
#initclip
Object.registerClass('cog', cog);
#endinitclip
frame 1 {
stop();
}
}
movieClip 318 {
}
movieClip 320 {
}
movieClip 321 {
}
movieClip 322 {
}
movieClip 328 {
}
movieClip 334 {
}
movieClip 341 {
frame 1 {
_root.wyvernenaccion = 1;
}
frame 18 {
stop();
_root.wyvernenaccion = 0;
}
}
movieClip 350 {
frame 1 {
_root.wyvernenaccion = 1;
}
frame 17 {
stop();
_root.wyvernenaccion = 0;
}
}
movieClip 357 {
frame 1 {
_root.wyvernenaccion = 1;
}
frame 10 {
stop();
_root.wyvernenaccion = 0;
}
}
movieClip 362 {
frame 1 {
if (_root.player1 == 'Wyvern') {
_root.player1golpeado = 1;
} else {
if (_root.player2 == 'Wyvern') {
_root.player2golpeado = 1;
}
}
_root.wyvernenaccion = 1;
}
frame 4 {
if (_root.player1 == 'Wyvern') {
_root.player1golpeado = 0;
} else {
if (_root.player2 == 'Wyvern') {
_root.player2golpeado = 0;
}
}
_root.wyvernenaccion = 0;
}
}
movieClip 368 {
frame 24 {
stop();
}
}
movieClip 370 {
}
movieClip 376 {
}
movieClip 377 {
frame 75 {
stop();
}
}
movieClip 380 {
frame 85 {
stop();
}
}
movieClip 387 {
frame 40 {
stop();
_root.wyvernenaccion = 0;
}
}
movieClip 394 {
frame 40 {
stop();
}
}
movieClip 395 {
}
movieClip 396 {
frame 41 {
stop();
}
instance of movieClip 395 {
onClipEvent (enterFrame) {
if (_root.wyvernult == 0) {
_root.wyvernult = Math.round(Math.random() * 1) + 1;
}
if (_root.wyvernult == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
}
movieClip 427 {
frame 39 {
stop();
_root.wyvernenaccion = 0;
}
}
movieClip 429 wyvern {
#initclip
Object.registerClass('wyvern', wyvern);
#endinitclip
frame 1 {
stop();
}
}
movieClip 437 {
frame 1 {
_root.nesyssenaccion = 0;
if (_root.player1 == 'Nesyss') {
_root.player1golpeado = 0;
} else {
if (_root.player2 == 'Nesyss') {
_root.player2golpeado = 0;
}
}
}
}
movieClip 447 {
frame 1 {
_root.nesyssenaccion = 1;
}
frame 14 {
stop();
_root.nesyssenaccion = 0;
}
}
movieClip 459 {
}
movieClip 465 {
frame 1 {
_root.nesyssenaccion = 1;
}
frame 80 {
stop();
_root.nesyssenaccion = 0;
}
}
movieClip 470 {
}
movieClip 477 {
}
movieClip 480 {
frame 1 {
_root.nesyssenaccion = 1;
}
frame 24 {
stop();
_root.nesyssenaccion = 0;
}
}
movieClip 484 {
frame 1 {
_root.nesyssenaccion = 1;
if (_root.player1 == 'Nesyss') {
_root.player1golpeado = 1;
} else {
if (_root.player2 == 'Nesyss') {
_root.player2golpeado = 1;
}
}
}
frame 4 {
stop();
_root.nesyssenaccion = 0;
if (_root.player1 == 'Nesyss') {
_root.player1golpeado = 0;
} else {
if (_root.player2 == 'Nesyss') {
_root.player2golpeado = 0;
}
}
}
}
movieClip 492 {
frame 15 {
stop();
}
}
movieClip 494 {
}
movieClip 499 {
}
movieClip 507 {
}
movieClip 510 {
}
movieClip 523 {
frame 1 {
_root.nesyssenaccion = 1;
}
frame 65 {
stop();
_root.nesyssenaccion = 0;
}
}
movieClip 525 nesyss {
#initclip
Object.registerClass('nesyss', nesyss);
#endinitclip
frame 1 {
stop();
}
instance of movieClip 484 {
onClipEvent (enterFrame) {
play();
}
}
}
movieClip 532 {
frame 1 {
_root.vanceenaccion = 0;
if (_root.player1 == 'Vance') {
_root.player1golpeado = 0;
} else {
if (_root.player2 == 'Vance') {
_root.player2golpeado = 0;
}
}
}
}
movieClip 537 {
}
movieClip 541 {
}
movieClip 543 {
}
movieClip 553 {
frame 1 {
_root.vanceenaccion = 1;
}
frame 28 {
stop();
_root.vanceenaccion = 0;
}
}
movieClip 556 {
}
movieClip 558 {
}
movieClip 578 {
frame 1 {
_root.vanceenaccion = 1;
}
frame 36 {
_root.vanceenaccion = 0;
}
}
movieClip 580 {
}
movieClip 581 {
}
movieClip 586 {
}
movieClip 602 {
frame 1 {
_root.vanceenaccion = 1;
}
frame 45 {
_root.vanceenaccion = 0;
}
}
movieClip 607 {
frame 1 {
if (_root.player1 == 'Vance') {
_root.player1golpeado = 1;
} else {
if (_root.player2 == 'Vance') {
_root.player2golpeado = 1;
}
}
}
frame 5 {
_root.vanceenaccion = 0;
if (_root.player1 == 'Vance') {
_root.player1golpeado = 0;
} else {
if (_root.player2 == 'Vance') {
_root.player2golpeado = 0;
}
}
}
}
movieClip 616 {
frame 16 {
stop();
}
}
movieClip 624 {
}
movieClip 626 {
}
movieClip 629 {
}
movieClip 631 {
}
movieClip 645 {
frame 1 {
_root.vanceenaccion = 1;
}
frame 64 {
_root.vanceenaccion = 0;
}
}
movieClip 647 vance {
#initclip
Object.registerClass('vance', vance);
#endinitclip
frame 1 {
stop();
}
instance of movieClip 607 {
onClipEvent (enterFrame) {
play();
}
}
}
movieClip 658 {
frame 1 {
if (_root.player1 == 'Ridge') {
_root.player1golpeado = 0;
_root.player1enaccion = 0;
} else {
if (_root.player2 == 'Ridge') {
_root.player2golpeado = 0;
_root.player2enaccion = 0;
}
}
}
}
movieClip 659 {
}
movieClip 667 {
}
movieClip 672 {
frame 1 {
if (_root.player1 == 'Ridge') {
_root.player1enaccion = 1;
} else {
if (_root.player2 == 'Ridge') {
_root.player2enaccion = 1;
}
}
}
frame 17 {
if (_root.player1 == 'Ridge') {
_root.player1enaccion = 0;
} else {
if (_root.player2 == 'Ridge') {
_root.player2enaccion = 0;
}
}
}
}
movieClip 678 {
}
movieClip 688 {
frame 1 {
if (_root.player1 == 'Ridge') {
_root.player1enaccion = 1;
} else {
if (_root.player2 == 'Ridge') {
_root.player2enaccion = 1;
}
}
}
frame 17 {
if (_root.player1 == 'Ridge') {
_root.player1enaccion = 0;
} else {
if (_root.player2 == 'Ridge') {
_root.player2enaccion = 0;
}
}
}
}
movieClip 702 {
frame 1 {
if (_root.player1 == 'Ridge') {
_root.player1enaccion = 1;
} else {
if (_root.player2 == 'Ridge') {
_root.player2enaccion = 1;
}
}
}
frame 24 {
if (_root.player1 == 'Ridge') {
_root.player1enaccion = 0;
} else {
if (_root.player2 == 'Ridge') {
_root.player2enaccion = 0;
}
}
}
}
movieClip 707 {
frame 1 {
if (_root.player1 == 'Ridge') {
_root.player1enaccion = 1;
} else {
if (_root.player2 == 'Ridge') {
_root.player2enaccion = 1;
}
}
play();
}
frame 2 {
play();
}
frame 3 {
play();
}
frame 4 {
play();
}
frame 5 {
stop();
if (_root.player1 == 'Ridge') {
_root.player1golpeado = 0;
_root.player1enaccion = 0;
} else {
if (_root.player2 == 'Ridge') {
_root.player2golpeado = 0;
_root.player2enaccion = 0;
}
}
}
}
movieClip 715 {
frame 15 {
stop();
}
}
movieClip 717 {
}
movieClip 726 {
}
movieClip 741 {
}
movieClip 746 {
frame 1 {
if (_root.player1 == 'Ridge') {
_root.player1enaccion = 1;
} else {
if (_root.player2 == 'Ridge') {
_root.player2enaccion = 1;
}
}
}
frame 44 {
if (_root.player1 == 'Ridge') {
_root.player1enaccion = 0;
} else {
if (_root.player2 == 'Ridge') {
_root.player2enaccion = 0;
}
}
stop();
}
}
movieClip 748 ridge {
#initclip
Object.registerClass('ridge', ridge);
#endinitclip
frame 1 {
stop();
}
instance of movieClip 707 {
onClipEvent (enterFrame) {
play();
}
}
}
movieClip 750 ejecutarenemigos3 {
#initclip
Object.registerClass('ejecutarenemigos3', ejecutarenemigos3);
#endinitclip
}
movieClip 752 quality {
#initclip
Object.registerClass('quality', quality);
#endinitclip
}
movieClip 754 music {
#initclip
Object.registerClass('music', music);
#endinitclip
}
frame 1 {
stop();
Stage.showMenu = false;
urls_allowed = ['games.armorgames.com', 'www.armorgames.com', 'armorgames.com', 'preview.armorgames.com', 'cache.armorgames.com', 'cdn.armorgames.com', 'gamemedia.armorgames.com', 'files.armorgames.com', '*.armorgames.com', 'www.newgrounds.com/dump/item/aa42dc220a2fad6f28803b4a8d06144d'];
lock = true;
domain_parts = _url.split('://');
real_domain = domain_parts[1].split('/');
domain.text = real_domain[0];
for (x in urls_allowed) {
if (urls_allowed[x] == real_domain[0]) {
lock = false;
}
}
if (lock) {
_root._alpha = 0;
}
}
frame 1 {
var jukebox = new Sound();
var currentPosition = 0;
var paused = false;
}
frame 1 {
}
movieClip 757 {
}
movieClip 760 {
}
movieClip 761 {
}
movieClip 764 {
}
movieClip 766 {
}
// unknown tag 88 length 141
movieClip 772 {
}
movieClip 774 {
}
movieClip 778 {
}
movieClip 780 {
instance of movieClip 766 {
onClipEvent (load) {
percentloaded = 0;
lastone = 1;
}
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (percentloaded > lastone) {
lastone += 1;
_root.mostrarpreloader = lastone;
}
this.gotoAndStop(lastone);
}
}
}
instance of movieClip 780 {
onClipEvent (load) {
percentloaded = 0;
lastone = 1;
}
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (_root.mostrarpreloader == 100) {
this.gotoAndStop(2);
if (Key.isDown(81)) {
_root.gotoAndStop(15);
}
} else {
this.gotoAndStop(1);
}
}
}
button 787 {
on (release) {
getURL('http://armor.ag/MoreGames', '_blank');
}
}
movieClip 789 {
}
movieClip 791 {
}
movieClip 794 {
frame 1 {
stop();
}
frame 16 {
stop();
_root.gotoAndStop(_root.ira);
}
}
movieClip 797 {
}
instance of movieClip 797 {
onClipEvent (enterFrame) {
if (Key.isDown(70)) {
fscommand('fullscreen', true);
}
}
}
movieClip 4288 __Packages.ejecutarenemigos4 {
#initclip
if (!_global.ejecutarenemigos4) {
var v1 = function () {
super();
};
_global.ejecutarenemigos4 = v1;
_global.ejecutarenemigos4 extends MovieClip;
var v2 = v1.prototype;
v2.onEnterFrame = function () {
if (_root.misiones[14][0] == 0 and _root.misiones[14][1] > 24) {
_root.misiones[14][0] = 1;
}
if (_root.iniciapelea == 1) {
if (this.dioexp1 == 0) {
if (_root.enemigo1vida > 0) {
this.dioexp1 = 1;
} else {
this.dioexp1 = 2;
}
}
if (this.dioexp2 == 0) {
if (_root.enemigo2vida > 0) {
this.dioexp2 = 1;
} else {
this.dioexp2 = 2;
}
}
if (this.dioexp3 == 0) {
if (_root.enemigo3vida > 0) {
this.dioexp3 = 1;
} else {
this.dioexp3 = 2;
}
}
if (this.dioexp1 == 1) {
if (_root.enemigo1vida == 0 and _root.enemigo1 != 'Secreto') {
this.dioexp1 = 2;
if (_root.enemigo1 == 'Kinguard Scout') {
_root.player1exptoload += Math.round(Math.random() * 5 + 3);
_root.player2exptoload += Math.round(Math.random() * 5 + 3);
} else {
if (_root.enemigo1 == 'Kinguard Knight') {
++_root.misiones[14][1];
_root.player1exptoload += Math.round(Math.random() * 8 + 2);
_root.player2exptoload += Math.round(Math.random() * 8 + 2);
} else {
if (_root.enemigo1 == 'Kinguard Sage') {
_root.player1exptoload += Math.round(Math.random() * 10 + 2);
_root.player2exptoload += Math.round(Math.random() * 10 + 2);
} else {
if (_root.enemigo1 == 'Captive Troll') {
_root.player1exptoload += Math.round(Math.random() * 12 + 3);
_root.player2exptoload += Math.round(Math.random() * 12 + 3);
} else {
if (_root.enemigo1 == 'Malachi') {
_root.player1exptoload += Math.round(Math.random() * 20 + 10);
_root.player2exptoload += Math.round(Math.random() * 20 + 10);
} else {
if (_root.enemigo1 == 'Mountain Spirit') {
_root.player1exptoload += Math.round(Math.random() * 10 + 5);
_root.player2exptoload += Math.round(Math.random() * 10 + 5);
}
}
}
}
}
}
}
}
if (this.dioexp2 == 1) {
if (_root.enemigo2vida == 0 and _root.enemigo2 != 'Secreto') {
this.dioexp2 = 2;
if (_root.enemigo2 == 'Kinguard Scout') {
_root.player1exptoload += Math.round(Math.random() * 5 + 3);
_root.player2exptoload += Math.round(Math.random() * 5 + 3);
} else {
if (_root.enemigo2 == 'Kinguard Knight') {
++_root.misiones[14][1];
_root.player1exptoload += Math.round(Math.random() * 8 + 2);
_root.player2exptoload += Math.round(Math.random() * 8 + 2);
} else {
if (_root.enemigo2 == 'Kinguard Sage') {
_root.player1exptoload += Math.round(Math.random() * 10 + 2);
_root.player2exptoload += Math.round(Math.random() * 10 + 2);
} else {
if (_root.enemigo2 == 'Captive Troll') {
_root.player1exptoload += Math.round(Math.random() * 12 + 3);
_root.player2exptoload += Math.round(Math.random() * 12 + 3);
} else {
if (_root.enemigo2 == 'Malachi') {
_root.player1exptoload += Math.round(Math.random() * 20 + 10);
_root.player2exptoload += Math.round(Math.random() * 20 + 10);
} else {
if (_root.enemigo2 == 'Mountain Spirit') {
_root.player1exptoload += Math.round(Math.random() * 10 + 5);
_root.player2exptoload += Math.round(Math.random() * 10 + 5);
}
}
}
}
}
}
}
}
if (this.dioexp3 == 1) {
if (_root.enemigo3vida == 0 and _root.enemigo3 != 'Secreto') {
this.dioexp3 = 2;
if (_root.enemigo3 == 'Kinguard Scout') {
_root.player1exptoload += Math.round(Math.random() * 5 + 3);
_root.player2exptoload += Math.round(Math.random() * 5 + 3);
} else {
if (_root.enemigo3 == 'Kinguard Knight') {
++_root.misiones[14][1];
_root.player1exptoload += Math.round(Math.random() * 8 + 2);
_root.player2exptoload += Math.round(Math.random() * 8 + 2);
} else {
if (_root.enemigo3 == 'Kinguard Sage') {
_root.player1exptoload += Math.round(Math.random() * 10 + 2);
_root.player2exptoload += Math.round(Math.random() * 10 + 2);
} else {
if (_root.enemigo3 == 'Captive Troll') {
_root.player1exptoload += Math.round(Math.random() * 12 + 3);
_root.player2exptoload += Math.round(Math.random() * 12 + 3);
} else {
if (_root.enemigo3 == 'Malachi') {
_root.player1exptoload += Math.round(Math.random() * 20 + 10);
_root.player2exptoload += Math.round(Math.random() * 20 + 10);
} else {
if (_root.enemigo3 == 'Mountain Spirit') {
_root.player1exptoload += Math.round(Math.random() * 10 + 5);
_root.player2exptoload += Math.round(Math.random() * 10 + 5);
}
}
}
}
}
}
}
}
if (_root.enemigo1 == 'Kinguard Scout') {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
this.lepegaroncooldown = 5;
}
if (this.lepegaroncooldown > 0) {
this.lepegaroncooldown -= 1;
} else {
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(240) + 120);
}
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(240) + 120);
this.ataquecooldown1 = 24;
_root.enemigo1atacando = 1;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 == 15) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(30) + 20);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 20);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 20);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(30) + 20);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo1atacando = 0;
}
}
}
}
} else {
if (_root.enemigo1 == 'Kinguard Knight') {
if (_root.enemigo1vida > 0) {
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = 221;
this.ataquecooldown1 = 221;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 > 157 and this.ataquecooldown1 < 173) {
_root.enemigo1atacando = 1;
} else {
if (this.ataquecooldown1 > 88 and this.ataquecooldown1 < 109) {
_root.enemigo1atacando = 2;
} else {
if (this.ataquecooldown1 > 0 and this.ataquecooldown1 < 16) {
_root.enemigo1atacando = 1;
} else {
_root.enemigo1atacando = 0;
}
}
}
if (this.ataquecooldown1 == 167 or this.ataquecooldown1 == 10) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(65) + 35);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(65) + 35);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(65) + 35);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(65) + 35);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
} else {
if (this.ataquecooldown1 == 78) {
_root.enemigo1vida += 50;
}
}
} else {
_root.enemigo1atacando = 0;
}
}
}
} else {
if (_root.enemigo1 == 'Mountain Spirit') {
if (_root.enemigo1vida > 0) {
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = 133;
this.ataquecooldown1 = 133;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 > 123 and this.ataquecooldown1 < 133) {
_root.enemigo1atacando = 2;
} else {
if (this.ataquecooldown1 > 58 and this.ataquecooldown1 < 75) {
_root.enemigo1atacando = 1;
} else {
if (this.ataquecooldown1 > 0 and this.ataquecooldown1 < 10) {
_root.enemigo1atacando = 3;
} else {
_root.enemigo1atacando = 0;
}
}
}
if (this.ataquecooldown1 == 61) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(65) + 35);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
_root.spirit1.play();
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(65) + 35);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.spirit2.play();
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
}
} else {
if (this.ataquecooldown1 == 1) {
this.atacara = Math.round(Math.random() * 1);
if (this.atacara == 0) {
_root.enemigo2 = _root.enemigo1;
_root.enemigo2vida = _root.enemigo1vida;
_root.enemigo1 = 'Secreto';
_root.enemigo1vida = 0;
} else {
_root.enemigo3 = _root.enemigo1;
_root.enemigo3vida = _root.enemigo1vida;
_root.enemigo1 = 'Secreto';
_root.enemigo1vida = 0;
}
}
}
} else {
_root.enemigo1atacando = 0;
}
}
}
} else {
if (_root.enemigo1 == 'Captive Troll') {
if (_root.enemigo1vida > 0) {
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(120) + 192);
}
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(120) + 192);
this.ataquecooldown1 = 24;
_root.enemigo1atacando = 1;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 == 15) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(30) + 50);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 50);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 50);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(30) + 50);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo1atacando = 0;
}
}
}
} else {
if (_root.enemigo1 == 'Zarr') {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1 and _root.enemigo1atacando == 1) {
this.ataquecooldown1 = 21;
_root.enemigo1atacando = 2;
} else {
if (_root.enemigo1atacado == 1) {
_root.enemigo1atacado = 0;
}
}
if (this.lepegaroncooldown > 0) {
this.lepegaroncooldown -= 1;
} else {
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = 206;
this.ataquecooldown1 = 206;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 > 22 and this.ataquecooldown1 < 126 and _root.enemigo1atacando < 2) {
_root.enemigo1atacando = 1;
this.zarrcarga += 1;
} else {
if (this.ataquecooldown1 > 0 and this.ataquecooldown1 < 16) {
_root.enemigo1atacando = 2;
} else {
if (_root.enemigo1atacando == 2 and this.ataquecooldown1 > 0) {
_root.enemigo1atacando = 2;
} else {
this.zarrcarga = 0;
_root.enemigo1atacando = 0;
}
}
}
if (this.ataquecooldown1 == 16) {
this.atacara = Math.round(Math.random() * 1);
if (this.atacara == 0) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(this.zarrcarga * 2) + 30);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
_root.zarr1.play();
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
this.zarrcarga = 0;
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(this.zarrcarga * 2) + 30);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
_root.zarr2.play();
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
this.zarrcarga = 0;
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(this.zarrcarga * 2) + 30);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
_root.zarr2.play();
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
this.zarrcarga = 0;
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(this.zarrcarga * 2) + 30);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
_root.zarr1.play();
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
this.zarrcarga = 0;
}
}
}
} else {
_root.enemigo1atacando = 0;
}
}
}
}
}
}
}
}
}
if (_root.enemigo2 == 'Kinguard Knight') {
if (_root.enemigo2vida > 0) {
this.cooldown2 -= 1;
if (this.cooldown2 < 0) {
this.cooldown2 = 221;
this.ataquecooldown2 = 221;
} else {
if (this.ataquecooldown2 > 0) {
this.ataquecooldown2 -= 1;
if (this.ataquecooldown2 > 157 and this.ataquecooldown2 < 173) {
_root.enemigo2atacando = 1;
} else {
if (this.ataquecooldown2 > 88 and this.ataquecooldown2 < 109) {
_root.enemigo2atacando = 2;
} else {
if (this.ataquecooldown2 > 0 and this.ataquecooldown2 < 16) {
_root.enemigo2atacando = 1;
} else {
_root.enemigo2atacando = 0;
}
}
}
if (this.ataquecooldown2 == 167 or this.ataquecooldown2 == 10) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(65) + 35);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(65) + 35);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(65) + 35);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(65) + 35);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
} else {
if (this.ataquecooldown2 == 78) {
_root.enemigo2vida += 50;
}
}
} else {
_root.enemigo2atacando = 0;
}
}
}
} else {
if (_root.enemigo2 == 'Kinguard Sage') {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
this.lepegaroncooldown2 = 5;
}
if (this.lepegaroncooldown2 > 0) {
this.lepegaroncooldown2 -= 1;
} else {
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(240) + 120);
}
this.cooldown2 -= 1;
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(240) + 120);
this.ataquecooldown2 = 15;
_root.enemigo2atacando = 1;
} else {
if (this.ataquecooldown2 > 0) {
this.ataquecooldown2 -= 1;
if (this.ataquecooldown2 == 10) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(90) + 50);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.sage1.play();
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(90) + 50);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.sage2.play();
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(90) + 50);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
_root.sage2.play();
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(90) + 50);
_root.textod1.play();
_root.sage1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo2atacando = 0;
}
}
}
}
} else {
if (_root.enemigo2 == 'Mountain Spirit') {
if (_root.enemigo2vida > 0) {
this.cooldown2 -= 1;
if (this.cooldown2 < 0) {
this.cooldown2 = 133;
this.ataquecooldown2 = 133;
} else {
if (this.ataquecooldown2 > 0) {
this.ataquecooldown2 -= 1;
if (this.ataquecooldown2 > 123 and this.ataquecooldown2 < 133) {
_root.enemigo2atacando = 2;
} else {
if (this.ataquecooldown2 > 58 and this.ataquecooldown2 < 75) {
_root.enemigo2atacando = 1;
} else {
if (this.ataquecooldown2 > 0 and this.ataquecooldown2 < 10) {
_root.enemigo2atacando = 3;
} else {
_root.enemigo2atacando = 0;
}
}
}
if (this.ataquecooldown2 == 61) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(65) + 35);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
_root.spirit1.play();
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(65) + 35);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.spirit2.play();
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
}
} else {
if (this.ataquecooldown2 == 1) {
this.atacara = Math.round(Math.random() * 1);
if (this.atacara == 0) {
_root.enemigo1 = _root.enemigo2;
_root.enemigo1vida = _root.enemigo2vida;
_root.enemigo2 = 'Secreto';
_root.enemigo2vida = 0;
} else {
_root.enemigo3 = _root.enemigo2;
_root.enemigo3vida = _root.enemigo2vida;
_root.enemigo2 = 'Secreto';
_root.enemigo2vida = 0;
}
}
}
} else {
_root.enemigo2atacando = 0;
}
}
}
} else {
if (_root.enemigo2 == 'Malachi') {
if (_root.enemigo2vida > 0) {
if (this.lepegaroncooldown2 > 0) {
this.lepegaroncooldown2 -= 1;
} else {
this.cooldown2 -= 1;
if (this.cooldown2 < 0) {
this.cooldown2 = 307;
this.ataquecooldown2 = 307;
} else {
if (this.ataquecooldown2 > 0) {
this.ataquecooldown2 -= 1;
if (this.ataquecooldown2 > 168 and this.ataquecooldown2 < 187) {
_root.enemigo2atacando = 1;
} else {
if (this.ataquecooldown2 > 0 and this.ataquecooldown2 < 120) {
_root.enemigo2atacando = 2;
_root.malachiefecto = 1;
} else {
_root.enemigo2atacando = 0;
_root.malachiefecto = 0;
}
}
if (this.ataquecooldown2 == 177) {
this.atacara = Math.round(Math.random() * 1);
if (this.atacara == 0) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(100) + 40);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
_root.shaman1.play();
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(100) + 40);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.shaman2.play();
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(100) + 40);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
_root.shaman2.play();
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(100) + 40);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
_root.shaman1.play();
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo2atacando = 0;
}
}
}
}
}
}
}
}
if (_root.enemigo3 == 'Kinguard Knight') {
if (_root.enemigo3vida > 0) {
this.cooldown3 -= 1;
if (this.cooldown3 < 0) {
this.cooldown3 = 221;
this.ataquecooldown3 = 221;
} else {
if (this.ataquecooldown3 > 0) {
this.ataquecooldown3 -= 1;
if (this.ataquecooldown3 > 157 and this.ataquecooldown3 < 173) {
_root.enemigo3atacando = 1;
} else {
if (this.ataquecooldown3 > 88 and this.ataquecooldown3 < 109) {
_root.enemigo3atacando = 2;
} else {
if (this.ataquecooldown3 > 0 and this.ataquecooldown3 < 16) {
_root.enemigo3atacando = 1;
} else {
_root.enemigo3atacando = 0;
}
}
}
if (this.ataquecooldown3 == 167 or this.ataquecooldown3 == 10) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(65) + 35);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(65) + 35);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(65) + 35);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(65) + 35);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
} else {
if (this.ataquecooldown3 == 78) {
_root.enemigo3vida += 50;
}
}
} else {
_root.enemigo3atacando = 0;
}
}
}
} else {
if (_root.enemigo3 == 'Kinguard Sage') {
if (_root.enemigo3vida > 0) {
if (_root.enemigo3atacado == 1) {
this.lepegaroncooldown3 = 5;
}
if (this.lepegaroncooldown3 > 0) {
this.lepegaroncooldown3 -= 1;
} else {
if (this.cooldown3 < 0) {
this.cooldown3 = Math.round(random(240) + 120);
}
this.cooldown3 -= 1;
if (this.cooldown3 < 0) {
this.cooldown3 = Math.round(random(240) + 120);
this.ataquecooldown3 = 15;
_root.enemigo3atacando = 1;
} else {
if (this.ataquecooldown3 > 0) {
this.ataquecooldown3 -= 1;
if (this.ataquecooldown3 == 10) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(90) + 50);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.sage1.play();
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(90) + 50);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
_root.sage2.play();
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(90) + 50);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
_root.sage2.play();
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(90) + 50);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
_root.sage1.play();
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo3atacando = 0;
}
}
}
}
} else {
if (_root.enemigo3 == 'Mountain Spirit') {
if (_root.enemigo3vida > 0) {
this.cooldown3 -= 1;
if (this.cooldown3 < 0) {
this.cooldown3 = 133;
this.ataquecooldown3 = 133;
} else {
if (this.ataquecooldown3 > 0) {
this.ataquecooldown3 -= 1;
if (this.ataquecooldown3 > 123 and this.ataquecooldown3 < 133) {
_root.enemigo3atacando = 2;
} else {
if (this.ataquecooldown3 > 58 and this.ataquecooldown3 < 75) {
_root.enemigo3atacando = 1;
} else {
if (this.ataquecooldown3 > 0 and this.ataquecooldown3 < 10) {
_root.enemigo3atacando = 3;
} else {
_root.enemigo3atacando = 0;
}
}
}
if (this.ataquecooldown3 == 61) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player3life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(65) + 35);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
_root.spirit1.play();
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(65) + 35);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.spirit2.play();
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
}
} else {
if (this.ataquecooldown3 == 1) {
_root.enemigo3vida += 50;
this.atacara = Math.round(Math.random() * 1);
if (this.atacara == 0) {
_root.enemigo2 = _root.enemigo3;
_root.enemigo2vida = _root.enemigo3vida;
_root.enemigo3 = 'Secreto';
_root.enemigo3vida = 0;
} else {
_root.enemigo1 = _root.enemigo3;
_root.enemigo1vida = _root.enemigo3vida;
_root.enemigo3 = 'Secreto';
_root.enemigo3vida = 0;
}
}
}
} else {
_root.enemigo3atacando = 0;
}
}
}
}
}
}
}
};
v2.cooldown1 = 0;
v2.ataquecooldown1 = 0;
v2.ataquecooldown2 = 0;
v2.ataquecooldown3 = 0;
v2.cooldown2 = 0;
v2.cooldown3 = 0;
v2.lepegaroncooldown = 0;
v2.lepegaroncooldown2 = 0;
v2.lepegaroncooldown3 = 0;
v2.downpresionado = 0;
v2.uppresionado = 0;
v2.atacara = 0;
v2.dioexp1 = 0;
v2.dioexp2 = 0;
v2.dioexp3 = 0;
v2.guardarvida = 0;
v2.resta = 0;
v2.invisibleguardarvida1 = 0;
v2.invisibleguardarvida2 = 0;
v2.invisibleguardarvida3 = 0;
v2.swifthold1 = 1;
v2.swifthold2 = 1;
v2.swifthold3 = 1;
v2.zarrcarga = 0;
ASSetPropFlags(_global.ejecutarenemigos4.prototype, null, 1);
}
#endinitclip
}
movieClip 4289 __Packages.ejecutarenemigos2 {
#initclip
if (!_global.ejecutarenemigos2) {
var v1 = function () {
super();
};
_global.ejecutarenemigos2 = v1;
_global.ejecutarenemigos2 extends MovieClip;
var v2 = v1.prototype;
v2.onEnterFrame = function () {
if (_root.misiones[3] == 0) {
if (_root.enemigo1 == 'Golem' and _root.enemigo1vida < 1) {
if (_root.misiones[3] == 0) {
_root.questcomplete.play();
}
_root.misiones[3] = 1;
}
}
if (_root.misiones[5][0] == 0 and _root.misiones[5][1] > 9) {
_root.misiones[5][0] = 1;
}
if (_root.iniciapelea == 1) {
if (this.dioexp1 == 0) {
if (_root.enemigo1vida > 0) {
this.dioexp1 = 1;
} else {
this.dioexp1 = 2;
}
}
if (this.dioexp2 == 0) {
if (_root.enemigo2vida > 0) {
this.dioexp2 = 1;
} else {
this.dioexp2 = 2;
}
}
if (this.dioexp3 == 0) {
if (_root.enemigo3vida > 0) {
this.dioexp3 = 1;
} else {
this.dioexp3 = 2;
}
}
if (this.dioexp1 == 1) {
if (_root.enemigo1vida == 0) {
this.dioexp1 = 2;
if (_root.enemigo1 == 'Swifthold') {
_root.player1exptoload += Math.round(Math.random() * 4 + 1);
_root.player2exptoload += Math.round(Math.random() * 4 + 1);
} else {
if (_root.enemigo1 == 'Medic') {
_root.player1exptoload += Math.round(Math.random() * 3 + 1);
_root.player2exptoload += Math.round(Math.random() * 3 + 1);
} else {
if (_root.enemigo1 == 'Brawler') {
++_root.misiones[5][1];
_root.player1exptoload += Math.round(Math.random() * 4 + 1);
_root.player2exptoload += Math.round(Math.random() * 4 + 1);
} else {
if (_root.enemigo1 == 'Golem') {
_root.misiones[4] = 1;
_root.player1exptoload += Math.round(Math.random() * 5 + 6);
_root.player2exptoload += Math.round(Math.random() * 5 + 6);
}
}
}
}
}
}
if (this.dioexp2 == 1) {
if (_root.enemigo2vida == 0) {
this.dioexp2 = 2;
if (_root.enemigo2 == 'Swifthold') {
_root.player1exptoload += Math.round(Math.random() * 4 + 1);
_root.player2exptoload += Math.round(Math.random() * 4 + 1);
} else {
if (_root.enemigo2 == 'Medic') {
_root.player1exptoload += Math.round(Math.random() * 3 + 1);
_root.player2exptoload += Math.round(Math.random() * 3 + 1);
} else {
if (_root.enemigo2 == 'Brawler') {
++_root.misiones[5][1];
_root.player1exptoload += Math.round(Math.random() * 4 + 1);
_root.player2exptoload += Math.round(Math.random() * 4 + 1);
} else {
if (_root.enemigo2 == 'Hadrick') {
_root.player1exptoload += Math.round(Math.random() * 8 + 5);
_root.player2exptoload += Math.round(Math.random() * 8 + 5);
}
}
}
}
}
}
if (this.dioexp3 == 1) {
if (_root.enemigo3vida == 0) {
this.dioexp3 = 2;
if (_root.enemigo3 == 'Swifthold') {
_root.player1exptoload += Math.round(Math.random() * 4 + 1);
_root.player2exptoload += Math.round(Math.random() * 4 + 1);
} else {
if (_root.enemigo3 == 'Medic') {
_root.player1exptoload += Math.round(Math.random() * 3 + 1);
_root.player2exptoload += Math.round(Math.random() * 3 + 1);
} else {
if (_root.enemigo3 == 'Brawler') {
++_root.misiones[5][1];
_root.player1exptoload += Math.round(Math.random() * 4 + 1);
_root.player2exptoload += Math.round(Math.random() * 4 + 1);
}
}
}
}
}
if (_root.enemigo1 == 'Swifthold') {
if (_root.enemigo1vida > 0 or this.invisibleguardarvida1 > 0) {
if (this.swifthold1 == 2 or _root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
this.lepegaroncooldown = 5;
}
if (this.lepegaroncooldown > 0) {
this.lepegaroncooldown -= 1;
} else {
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(240) + 60);
}
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(240) + 60);
if (this.swifthold1 == 1) {
this.ataquecooldown1 = 24;
_root.enemigo1atacando = 1;
} else {
this.ataquecooldown1 = 40;
_root.enemigo1atacando = 2;
}
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.swifthold1 == 1) {
if (this.ataquecooldown1 == 15) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(30) + 15);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 15);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 15);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(30) + 15);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
if (this.swifthold1 == 2) {
if (this.ataquecooldown1 == 35) {
_root.invisible1 = 1;
this.invisibleguardarvida1 = _root.enemigo1vida;
} else {
if (this.ataquecooldown1 < 35 and this.ataquecooldown1 > 0) {
_root.enemigo1vida = this.invisibleguardarvida1;
}
}
}
}
} else {
_root.invisible1 = 0;
if (this.swifthold1 == 2) {
this.swifthold1 = 1;
} else {
this.swifthold1 = 2;
}
_root.enemigo1atacando = 0;
}
}
}
}
}
} else {
if (_root.enemigo1 == 'Medic') {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
this.lepegaroncooldown = 5;
}
if (this.lepegaroncooldown > 0) {
this.lepegaroncooldown -= 1;
} else {
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(240) + 60);
}
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(240) + 60);
if (this.swifthold1 == 1) {
this.ataquecooldown1 = 24;
_root.enemigo1atacando = 1;
} else {
this.ataquecooldown1 = 40;
_root.enemigo1atacando = 2;
}
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.swifthold1 == 1) {
if (this.ataquecooldown1 == 5) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(10) + 5);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(10) + 5);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(10) + 5);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(10) + 5);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
if (this.swifthold1 == 2) {
if (this.ataquecooldown1 == 12) {
if (_root.enemigo1vida < _root.enemigo1vidatotal and _root.enemigo1vidatotal > 1 and _root.enemigo1vida > 0) {
_root.enemigo1vida += 50;
if (_root.enemigo1vida > _root.enemigo1vidatotal) {
_root.enemigo1vida = _root.enemigo1vidatotal;
}
} else {
if (_root.enemigo2vida < _root.enemigo2vidatotal and _root.enemigo2vidatotal > 1 and _root.enemigo2vida > 0) {
_root.enemigo2vida += 50;
if (_root.enemigo2vida > _root.enemigo2vidatotal) {
_root.enemigo2vida = _root.enemigo2vidatotal;
}
} else {
if (_root.enemigo3vida < _root.enemigo3vidatotal and _root.enemigo3vidatotal > 1 and _root.enemigo3vida > 0) {
_root.enemigo3vida += 50;
if (_root.enemigo3vida > _root.enemigo3vidatotal) {
_root.enemigo3vida = _root.enemigo3vidatotal;
}
}
}
}
}
}
}
} else {
if (this.swifthold1 == 2) {
this.swifthold1 = 1;
} else {
this.swifthold1 = 2;
}
_root.enemigo1atacando = 0;
}
}
}
}
} else {
if (_root.enemigo1 == 'Brawler') {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
this.lepegaroncooldown = 5;
}
if (this.lepegaroncooldown > 0) {
this.lepegaroncooldown -= 1;
} else {
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(240) + 120);
}
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(240) + 120);
this.ataquecooldown1 = 24;
_root.enemigo1atacando = 1;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 == 15) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(30) + 30);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 30);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 30);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(30) + 30);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo1atacando = 0;
}
}
}
}
} else {
if (_root.enemigo1 == 'Golem') {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
this.lepegaroncooldown = 5;
}
if (this.lepegaroncooldown > 0) {
this.lepegaroncooldown -= 1;
} else {
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(120) + 192);
}
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(120) + 192);
this.ataquecooldown1 = 24;
_root.enemigo1atacando = 1;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 == 15) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(30) + 50);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 50);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 50);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(30) + 50);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo1atacando = 0;
}
}
}
}
}
}
}
}
if (_root.enemigo2 == 'Swifthold') {
if (_root.enemigo2vida > 0 or this.invisibleguardarvida2 > 0) {
if (this.swifthold2 == 2 or _root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
this.lepegaroncooldown2 = 5;
}
if (this.lepegaroncooldown2 > 0) {
this.lepegaroncooldown2 -= 1;
} else {
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(240) + 60);
}
this.cooldown2 -= 1;
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(240) + 60);
if (this.swifthold2 == 1) {
this.ataquecooldown2 = 24;
_root.enemigo2atacando = 1;
} else {
this.ataquecooldown2 = 40;
_root.enemigo2atacando = 2;
}
} else {
if (this.ataquecooldown2 > 0) {
this.ataquecooldown2 -= 1;
if (this.swifthold2 == 1) {
if (this.ataquecooldown2 == 15) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(30) + 15);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 15);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 15);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(30) + 15);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
if (this.swifthold2 == 2) {
if (this.ataquecooldown2 == 35) {
_root.invisible2 = 1;
this.invisibleguardarvida2 = _root.enemigo2vida;
} else {
if (this.ataquecooldown2 < 35 and this.ataquecooldown2 > 0) {
_root.enemigo2vida = this.invisibleguardarvida2;
}
}
}
}
} else {
_root.invisible2 = 0;
if (this.swifthold2 == 2) {
this.swifthold2 = 1;
} else {
this.swifthold2 = 2;
}
_root.enemigo2atacando = 0;
}
}
}
}
}
} else {
if (_root.enemigo2 == 'Medic') {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
this.lepegaroncooldown2 = 5;
}
if (this.lepegaroncooldown2 > 0) {
this.lepegaroncooldown2 -= 1;
} else {
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(240) + 60);
}
this.cooldown2 -= 1;
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(240) + 60);
if (this.swifthold2 == 1) {
this.ataquecooldown2 = 10;
_root.enemigo2atacando = 1;
} else {
this.ataquecooldown2 = 23;
_root.enemigo2atacando = 2;
}
} else {
if (this.ataquecooldown2 > 0) {
this.ataquecooldown2 -= 1;
if (this.swifthold2 == 1) {
if (this.ataquecooldown2 == 5) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(10) + 5);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(10) + 5);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(10) + 5);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(10) + 5);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
if (this.swifthold2 == 2) {
if (this.ataquecooldown2 == 12) {
if (_root.enemigo1vida < _root.enemigo1vidatotal and _root.enemigo1vidatotal > 1 and _root.enemigo1vida > 0) {
_root.enemigo1vida += 50;
if (_root.enemigo1vida > _root.enemigo1vidatotal) {
_root.enemigo1vida = _root.enemigo1vidatotal;
}
} else {
if (_root.enemigo2vida < _root.enemigo2vidatotal and _root.enemigo2vidatotal > 1 and _root.enemigo2vida > 0) {
_root.enemigo2vida += 50;
if (_root.enemigo2vida > _root.enemigo2vidatotal) {
_root.enemigo2vida = _root.enemigo2vidatotal;
}
} else {
if (_root.enemigo3vida < _root.enemigo3vidatotal and _root.enemigo3vidatotal > 1 and _root.enemigo3vida > 0) {
_root.enemigo3vida += 50;
if (_root.enemigo3vida > _root.enemigo3vidatotal) {
_root.enemigo3vida = _root.enemigo3vidatotal;
}
}
}
}
}
}
}
} else {
if (this.swifthold2 == 2) {
this.swifthold2 = 1;
} else {
this.swifthold2 = 2;
}
_root.enemigo2atacando = 0;
}
}
}
}
} else {
if (_root.enemigo2 == 'Brawler') {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
this.lepegaroncooldown2 = 5;
}
if (this.lepegaroncooldown2 > 0) {
this.lepegaroncooldown2 -= 1;
} else {
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(240) + 120);
}
this.cooldown2 -= 1;
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(240) + 120);
this.ataquecooldown2 = 24;
_root.enemigo2atacando = 1;
} else {
if (this.ataquecooldown2 > 0) {
this.ataquecooldown2 -= 1;
if (this.ataquecooldown2 == 15) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(30) + 30);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 30);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 30);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(30) + 30);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo2atacando = 0;
}
}
}
}
} else {
if (_root.enemigo2 == 'Hadrick') {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
this.lepegaroncooldown2 = 5;
}
if (this.lepegaroncooldown2 > 0) {
this.lepegaroncooldown2 -= 1;
} else {
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(144) + 72);
}
this.cooldown2 -= 1;
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(144) + 72);
if (this.swifthold2 == 1) {
this.ataquecooldown2 = 10;
_root.enemigo2atacando = 1;
} else {
this.ataquecooldown2 = 17;
_root.enemigo2atacando = 2;
}
} else {
if (this.ataquecooldown2 > 0) {
this.ataquecooldown2 -= 1;
if (this.swifthold2 == 1) {
if (this.ataquecooldown2 == 5) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(40) + 35);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(40) + 35);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(40) + 35);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(40) + 35);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
if (this.swifthold2 == 2) {
if (this.ataquecooldown2 == 5) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(45) + 25);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(45) + 25);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
}
}
}
} else {
if (this.swifthold2 == 2) {
this.swifthold2 = 1;
} else {
this.swifthold2 = 2;
}
_root.enemigo2atacando = 0;
}
}
}
}
}
}
}
}
if (_root.enemigo3 == 'Swifthold') {
if (_root.enemigo3vida > 0 or this.invisibleguardarvida3 > 0) {
if (this.swifthold3 == 2 or _root.enemigo3vida > 0) {
if (_root.enemigo3atacado == 1) {
this.lepegaroncooldown3 = 5;
}
if (this.lepegaroncooldown3 > 0) {
this.lepegaroncooldown3 -= 1;
} else {
if (this.cooldown3 < 0) {
this.cooldown3 = Math.round(random(240) + 60);
}
this.cooldown3 -= 1;
if (this.cooldown3 < 0) {
this.cooldown3 = Math.round(random(240) + 60);
if (this.swifthold3 == 1) {
this.ataquecooldown3 = 24;
_root.enemigo3atacando = 1;
} else {
this.ataquecooldown3 = 40;
_root.enemigo3atacando = 2;
}
} else {
if (this.ataquecooldown3 > 0) {
this.ataquecooldown3 -= 1;
if (this.swifthold3 == 1) {
if (this.ataquecooldown3 == 15) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(30) + 15);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 15);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 15);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(30) + 15);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
if (this.swifthold3 == 2) {
if (this.ataquecooldown3 == 35) {
_root.invisible3 = 1;
this.invisibleguardarvida3 = _root.enemigo3vida;
} else {
if (this.ataquecooldown3 < 35 and this.ataquecooldown3 > 0) {
_root.enemigo3vida = this.invisibleguardarvida3;
}
}
}
}
} else {
_root.invisible3 = 0;
if (this.swifthold3 == 2) {
this.swifthold3 = 1;
} else {
this.swifthold3 = 2;
}
_root.enemigo3atacando = 0;
}
}
}
}
}
} else {
if (_root.enemigo3 == 'Medic') {
if (_root.enemigo3vida > 0) {
if (_root.enemigo3atacado == 1) {
this.lepegaroncooldown3 = 5;
}
if (this.lepegaroncooldown3 > 0) {
this.lepegaroncooldown3 -= 1;
} else {
if (this.cooldown3 < 0) {
this.cooldown3 = Math.round(random(240) + 60);
}
this.cooldown3 -= 1;
if (this.cooldown3 < 0) {
this.cooldown3 = Math.round(random(240) + 60);
if (this.swifthold3 == 1) {
this.ataquecooldown3 = 24;
_root.enemigo3atacando = 1;
} else {
this.ataquecooldown3 = 40;
_root.enemigo3atacando = 2;
}
} else {
if (this.ataquecooldown3 > 0) {
this.ataquecooldown3 -= 1;
if (this.swifthold3 == 1) {
if (this.ataquecooldown3 == 5) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(10) + 5);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(10) + 5);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(10) + 5);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(10) + 5);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
if (this.swifthold3 == 2) {
if (this.ataquecooldown3 == 12) {
if (_root.enemigo1vida < _root.enemigo1vidatotal and _root.enemigo1vidatotal > 1 and _root.enemigo1vida > 0) {
_root.enemigo1vida += 50;
if (_root.enemigo1vida > _root.enemigo1vidatotal) {
_root.enemigo1vida = _root.enemigo1vidatotal;
}
} else {
if (_root.enemigo2vida < _root.enemigo2vidatotal and _root.enemigo2vidatotal > 1 and _root.enemigo2vida > 0) {
_root.enemigo2vida += 50;
if (_root.enemigo2vida > _root.enemigo2vidatotal) {
_root.enemigo2vida = _root.enemigo2vidatotal;
}
} else {
if (_root.enemigo3vida < _root.enemigo3vidatotal and _root.enemigo3vidatotal > 1 and _root.enemigo3vida > 0) {
_root.enemigo3vida += 50;
if (_root.enemigo3vida > _root.enemigo3vidatotal) {
_root.enemigo3vida = _root.enemigo3vidatotal;
}
}
}
}
}
}
}
} else {
if (this.swifthold3 == 2) {
this.swifthold3 = 1;
} else {
this.swifthold3 = 2;
}
_root.enemigo3atacando = 0;
}
}
}
}
} else {
if (_root.enemigo3 == 'Brawler') {
if (_root.enemigo3vida > 0) {
if (_root.enemigo3atacado == 1) {
this.lepegaroncooldown3 = 5;
}
if (this.lepegaroncooldown3 > 0) {
this.lepegaroncooldown3 -= 1;
} else {
if (this.cooldown3 < 0) {
this.cooldown3 = Math.round(random(240) + 120);
}
this.cooldown3 -= 1;
if (this.cooldown3 < 0) {
this.cooldown3 = Math.round(random(240) + 120);
this.ataquecooldown3 = 24;
_root.enemigo3atacando = 1;
} else {
if (this.ataquecooldown3 > 0) {
this.ataquecooldown3 -= 1;
if (this.ataquecooldown3 == 15) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(30) + 30);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 30);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 30);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(30) + 30);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo3atacando = 0;
}
}
}
}
}
}
}
}
};
v2.cooldown1 = 5;
v2.ataquecooldown1 = 0;
v2.ataquecooldown2 = 0;
v2.ataquecooldown3 = 0;
v2.cooldown2 = 5;
v2.cooldown3 = 5;
v2.lepegaroncooldown = 0;
v2.lepegaroncooldown2 = 0;
v2.lepegaroncooldown3 = 0;
v2.downpresionado = 0;
v2.uppresionado = 0;
v2.atacara = 0;
v2.dioexp1 = 0;
v2.dioexp2 = 0;
v2.dioexp3 = 0;
v2.guardarvida = 0;
v2.resta = 0;
v2.invisibleguardarvida1 = 0;
v2.invisibleguardarvida2 = 0;
v2.invisibleguardarvida3 = 0;
v2.swifthold1 = 1;
v2.swifthold2 = 1;
v2.swifthold3 = 1;
ASSetPropFlags(_global.ejecutarenemigos2.prototype, null, 1);
}
#endinitclip
}
movieClip 4290 __Packages.bajacooldowns {
#initclip
if (!_global.bajacooldowns) {
var v1 = function () {
super();
};
_global.bajacooldowns = v1;
_global.bajacooldowns extends MovieClip;
var v2 = v1.prototype;
v2.onEnterFrame = function () {
if (_root.iniciapelea == 1) {
if (_root.enemigo1vida > 0 or _root.enemigo2vida > 0 or _root.enemigo3vida > 0 or _root.enemigo1 == 'Thalquin Party') {
if (_root.qcooldown > _root.qcooldone) {
_root.qcooldone += 0.04166666666666666 + _root.player1cdp / 24 / 16;
}
if (_root.wcooldown > _root.wcooldone) {
if (_root.player1lvl > 3) {
_root.wcooldone += 0.04166666666666666 + _root.player1cdp / 24 / 16;
}
}
if (_root.ecooldown > _root.ecooldone) {
if (_root.player1lvl > 7) {
_root.ecooldone += 0.04166666666666666 + _root.player1cdp / 24 / 16;
}
}
if (_root.acooldown > _root.acooldone) {
_root.acooldone += 0.04166666666666666 + _root.player2cdp / 24 / 16;
}
if (_root.scooldown > _root.scooldone) {
if (_root.player2lvl > 3) {
_root.scooldone += 0.04166666666666666 + _root.player2cdp / 24 / 16;
}
}
if (_root.dcooldown > _root.dcooldone) {
if (_root.player2lvl > 7) {
_root.dcooldone += 0.04166666666666666 + _root.player2cdp / 24 / 16;
}
}
if (_root.bcooldown > _root.bcooldone) {
if (_root.cogberzerker > 0) {
_root.bcooldone += 0.04166666666666666;
}
}
} else {
_root.bcooldone = 0;
_root.qcooldone = 0;
_root.wcooldone = 0;
_root.ecooldone = 0;
_root.acooldone = 0;
_root.scooldone = 0;
_root.dcooldone = 0;
}
}
};
ASSetPropFlags(_global.bajacooldowns.prototype, null, 1);
}
#endinitclip
}
movieClip 4291 __Packages.pet {
#initclip
if (!_global.pet) {
var v1 = function () {
super();
};
_global.pet = v1;
_global.pet extends MovieClip;
var v2 = v1.prototype;
v2.onEnterFrame = function () {
if (_root.player1life > _root.player1lifetotal) {
_root.player1life = _root.player1lifetotal;
}
if (_root.player2life > _root.player2lifetotal) {
_root.player2life = _root.player2lifetotal;
}
if (_root.enemigo1vida > 0 or _root.enemigo2vida > 0 or _root.enemigo3vida > 0) {
if (_root.iniciapelea == 1) {
if (_root.guardian1 == 'Ferralas') {
if (_root.player1life > 0) {
if (this.lepegaroncooldown > 0) {
this.lepegaroncooldown -= 1;
} else {
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(120) + 72);
}
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(120) + 72);
this.ataquecooldown1 = 10;
_root.ferralasenaccion = 1;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 == 4) {
this.atacara = Math.round(Math.random() * 2 + 1);
if (this.atacara == 1) {
if (_root.enemigo1vida > 0 and _root.goblinshieldesta != 1 and _root.invisible1 == 0) {
this.resta = Math.round(random(25) + 15);
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
}
} else {
if (this.atacara == 2) {
if (_root.enemigo2vida > 0 and _root.goblinshieldesta != 2 and _root.invisible2 == 0) {
this.resta = Math.round(random(25) + 15);
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
}
} else {
if (_root.enemigo3vida > 0 and _root.goblinshieldesta != 3 and _root.invisible3 == 0) {
this.resta = Math.round(random(25) + 15);
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
}
}
}
}
} else {
_root.ferralasenaccion = 0;
}
}
}
}
} else {
if (_root.guardian2 == 'Ferralas') {
if (_root.player2life > 0) {
if (this.lepegaroncooldown2 > 0) {
this.lepegaroncooldown2 -= 1;
} else {
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(120) + 72);
}
this.cooldown2 -= 1;
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(120) + 72);
this.ataquecooldown2 = 10;
_root.ferralasenaccion = 1;
} else {
if (this.ataquecooldown2 > 0) {
this.ataquecooldown2 -= 1;
if (this.ataquecooldown2 == 4) {
this.atacara = Math.round(Math.random() * 2 + 1);
if (this.atacara == 1) {
if (_root.enemigo1vida > 0 and _root.goblinshieldesta != 1 and _root.invisible1 == 0) {
this.resta = Math.round(random(25) + 15);
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
}
} else {
if (this.atacara == 2) {
if (_root.enemigo2vida > 0 and _root.goblinshieldesta != 2 and _root.invisible2 == 0) {
this.resta = Math.round(random(25) + 15);
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
}
} else {
if (_root.enemigo3vida > 0 and _root.goblinshieldesta != 3 and _root.invisible3 == 0) {
this.resta = Math.round(random(25) + 15);
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
}
}
}
}
} else {
_root.ferralasenaccion = 0;
}
}
}
}
}
}
if (_root.guardian1 == 'LifeWing') {
if (_root.player1life > 0) {
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(720) + 360);
this.ataquecooldown1 = 15;
_root.lifewingenaccion = 1;
}
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 == 8) {
_root.player1life += 15;
_root.curar1.gotoAndPlay(2);
_root.textoh1.play();
_root.textoh1.textodentro.valor.text = 25;
if (_root.player1life > _root.player1lifetotal) {
_root.player1life = _root.player1lifetotal;
}
}
} else {
_root.lifewingenaccion = 0;
}
}
}
if (_root.guardian2 == 'LifeWing') {
if (_root.player2life > 0) {
this.cooldown2 -= 1;
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(720) + 360);
this.ataquecooldown2 = 15;
_root.lifewingenaccion = 1;
}
if (this.ataquecooldown2 > 0) {
this.ataquecooldown2 -= 1;
if (this.ataquecooldown2 == 8) {
_root.player2life += 15;
_root.curar2.gotoAndPlay(2);
_root.textoh2.play();
_root.textoh2.textodentro.valor.text = 25;
if (_root.player2life > _root.player2lifetotal) {
_root.player2life = _root.player2lifetotal;
}
}
} else {
_root.lifewingenaccion = 0;
}
}
}
}
}
};
v2.cooldown1 = 15;
v2.ataquecooldown1 = 0;
v2.ataquecooldown2 = 0;
v2.cooldown2 = 15;
v2.lepegaroncooldown = 0;
v2.lepegaroncooldown2 = 0;
v2.downpresionado = 0;
v2.uppresionado = 0;
v2.atacara = 0;
v2.guardarvida = 0;
v2.resta = 0;
v2.invisibleguardarvida1 = 0;
v2.invisibleguardarvida2 = 0;
v2.swifthold1 = 1;
v2.swifthold2 = 1;
ASSetPropFlags(_global.pet.prototype, null, 1);
}
#endinitclip
}
movieClip 4292 __Packages.ejecutarenemigos {
#initclip
do {
for (;;) {
if (!_global.ejecutarenemigos) {
var v1 = function () {
super();
};
_global.ejecutarenemigos = v1;
_global.ejecutarenemigos extends MovieClip;
var v2 = v1.prototype;
} else {}
}
} while (function () {
if (_root.misiones[1][0] == 0 and _root.misiones[1][1] > 4) {
_root.misiones[1][0] = 1;
}
if (_root.misiones[2][0] == 0 and _root.misiones[2][1] > 4) {
_root.misiones[2][0] = 1;
}
if (this.dioexp1 == 0) {
if (_root.enemigo1vida > 0) {
this.dioexp1 = 1;
} else {
this.dioexp1 = 2;
}
}
if (this.dioexp2 == 0) {
if (_root.enemigo2vida > 0) {
this.dioexp2 = 1;
} else {
this.dioexp2 = 2;
}
}
if (this.dioexp3 == 0) {
if (_root.enemigo3vida > 0) {
this.dioexp3 = 1;
} else {
this.dioexp3 = 2;
}
}
if (this.dioexp1 == 1) {
if (_root.enemigo1vida == 0) {
this.dioexp1 = 2;
if (_root.enemigo1 == 'Goblin') {
_root.player1exptoload += 1;
_root.player2exptoload += 1;
} else {
if (_root.enemigo1 == 'Crossbowgoblin') {
++_root.misiones[1][1];
_root.player1exptoload += Math.round(Math.random() * 1 + 1);
_root.player2exptoload += Math.round(Math.random() * 1 + 1);
} else {
if (_root.enemigo1 == 'Battle Hog') {
_root.player1exptoload += Math.round(Math.random() * 2 + 1);
_root.player2exptoload += Math.round(Math.random() * 2 + 1);
} else {
if (_root.enemigo1 == 'Goblin Bombsmith') {
_root.player1exptoload += Math.round(Math.random() * 2 + 1);
_root.player2exptoload += Math.round(Math.random() * 2 + 1);
} else {
if (_root.enemigo1 == 'Goblin Highborn') {
++_root.misiones[2][1];
_root.player1exptoload += Math.round(Math.random() * 3 + 1);
_root.player2exptoload += Math.round(Math.random() * 3 + 1);
}
}
}
}
}
}
}
if (this.dioexp2 == 1) {
if (_root.enemigo2vida == 0) {
this.dioexp2 = 2;
if (_root.enemigo2 == 'Goblin') {
_root.player1exptoload += 1;
_root.player2exptoload += 1;
} else {
if (_root.enemigo2 == 'Crossbowgoblin') {
++_root.misiones[1][1];
_root.player1exptoload += Math.round(Math.random() * 1 + 1);
_root.player2exptoload += Math.round(Math.random() * 1 + 1);
} else {
if (_root.enemigo2 == 'Battle Hog') {
_root.player1exptoload += Math.round(Math.random() * 2 + 1);
_root.player2exptoload += Math.round(Math.random() * 2 + 1);
} else {
if (_root.enemigo2 == 'Goblin Bombsmith') {
_root.player1exptoload += Math.round(Math.random() * 2 + 1);
_root.player2exptoload += Math.round(Math.random() * 2 + 1);
} else {
if (_root.enemigo2 == 'Goblin Highborn') {
++_root.misiones[2][1];
_root.player1exptoload += Math.round(Math.random() * 3 + 1);
_root.player2exptoload += Math.round(Math.random() * 3 + 1);
} else {
if (_root.enemigo2 == 'Goblin King') {
_root.goblinshieldesta = 0;
_root.player1exptoload += Math.round(Math.random() * 5 + 3);
_root.player2exptoload += Math.round(Math.random() * 5 + 3);
}
}
}
}
}
}
}
}
if (this.dioexp3 == 1) {
if (_root.enemigo3vida == 0) {
this.dioexp3 = 2;
if (_root.enemigo3 == 'Goblin') {
_root.player1exptoload += 1;
_root.player2exptoload += 1;
} else {
if (_root.enemigo3 == 'Crossbowgoblin') {
++_root.misiones[1][1];
_root.player1exptoload += Math.round(Math.random() * 1 + 1);
_root.player2exptoload += Math.round(Math.random() * 1 + 1);
} else {
if (_root.enemigo1 == 'Battle Hog') {
_root.player1exptoload += Math.round(Math.random() * 2 + 1);
_root.player2exptoload += Math.round(Math.random() * 2 + 1);
} else {
if (_root.enemigo1 == 'Goblin Bombsmith') {
_root.player1exptoload += Math.round(Math.random() * 2 + 1);
_root.player2exptoload += Math.round(Math.random() * 2 + 1);
} else {
if (_root.enemigo1 == 'Goblin Highborn') {
++_root.misiones[2][1];
_root.player1exptoload += Math.round(Math.random() * 3 + 1);
_root.player2exptoload += Math.round(Math.random() * 3 + 1);
}
}
}
}
}
}
}
if (_root.quemado1 > 0) {
_root.quemado1 -= 0.04166666666666666;
_root.enemigo1vida -= _root.dañoquemado1 / 24;
_root.cantidadenemigos.textov1.play();
_root.cantidadenemigos.textov1.textodentro.valor.text = _root.dañoquemado1;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
}
if (_root.quemado2 > 0) {
_root.quemado2 -= 0.04166666666666666;
_root.enemigo2vida -= _root.dañoquemado2 / 24;
_root.cantidadenemigos.textov2.play();
_root.cantidadenemigos.textov2.textodentro.valor.text = _root.dañoquemado2;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
}
if (_root.quemado3 > 0) {
_root.quemado3 -= 0.04166666666666666;
_root.enemigo3vida -= _root.dañoquemado3 / 24;
_root.cantidadenemigos.textov3.play();
_root.cantidadenemigos.textov3.textodentro.valor.text = _root.dañoquemado3;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
}
if (_root.enemigo1 == 'Goblin') {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
this.lepegaroncooldown = 5;
}
if (this.lepegaroncooldown > 0) {
this.lepegaroncooldown -= 1;
} else {
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(240) + 120);
}
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(240) + 120);
this.ataquecooldown1 = 24;
_root.enemigo1atacando = 1;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 == 15) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(15) + 5);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(15) + 5);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(15) + 5);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(15) + 5);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo1atacando = 0;
}
}
}
}
}
if (_root.enemigo1 == 'Battle Hog') {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
this.lepegaroncooldown = 5;
}
if (this.lepegaroncooldown > 0) {
this.lepegaroncooldown -= 1;
} else {
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(144) + 120);
}
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(144) + 120);
this.ataquecooldown1 = 13;
_root.enemigo1atacando = 1;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 == 6) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(20) + 15);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
_root.player2golpeado = 1;
this.resta = Math.round(random(20) + 15);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
_root.player2golpeado = 1;
this.resta = Math.round(random(20) + 15);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(20) + 15);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo1atacando = 0;
}
}
}
}
} else {
if (_root.enemigo1 == 'Goblin Bombsmith') {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
this.lepegaroncooldown = 5;
}
if (this.lepegaroncooldown2 > 0) {
this.lepegaroncooldown -= 1;
} else {
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(432) + 96);
}
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(432) + 96);
this.ataquecooldown1 = 15;
_root.enemigo1atacando = 1;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 == 4) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(30) + 20);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
_root.bomb1.gotoAndPlay(2);
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
_root.player2golpeado = 1;
this.resta = Math.round(random(30) + 20);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2life -= this.resta;
_root.bomb2.gotoAndPlay(2);
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
_root.player2golpeado = 1;
this.resta = Math.round(random(30) + 20);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2life -= this.resta;
_root.bomb2.gotoAndPlay(2);
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(30) + 20);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
_root.bomb1.gotoAndPlay(2);
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo1atacando = 0;
}
}
}
}
} else {
if (_root.enemigo1 == 'Goblin Highborn') {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
this.lepegaroncooldown = 5;
}
if (this.lepegaroncooldown > 0) {
this.lepegaroncooldown -= 1;
} else {
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(144) + 144);
}
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(144) + 144);
this.ataquecooldown1 = 20;
_root.enemigo1atacando = 1;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 == 13) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(20) + 30);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(20) + 30);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(20) + 30);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(20) + 30);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo1atacando = 0;
}
}
}
}
}
}
}
if (_root.enemigo2 == 'Goblin') {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
this.lepegaroncooldown2 = 5;
}
if (this.lepegaroncooldown > 0) {
this.lepegaroncooldown2 -= 1;
} else {
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(240) + 120);
}
this.cooldown2 -= 1;
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(240) + 120);
this.ataquecooldown2 = 24;
_root.enemigo2atacando = 1;
} else {
if (this.ataquecooldown2 > 0) {
this.ataquecooldown2 -= 1;
if (this.ataquecooldown2 == 15) {
this.atacara = Math.round(random(1) + 1);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(15) + 5);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
_root.player2golpeado = 1;
this.resta = Math.round(random(15) + 5);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
_root.player2golpeado = 1;
this.resta = Math.round(random(15) + 5);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(15) + 5);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo2atacando = 0;
}
}
}
}
} else {
if (_root.enemigo2 == 'Crossbowgoblin') {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
this.lepegaroncooldown2 = 5;
}
if (this.lepegaroncooldown2 > 0) {
this.lepegaroncooldown2 -= 1;
} else {
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(288) + 96);
}
this.cooldown2 -= 1;
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(288) + 96);
this.ataquecooldown2 = 20;
_root.enemigo2atacando = 1;
} else {
if (this.ataquecooldown2 > 0) {
this.ataquecooldown2 -= 1;
if (this.ataquecooldown2 == 10) {
this.atacara = Math.round(random(1) + 1);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(20) + 1);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
_root.pegaflecha1.gotoAndPlay(2);
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(20) + 1);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
_root.pegaflecha2.gotoAndPlay(2);
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(20) + 1);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
_root.pegaflecha2.gotoAndPlay(2);
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(20) + 1);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
_root.pegaflecha1.gotoAndPlay(2);
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo2atacando = 0;
}
}
}
}
} else {
if (_root.enemigo2 == 'Battle Hog') {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
this.lepegaroncooldown2 = 5;
}
if (this.lepegaroncooldown2 > 0) {
this.lepegaroncooldown2 -= 1;
} else {
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(144) + 120);
}
this.cooldown2 -= 1;
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(144) + 120);
this.ataquecooldown2 = 13;
_root.enemigo2atacando = 1;
} else {
if (this.ataquecooldown2 > 0) {
this.ataquecooldown2 -= 1;
if (this.ataquecooldown2 == 6) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(20) + 15);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(20) + 15);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
_root.player2golpeado = 1;
this.resta = Math.round(random(20) + 15);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(20) + 15);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo2atacando = 0;
}
}
}
}
} else {
if (_root.enemigo2 == 'Goblin Bombsmith') {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
this.lepegaroncooldown2 = 5;
}
if (this.lepegaroncooldown2 > 0) {
this.lepegaroncooldown2 -= 1;
} else {
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(432) + 96);
}
this.cooldown2 -= 1;
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(432) + 96);
this.ataquecooldown2 = 15;
_root.enemigo2atacando = 1;
} else {
if (this.ataquecooldown2 > 0) {
this.ataquecooldown2 -= 1;
if (this.ataquecooldown2 == 4) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(30) + 20);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
_root.bomb1.gotoAndPlay(2);
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 20);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
_root.bomb2.gotoAndPlay(2);
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 20);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
_root.bomb2.gotoAndPlay(2);
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(30) + 20);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
_root.bomb1.gotoAndPlay(2);
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo2atacando = 0;
}
}
}
}
} else {
if (_root.enemigo2 == 'Goblin Highborn') {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
this.lepegaroncooldown2 = 5;
}
if (this.lepegaroncooldown2 > 0) {
this.lepegaroncooldown2 -= 1;
} else {
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(144) + 144);
}
this.cooldown2 -= 1;
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(144) + 144);
this.ataquecooldown2 = 20;
_root.enemigo2atacando = 1;
} else {
if (this.ataquecooldown2 > 0) {
this.ataquecooldown2 -= 1;
if (this.ataquecooldown2 == 13) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(20) + 30);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
_root.player2golpeado = 1;
this.resta = Math.round(random(20) + 30);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
_root.player2golpeado = 1;
this.resta = Math.round(random(20) + 30);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(20) + 30);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo2atacando = 0;
}
}
}
}
} else {
if (_root.enemigo2 == 'Goblin King') {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
this.lepegaroncooldown2 = 5;
}
if (this.lepegaroncooldown2 > 0) {
this.lepegaroncooldown2 -= 1;
} else {
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(120) + 72);
}
this.cooldown2 -= 1;
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(120) + 96);
if (_root.goblinking == 1) {
this.ataquecooldown2 = 19;
_root.goblinking = 2;
} else {
if (_root.goblinking == 2) {
this.ataquecooldown2 = 25;
_root.goblinking = 1;
}
}
_root.enemigo2atacando = 1;
} else {
if (this.ataquecooldown2 > 0) {
this.ataquecooldown2 -= 1;
if (_root.goblinking == 2) {
if (this.ataquecooldown2 == 14) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(45) + 5);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
_root.goblinking1.gotoAndPlay(2);
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
_root.player2golpeado = 1;
this.resta = Math.round(random(45) + 5);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2life -= this.resta;
_root.goblinking2.gotoAndPlay(2);
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
_root.player2golpeado = 1;
this.resta = Math.round(random(45) + 5);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2life -= this.resta;
_root.goblinking2.gotoAndPlay(2);
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(45) + 5);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
_root.goblinking1.gotoAndPlay(2);
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
if (_root.goblinking == 1) {
if (this.ataquecooldown2 == 20) {
if (_root.goblinshieldesta == 0) {
if (_root.enemigo1vida > 0 and _root.enemigo2vida > 0 and _root.enemigo3vida > 0) {
_root.goblinshieldesta = Math.round(random(2) + 1);
} else {
_root.goblinshieldesta = 2;
}
} else {
if (_root.goblinshieldesta == 1) {
if (_root.enemigo2vida > 0 and _root.enemigo3vida > 0) {
_root.goblinshieldesta = Math.round(random(1) + 2);
} else {
_root.goblinshieldesta = 2;
}
} else {
if (_root.goblinshieldesta == 2) {
if (_root.enemigo1vida > 0 and _root.enemigo2vida > 0 and _root.enemigo3vida > 0) {
_root.goblinshieldesta = Math.round(random(2) + 1);
} else {
_root.goblinshieldesta = 2;
}
} else {
if (_root.goblinshieldesta == 3) {
if (_root.enemigo1vida > 0 and _root.enemigo2vida > 0) {
_root.goblinshieldesta = Math.round(random(1) + 1);
} else {
_root.goblinshieldesta = 2;
}
}
}
}
}
}
}
}
} else {
_root.enemigo2atacando = 0;
}
}
}
}
}
}
}
}
}
}
if (_root.enemigo3 == 'Goblin') {
if (_root.enemigo3vida > 0) {
if (_root.enemigo3atacado == 1) {
this.lepegaroncooldown3 = 5;
}
if (this.lepegaroncooldown > 0) {
this.lepegaroncooldown3 -= 1;
} else {
if (this.cooldown3 < 0) {
this.cooldown3 = Math.round(random(240) + 120);
}
this.cooldown3 -= 1;
if (this.cooldown3 < 0) {
this.cooldown3 = Math.round(random(240) + 120);
this.ataquecooldown3 = 24;
_root.enemigo3atacando = 1;
} else {
if (this.ataquecooldown3 > 0) {
this.ataquecooldown3 -= 1;
if (this.ataquecooldown3 == 15) {
this.atacara = Math.round(random(1) + 1);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(15) + 5);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(15) + 5);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(15) + 5);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(15) + 5);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo3atacando = 0;
}
}
}
}
} else {
if (_root.enemigo3 == 'Crossbowgoblin') {
if (_root.enemigo3vida > 0) {
if (_root.enemigo3atacado == 1) {
this.lepegaroncooldown3 = 5;
}
if (this.lepegaroncooldown3 > 0) {
this.lepegaroncooldown3 -= 1;
} else {
if (this.cooldown3 < 0) {
this.cooldown3 = Math.round(random(288) + 96);
}
this.cooldown3 -= 1;
if (this.cooldown3 < 0) {
this.cooldown3 = Math.round(random(288) + 96);
this.ataquecooldown3 = 20;
_root.enemigo3atacando = 1;
} else {
if (this.ataquecooldown3 > 0) {
this.ataquecooldown3 -= 1;
if (this.ataquecooldown3 == 10) {
this.atacara = Math.round(random(1) + 1);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(20) + 1);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
_root.pegaflecha1.gotoAndPlay(2);
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
_root.player2golpeado = 1;
this.resta = Math.round(random(20) + 1);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2life -= this.resta;
_root.pegaflecha2.gotoAndPlay(2);
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
_root.player2golpeado = 1;
this.resta = Math.round(random(20) + 1);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2life -= this.resta;
_root.pegaflecha2.gotoAndPlay(2);
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(20) + 1);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
_root.pegaflecha1.gotoAndPlay(2);
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo3atacando = 0;
}
}
}
}
} else {
if (_root.enemigo3 == 'Battle Hog') {
if (_root.enemigo3vida > 0) {
if (_root.enemigo3atacado == 1) {
this.lepegaroncooldown3 = 5;
}
if (this.lepegaroncooldown3 > 0) {
this.lepegaroncooldown3 -= 1;
} else {
if (this.cooldown3 < 0) {
this.cooldown3 = Math.round(random(144) + 120);
}
this.cooldown3 -= 1;
if (this.cooldown3 < 0) {
this.cooldown3 = Math.round(random(144) + 120);
this.ataquecooldown3 = 13;
_root.enemigo3atacando = 1;
} else {
if (this.ataquecooldown3 > 0) {
this.ataquecooldown3 -= 1;
if (this.ataquecooldown3 == 6) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
_root.player1life -= Math.round(random(20) + 15);
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
_root.player2golpeado = 1;
_root.player2life -= Math.round(random(20) + 15);
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
_root.player2golpeado = 1;
_root.player2life -= Math.round(random(20) + 15);
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
_root.player1life -= Math.round(random(20) + 15);
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo3atacando = 0;
}
}
}
}
} else {
if (_root.enemigo3 == 'Goblin Bombsmith') {
if (_root.enemigo3vida > 0) {
if (_root.enemigo3atacado == 1) {
this.lepegaroncooldown3 = 5;
}
if (this.lepegaroncooldown3 > 0) {
this.lepegaroncooldown3 -= 1;
} else {
if (this.cooldown3 < 0) {
this.cooldown3 = Math.round(random(432) + 96);
}
this.cooldown3 -= 1;
if (this.cooldown3 < 0) {
this.cooldown3 = Math.round(random(432) + 96);
this.ataquecooldown3 = 15;
_root.enemigo3atacando = 1;
} else {
if (this.ataquecooldown3 > 0) {
this.ataquecooldown3 -= 1;
if (this.ataquecooldown3 == 4) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
_root.player1life -= Math.round(random(30) + 20);
_root.bomb1.gotoAndPlay(2);
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
_root.player2golpeado = 1;
_root.player2life -= Math.round(random(30) + 20);
_root.bomb2.gotoAndPlay(2);
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
_root.player2golpeado = 1;
_root.player2life -= Math.round(random(30) + 20);
_root.bomb2.gotoAndPlay(2);
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
_root.player1life -= Math.round(random(30) + 20);
_root.bomb1.gotoAndPlay(2);
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo3atacando = 0;
}
}
}
}
} else {
if (_root.enemigo3 == 'Goblin Highborn') {
if (_root.enemigo3vida > 0) {
if (_root.enemigo3atacado == 1) {
this.lepegaroncooldown3 = 5;
}
if (this.lepegaroncooldown3 > 0) {
this.lepegaroncooldown3 -= 1;
} else {
if (this.cooldown3 < 0) {
this.cooldown3 = Math.round(random(144) + 144);
}
this.cooldown3 -= 1;
if (this.cooldown3 < 0) {
this.cooldown3 = Math.round(random(144) + 144);
this.ataquecooldown3 = 20;
_root.enemigo3atacando = 1;
} else {
if (this.ataquecooldown3 > 0) {
this.ataquecooldown3 -= 1;
if (this.ataquecooldown3 == 13) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(20) + 30);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
_root.player2golpeado = 1;
this.resta = Math.round(random(20) + 30);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
_root.player2golpeado = 1;
this.resta = Math.round(random(20) + 30);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(20) + 30);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo3atacando = 0;
}
}
}
}
}
}
}
}
}
});
// An attempt to read a value from empty stack
undefined[storedv2] = 'onEnterFrame';
storedv2.cooldown1 = 5;
storedv2.ataquecooldown1 = 0;
storedv2.ataquecooldown2 = 0;
storedv2.ataquecooldown3 = 0;
storedv2.cooldown2 = 5;
storedv2.cooldown3 = 5;
storedv2.lepegaroncooldown = 0;
storedv2.lepegaroncooldown2 = 0;
storedv2.lepegaroncooldown3 = 0;
storedv2.downpresionado = 0;
storedv2.uppresionado = 0;
storedv2.atacara = 0;
storedv2.dioexp1 = 0;
storedv2.dioexp2 = 0;
storedv2.dioexp3 = 0;
storedv2.guardarvida = 0;
storedv2.resta = 0;
storedv2.invisibleguardarvida1 = 0;
storedv2.invisibleguardarvida2 = 0;
storedv2.invisibleguardarvida3 = 0;
storedv2.swifthold1 = 1;
storedv2.swifthold2 = 1;
storedv2.swifthold3 = 1;
ASSetPropFlags(_global.ejecutarenemigos.prototype, null, 1);
#endinitclip
}
movieClip 4293 __Packages.tindra {
#initclip
if (!_global.tindra) {
var v1 = function () {
super();
};
_global.tindra = v1;
_global.tindra extends MovieClip;
var v2 = v1.prototype;
v2.onEnterFrame = function () {
if (_root.iniciapelea == 1) {
if (_root.player1 == 'Tindra') {
this.damagep = _root.player1damagep;
this.healthp = _root.player1healthp;
this.cdp = _root.player1cdp;
} else {
if (_root.player2 == 'Tindra') {
this.damagep = _root.player2damagep;
this.healthp = _root.player2healthp;
this.cdp = _root.player2cdp;
}
}
if (this.ejecutarq > 0) {
this.ejecutarq -= 1;
if (this.ejecutarq == 8) {
if (this.pegaa == 1 and _root.goblinshieldesta != 1 and _root.invisible1 == 0) {
_root.enemigo1atacado = 1;
this.resta = Math.round(Math.random() * ((15 + this.damagep * 6 + this.healthp * 2) / 10) + (15 + this.damagep * 6 + this.healthp * 2)) + _root.bonuscog;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
_root.cantidadenemigos.ridgeq.gotoAndPlay(2);
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (this.pegaa == 2 and _root.goblinshieldesta != 2 and _root.invisible2 == 0) {
_root.enemigo2atacado = 1;
this.resta = Math.round(Math.random() * ((15 + this.damagep * 6 + this.healthp * 2) / 10) + (15 + this.damagep * 6 + this.healthp * 2)) + _root.bonuscog;
if (_root.malachiefecto == 1) {
_root.enemigo2vida -= -this.resta;
} else {
_root.enemigo2vida -= this.resta;
}
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
_root.cantidadenemigos.ridgeq2.gotoAndPlay(2);
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (this.pegaa == 3 and _root.goblinshieldesta != 3 and _root.invisible3 == 0) {
_root.enemigo3atacado = 1;
this.resta = Math.round(Math.random() * ((15 + this.damagep * 6 + this.healthp * 2) / 10) + (15 + this.damagep * 6 + this.healthp * 2)) + _root.bonuscog;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
_root.cantidadenemigos.ridgeq3.gotoAndPlay(2);
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
}
}
}
}
}
if (this.ejecutarw > 0) {
this.ejecutarw -= 1;
if (this.ejecutarw == 14) {
if (_root.player1life > _root.player2life and _root.player2life > 0) {
_root.player2life += this.healthp * 5 + 10;
_root.curar2.gotoAndPlay(2);
_root.textoh2.play();
_root.textoh2.textodentro.valor.text = this.healthp * 5 + 10;
if (_root.player2life > _root.player2lifetotal) {
_root.player2life = _root.player2lifetotal;
}
_root.tindraw2.play();
} else {
if (_root.player1life > 0) {
_root.player1life += this.healthp * 5 + 10;
_root.curar1.gotoAndPlay(2);
_root.textoh1.play();
_root.textoh1.textodentro.valor.text = this.healthp * 5 + 10;
if (_root.player1life > _root.player1lifetotal) {
_root.player1life = _root.player1lifetotal;
}
_root.tindraw.play();
}
}
}
}
if (this.ejecutare > 0) {
this.ejecutare -= 1;
if (this.ejecutare == 10) {
if (_root.player1 == 'Tindra') {
if (_root.player2 == 'Cog' and _root.cogberzerker == 2) {
_root.tindraes.play();
} else {
_root.tindraea.play();
_root.tindraes.play();
_root.tindraed.play();
}
_root.tindraeq.play();
_root.tindraew.play();
_root.qcooldone += 5;
_root.wcooldone += 5;
_root.acooldone += 5;
_root.scooldone += 5;
_root.dcooldone += 5;
_root.bcooldone += 5;
} else {
if (_root.player1 == 'Cog' and _root.cogberzerker == 1) {
_root.tindraew.play();
} else {
_root.tindraeq.play();
_root.tindraew.play();
_root.tindraee.play();
}
_root.tindraea.play();
_root.tindraes.play();
_root.qcooldone += 5;
_root.wcooldone += 5;
_root.ecooldone += 5;
_root.acooldone += 5;
_root.scooldone += 5;
_root.bcooldone += 5;
}
}
}
if (this.ejecutarr > 0) {
this.ejecutarr -= 1;
if (this.ejecutarr == 9) {
if (this.pegaa == 1 and _root.goblinshieldesta != 1 and _root.invisible1 == 0) {
_root.enemigo1atacado = 1;
this.resta = Math.round(Math.random() * ((40 + this.damagep * 5 + this.healthp * 5) / 10) + (40 + this.damagep * 5 + this.healthp * 5)) + _root.bonuscog;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
_root.cantidadenemigos.tindrar.gotoAndPlay(2);
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (this.pegaa == 2 and _root.goblinshieldesta != 2 and _root.invisible2 == 0) {
_root.enemigo2atacado = 1;
this.resta = Math.round(Math.random() * ((40 + this.damagep * 5 + this.healthp * 5) / 10) + (40 + this.damagep * 5 + this.healthp * 5)) + _root.bonuscog;
if (_root.malachiefecto == 1) {
_root.enemigo2vida -= -this.resta;
} else {
_root.enemigo2vida -= this.resta;
}
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
_root.cantidadenemigos.tindrar2.gotoAndPlay(2);
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (this.pegaa == 3 and _root.goblinshieldesta != 3 and _root.invisible3 == 0) {
_root.enemigo3atacado = 1;
this.resta = Math.round(Math.random() * ((40 + this.damagep * 5 + this.healthp * 5) / 10) + (40 + this.damagep * 5 + this.healthp * 5)) + _root.bonuscog;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
_root.cantidadenemigos.tindrar3.gotoAndPlay(2);
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
}
}
}
}
}
if (_root.player1 == 'Tindra') {
if (Key.isDown(81)) {
if (_root.tindraenaccion == 0) {
if (_root.qcooldone >= _root.qcooldown) {
this.esta = 2;
this.pegaa = _root.pegara;
this.ejecutarq = 16;
_root.tindraenaccion = 1;
_root.qcooldone = 0;
}
}
} else {
if (Key.isDown(87)) {
if (_root.tindraenaccion == 0) {
if (_root.wcooldone >= _root.wcooldown) {
this.esta = 3;
this.pegaa = _root.pegara;
this.ejecutarw = 26;
_root.tindraenaccion = 1;
_root.wcooldone = 0;
}
}
} else {
if (Key.isDown(69)) {
if (_root.tindraenaccion == 0) {
if (_root.ecooldone >= _root.ecooldown) {
this.esta = 4;
this.pegaa = _root.pegara;
this.ejecutare = 23;
_root.tindraenaccion = 1;
_root.ecooldone = 0;
}
}
} else {
if (Key.isDown(82)) {
if (_root.tindraenaccion == 0) {
if (_root.player1orbs > 3 and _root.player1lvl > 11) {
this.esta = 7;
_root.player1orbs = 0;
this.pegaa = _root.pegara;
this.ejecutarr = 47;
_root.tindraenaccion = 1;
}
}
}
}
}
}
if (_root.player1golpeado == 1 and _root.tindraenaccion == 0) {
this.esta = 5;
_root.tindraenaccion = 1;
}
if (_root.player1life < 1) {
this.esta = 6;
_root.tindraenaccion = 1;
}
if (_root.tindraenaccion == 0) {
this.esta = 1;
}
this.gotoAndStop(this.esta);
}
if (_root.player2 == 'Tindra') {
if (Key.isDown(65)) {
if (_root.tindraenaccion == 0) {
if (_root.acooldone >= _root.acooldown) {
this.esta = 2;
this.pegaa = _root.pegara;
this.ejecutarq = 16;
_root.tindraenaccion = 1;
_root.acooldone = 0;
}
}
} else {
if (Key.isDown(83)) {
if (_root.tindraenaccion == 0) {
if (_root.scooldone >= _root.scooldown) {
this.esta = 3;
this.pegaa = _root.pegara;
this.ejecutarw = 26;
_root.tindraenaccion = 1;
_root.scooldone = 0;
}
}
} else {
if (Key.isDown(68)) {
if (_root.tindraenaccion == 0) {
if (_root.dcooldone >= _root.dcooldown) {
this.esta = 4;
this.pegaa = _root.pegara;
this.ejecutare = 23;
_root.tindraenaccion = 1;
_root.dcooldone = 0;
}
}
} else {
if (Key.isDown(70)) {
if (_root.tindraenaccion == 0) {
if (_root.player2orbs > 3 and _root.player2lvl > 11) {
this.esta = 7;
this.pegaa = _root.pegara;
this.ejecutarr = 47;
_root.player2orbs = 0;
_root.tindraenaccion = 1;
}
}
}
}
}
}
if (_root.player2golpeado == 1 and _root.tindraenaccion < 1) {
this.esta = 5;
_root.tindraenaccion = 1;
}
if (_root.player2life < 1) {
this.esta = 6;
_root.tindraenaccion = 1;
}
if (_root.tindraenaccion == 0) {
this.esta = 1;
}
this.gotoAndStop(this.esta);
}
}
};
v2.esta = 1;
v2.ejecutarq = 0;
v2.pegaa = 0;
v2.ejecutarw = 0;
v2.ejecutare = 0;
v2.ejecutarr = 0;
ASSetPropFlags(_global.tindra.prototype, null, 1);
}
#endinitclip
}
movieClip 4294 __Packages.cog {
#initclip
if (!_global.cog) {
var v1 = function () {
super();
};
_global.cog = v1;
_global.cog extends MovieClip;
var v2 = v1.prototype;
v2.onEnterFrame = function () {
if (_root.cogberzerker > 0) {
if (_root.cogberzerkertiempo > 0 and this.ejecutarr < 5) {
_root.cogberzerkertiempo -= 1;
} else {
_root.cogberzerker = 0;
}
}
if (_root.durbonuscog > 0) {
_root.durbonuscog -= 1;
} else {
if (_root.durbonuscog == 0) {
_root.bonuscog = 0;
_root.player1a.cogw.gotoAndStop(1);
_root.player2a.cogw.gotoAndStop(1);
_root.durbonuscog -= 1;
}
}
if (_root.iniciapelea == 1) {
if (_root.player1 == 'Cog') {
this.damagep = _root.player1damagep;
this.healthp = _root.player1healthp;
this.cdp = _root.player1cdp;
} else {
if (_root.player2 == 'Cog') {
this.damagep = _root.player2damagep;
this.healthp = _root.player2healthp;
this.cdp = _root.player2cdp;
}
}
if (this.ejecutarq > 0) {
this.ejecutarq -= 1;
if (this.ejecutarq == 11) {
if (this.pegaa == 1 and _root.goblinshieldesta != 1 and _root.invisible1 == 0) {
_root.enemigo1atacado = 1;
this.resta = Math.round(Math.random() * ((this.damagep * 6 + 10) / 10) + (this.damagep * 6 + 10)) + _root.bonuscog;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.ridgeq.gotoAndPlay(2);
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (this.pegaa == 2 and _root.goblinshieldesta != 2 and _root.invisible2 == 0) {
_root.enemigo2atacado = 1;
this.resta = Math.round(Math.random() * ((this.damagep * 6 + 10) / 10) + (this.damagep * 6 + 10)) + _root.bonuscog;
if (_root.malachiefecto == 1) {
_root.enemigo2vida -= -this.resta;
} else {
_root.enemigo2vida -= this.resta;
}
_root.cantidadenemigos.ridgeq2.gotoAndPlay(2);
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (this.pegaa == 3 and _root.goblinshieldesta != 3 and _root.invisible3 == 0) {
_root.enemigo3atacado = 1;
this.resta = Math.round(Math.random() * ((this.damagep * 6 + 10) / 10) + (this.damagep * 6 + 10)) + _root.bonuscog;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.ridgeq3.gotoAndPlay(2);
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
}
}
}
}
}
if (this.ejecutarw > 0) {
this.ejecutarw -= 1;
if (this.ejecutarw == 8) {
_root.durbonuscog = 120;
_root.bonuscog = this.damagep * 4;
_root.player1a.cogw.gotoAndPlay(2);
_root.player2a.cogw.gotoAndPlay(2);
}
}
if (this.ejecutare > 0) {
this.ejecutare -= 1;
if (this.ejecutare == 149) {
if (_root.player1 == 'Cog') {
_root.cogbloqueando = 1;
} else {
if (_root.player2 == 'Cog') {
_root.cogbloqueando = 2;
}
}
_root.cogbloqueohace = 25 + this.damagep * 6 + this.healthp * 3;
}
}
if (this.ejecutarr > 0) {
this.esta = 7;
this.ejecutarr -= 1;
}
if (this.ejecutarb > 0) {
this.ejecutarb -= 1;
if (this.ejecutarb == 8) {
if (this.pegaa == 1 and _root.goblinshieldesta != 1 and _root.invisible1 == 0) {
_root.enemigo1atacado = 1;
this.resta = Math.round(Math.random() * ((30 + this.damagep * 7 + this.healthp * 3) / 10) + (30 + this.damagep * 7 + this.healthp * 3)) + _root.bonuscog;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
_root.cantidadenemigos.ridgew.gotoAndPlay(2);
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (this.pegaa == 2 and _root.goblinshieldesta != 2 and _root.invisible2 == 0) {
_root.enemigo2atacado = 1;
this.resta = Math.round(Math.random() * ((30 + this.damagep * 7 + this.healthp * 3) / 10) + (30 + this.damagep * 7 + this.healthp * 3)) + _root.bonuscog;
if (_root.malachiefecto == 1) {
_root.enemigo2vida -= -this.resta;
} else {
_root.enemigo2vida -= this.resta;
}
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
_root.cantidadenemigos.ridgew2.gotoAndPlay(2);
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (this.pegaa == 3 and _root.goblinshieldesta != 3 and _root.invisible3 == 0) {
_root.enemigo3atacado = 1;
this.resta = Math.round(Math.random() * ((30 + this.damagep * 7 + this.healthp * 3) / 10) + (30 + this.damagep * 7 + this.healthp * 3)) + _root.bonuscog;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
_root.cantidadenemigos.ridgew3.gotoAndPlay(2);
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
}
}
}
}
}
if (_root.player1 == 'Cog') {
if (Key.isDown(81) and _root.cogberzerker != 1) {
if (_root.cogenaccion == 0) {
if (_root.qcooldone >= _root.qcooldown) {
this.esta = 2;
this.pegaa = _root.pegara;
this.ejecutarq = 23;
_root.cogenaccion = 1;
_root.qcooldone = 0;
}
}
} else {
if (Key.isDown(87) and _root.cogberzerker != 1) {
if (_root.cogenaccion == 0) {
if (_root.wcooldone >= _root.wcooldown) {
this.esta = 3;
this.pegaa = _root.pegara;
this.ejecutarw = 17;
_root.cogenaccion = 1;
_root.wcooldone = 0;
}
}
} else {
if (Key.isDown(69) and _root.cogberzerker != 1) {
if (_root.cogenaccion == 0) {
if (_root.ecooldone >= _root.ecooldown) {
this.esta = 4;
this.pegaa = _root.pegara;
this.ejecutare = 168;
_root.cogenaccion = 1;
_root.ecooldone = 0;
}
}
} else {
if (Key.isDown(82)) {
if (_root.cogenaccion == 0) {
if (_root.player1orbs > 3 and _root.player1lvl > 11) {
this.esta = 7;
this.pegaa = _root.pegara;
_root.cogenaccion = 1;
this.ejecutarr = 36;
_root.player1orbs = 0;
}
}
} else {
if (Key.isDown(66) and _root.cogberzerker == 1) {
if (_root.cogenaccion == 0) {
if (_root.bcooldone >= _root.bcooldown) {
this.esta = 9;
this.pegaa = _root.pegara;
_root.cogenaccion = 1;
this.ejecutarb = 13;
_root.bcooldone = 0;
}
}
}
}
}
}
}
if (_root.player1golpeado == 1 and _root.cogenaccion < 1) {
this.esta = 5;
_root.cogenaccion = 1;
}
if (_root.player1life < 1) {
this.esta = 6;
_root.cogenaccion = 1;
}
if (_root.cogenaccion == 0) {
if (_root.cogberzerker != 1) {
this.esta = 1;
} else {
this.esta = 8;
}
}
this.gotoAndStop(this.esta);
}
if (_root.player2 == 'Cog') {
if (Key.isDown(65) and _root.cogberzerker != 2) {
if (_root.cogenaccion == 0) {
if (_root.acooldone >= _root.acooldown) {
this.esta = 2;
this.pegaa = _root.pegara;
this.ejecutarq = 23;
_root.cogenaccion = 1;
_root.acooldone = 0;
}
}
} else {
if (Key.isDown(83) and _root.cogberzerker != 2) {
if (_root.cogenaccion == 0) {
if (_root.scooldone >= _root.scooldown) {
this.esta = 3;
this.pegaa = _root.pegara;
this.ejecutarw = 17;
_root.cogenaccion = 1;
_root.scooldone = 0;
}
}
} else {
if (Key.isDown(68) and _root.cogberzerker != 2) {
if (_root.cogenaccion == 0) {
if (_root.dcooldone >= _root.dcooldown) {
this.esta = 4;
this.pegaa = _root.pegara;
this.ejecutare = 168;
_root.cogenaccion = 1;
_root.dcooldone = 0;
}
}
} else {
if (Key.isDown(70) and _root.cogberzerker != 2) {
if (_root.cogenaccion == 0) {
if (_root.player2orbs > 3 and _root.player2lvl > 11) {
this.esta = 7;
this.pegaa = _root.pegara;
this.ejecutarr = 36;
_root.cogenaccion = 1;
_root.player2orbs = 0;
}
}
} else {
if (Key.isDown(66) and _root.cogberzerker == 2) {
if (_root.cogenaccion == 0) {
if (_root.bcooldone >= _root.bcooldown) {
this.esta = 9;
this.pegaa = _root.pegara;
this.ejecutarb = 13;
_root.cogenaccion = 1;
_root.bcooldone = 0;
}
}
}
}
}
}
}
if (_root.player2golpeado == 1 and _root.cogenaccion < 1) {
this.esta = 5;
_root.cogenaccion = 1;
}
if (_root.player2life < 1) {
this.esta = 6;
_root.cogenaccion = 1;
}
if (_root.cogenaccion == 0) {
if (_root.cogberzerker != 2) {
this.esta = 1;
} else {
this.esta = 8;
}
}
this.gotoAndStop(this.esta);
}
}
};
v2.esta = 1;
v2.ejecutarq = 0;
v2.pegaa = 0;
v2.ejecutarw = 0;
v2.ejecutare = 0;
v2.quemar = 0;
v2.ejecutarr = 0;
v2.ejecutarb = 0;
ASSetPropFlags(_global.cog.prototype, null, 1);
}
#endinitclip
}
movieClip 4295 __Packages.wyvern {
#initclip
if (!_global.wyvern) {
var v1 = function () {
super();
};
_global.wyvern = v1;
_global.wyvern extends MovieClip;
var v2 = v1.prototype;
v2.onEnterFrame = function () {
if (_root.iniciapelea == 1) {
if (_root.player1 == 'Wyvern') {
this.damagep = _root.player1damagep;
this.healthp = _root.player1healthp;
this.cdp = _root.player1cdp;
} else {
if (_root.player2 == 'Wyvern') {
this.damagep = _root.player2damagep;
this.healthp = _root.player2healthp;
this.cdp = _root.player2cdp;
}
}
if (this.ejecutarq > 0) {
this.ejecutarq -= 1;
if (this.ejecutarq == 10) {
if (_root.enemigo1vida > 0 and _root.goblinshieldesta != 1 and _root.invisible1 == 0) {
_root.enemigo1atacado = 1;
this.resta = Math.round(Math.random() * ((20 + this.damagep * 5 + this.healthp + this.cdp) / 10) + (20 + this.damagep * 5 + this.healthp + this.cdp)) + _root.bonuscog;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
_root.cantidadenemigos.wyvernq.gotoAndPlay(2);
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
}
}
if (this.ejecutarq == 8) {
if (_root.enemigo2vida > 0 and _root.goblinshieldesta != 2 and _root.invisible2 == 0) {
_root.enemigo2atacado = 1;
this.resta = Math.round(Math.random() * ((20 + this.damagep * 5 + this.healthp + this.cdp) / 10) + (20 + this.damagep * 5 + this.healthp + this.cdp)) + _root.bonuscog;
if (_root.malachiefecto == 1) {
_root.enemigo2vida -= -this.resta;
} else {
_root.enemigo2vida -= this.resta;
}
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
_root.cantidadenemigos.wyvernq2.gotoAndPlay(2);
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
}
}
if (this.ejecutarq == 6) {
if (_root.enemigo3vida > 0 and _root.goblinshieldesta != 3 and _root.invisible3 == 0) {
_root.enemigo3atacado = 1;
this.resta = Math.round(Math.random() * ((20 + this.damagep * 5 + this.healthp + this.cdp) / 10) + (20 + this.damagep * 5 + this.healthp + this.cdp)) + _root.bonuscog;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
_root.cantidadenemigos.wyvernq3.gotoAndPlay(2);
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
}
}
}
if (this.ejecutarw > 0) {
this.ejecutarw -= 1;
if (this.ejecutarw == 10) {
if (_root.player1 == 'Wyvern' and _root.player1life > 0) {
_root.player1life += this.healthp * 2 + 15;
_root.curar1.gotoAndPlay(2);
_root.textoh1.play();
_root.textoh1.textodentro.valor.text = this.healthp * 5 + 5;
if (_root.player1life > _root.player1lifetotal) {
_root.player1life = _root.player1lifetotal;
}
} else {
if (_root.player2 == 'Wyvern' and _root.player2life > 0) {
_root.player2life += this.healthp * 2 + 15;
_root.curar2.gotoAndPlay(2);
_root.textoh2.play();
_root.textoh2.textodentro.valor.text = this.healthp * 5 + 5;
if (_root.player2life > _root.player2lifetotal) {
_root.player2life = _root.player2lifetotal;
}
}
}
if (this.pegaa == 1 and _root.goblinshieldesta != 1 and _root.invisible1 == 0) {
_root.enemigo1atacado = 1;
this.resta = Math.round(Math.random() * ((30 + this.damagep * 6 + this.healthp + this.cdp) / 10) + (30 + this.damagep * 6 + this.healthp + this.cdp)) + _root.bonuscog;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
_root.cantidadenemigos.wyvernw.gotoAndPlay(2);
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (this.pegaa == 2 and _root.goblinshieldesta != 2 and _root.invisible2 == 0) {
_root.enemigo2atacado = 1;
this.resta = Math.round(Math.random() * ((30 + this.damagep * 6 + this.healthp + this.cdp) / 10) + (30 + this.damagep * 6 + this.healthp + this.cdp)) + _root.bonuscog;
if (_root.malachiefecto == 1) {
_root.enemigo2vida += this.resta;
} else {
_root.enemigo2vida -= this.resta;
}
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
_root.cantidadenemigos.wyvernw2.gotoAndPlay(2);
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (this.pegaa == 3 and _root.goblinshieldesta != 3 and _root.invisible3 == 0) {
_root.enemigo3atacado = 1;
this.resta = Math.round(Math.random() * ((30 + this.damagep * 6 + this.healthp + this.cdp) / 10) + (30 + this.damagep * 6 + this.healthp + this.cdp)) + _root.bonuscog;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
_root.cantidadenemigos.wyvernw3.gotoAndPlay(2);
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
}
}
}
}
}
if (this.ejecutare > 0) {
this.ejecutare -= 1;
if (this.ejecutare == 1) {
if (_root.player1 == 'Wyvern') {
if (_root.player2life > 0) {
_root.shieldwyvern = 2;
_root.shieldwyvernlast = 120;
} else {
_root.shieldwyvern = 1;
_root.shieldwyvernlast = 120;
}
} else {
if (_root.player1life > 0) {
_root.shieldwyvern = 1;
_root.shieldwyvernlast = 120;
} else {
_root.shieldwyvern = 2;
_root.shieldwyvernlast = 120;
}
}
}
}
if (this.ejecutarr > 0) {
this.ejecutarr -= 1;
if (this.ejecutarr < 39) {
this.esta = 8;
}
if (this.ejecutarr == 40) {
if (_root.wyvernult != 1) {
if (_root.player1 == 'Wyvern') {
_root.player1orbs = 3;
} else {
_root.player2orbs = 3;
}
this.ejecutarr = 0;
} else {
if (_root.player1 == 'Wyvern') {
_root.player1orbs = 0;
} else {
_root.player2orbs = 0;
}
}
} else {
if (this.ejecutarr == 33) {
if (this.pegaa == 1 and _root.goblinshieldesta != 1 and _root.invisible1 == 0) {
_root.enemigo1atacado = 1;
this.resta = Math.round(Math.random() * ((50 + this.damagep * 10 + this.healthp * 5) / 10) + (50 + this.damagep * 10 + this.healthp * 5)) + _root.bonuscog;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
_root.cantidadenemigos.wyvernr.gotoAndPlay(2);
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (this.pegaa == 2 and _root.goblinshieldesta != 2 and _root.invisible2 == 0) {
_root.enemigo2atacado = 1;
this.resta = Math.round(Math.random() * ((50 + this.damagep * 10 + this.healthp * 5) / 10) + (50 + this.damagep * 10 + this.healthp * 5)) + _root.bonuscog;
if (_root.malachiefecto == 1) {
_root.enemigo2vida += this.resta;
} else {
_root.enemigo2vida -= this.resta;
}
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
_root.cantidadenemigos.wyvernr2.gotoAndPlay(2);
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (this.pegaa == 3 and _root.goblinshieldesta != 3 and _root.invisible3 == 0) {
_root.enemigo3atacado = 1;
this.resta = Math.round(Math.random() * ((50 + this.damagep * 10 + this.healthp * 5) / 10) + (50 + this.damagep * 10 + this.healthp * 5)) + _root.bonuscog;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
_root.cantidadenemigos.wyvernr3.gotoAndPlay(2);
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
}
}
}
}
}
}
if (_root.player1 == 'Wyvern') {
if (Key.isDown(81)) {
if (_root.wyvernenaccion == 0) {
if (_root.qcooldone >= _root.qcooldown) {
this.esta = 2;
this.pegaa = _root.pegara;
this.ejecutarq = 18;
_root.wyvernenaccion = 1;
_root.qcooldone = 0;
}
}
} else {
if (Key.isDown(87)) {
if (_root.wyvernenaccion == 0) {
if (_root.wcooldone >= _root.wcooldown) {
this.esta = 3;
this.pegaa = _root.pegara;
this.ejecutarw = 17;
_root.wyvernenaccion = 1;
_root.wcooldone = 0;
}
}
} else {
if (Key.isDown(69)) {
if (_root.wyvernenaccion == 0) {
if (_root.ecooldone >= _root.ecooldown) {
this.esta = 4;
this.pegaa = _root.pegara;
this.ejecutare = 10;
_root.wyvernenaccion = 1;
_root.ecooldone = 0;
}
}
} else {
if (Key.isDown(82)) {
if (_root.wyvernenaccion == 0) {
if (_root.player1orbs > 3 and _root.player1lvl > 11) {
this.esta = 7;
this.pegaa = _root.pegara;
this.ejecutarr = 125;
_root.wyvernenaccion = 1;
}
}
}
}
}
}
if (_root.player1golpeado == 1 and _root.wyvernenaccion == 0) {
this.esta = 5;
_root.wyvernenaccion = 1;
}
if (_root.player1life < 1) {
this.esta = 6;
_root.wyvernenaccion = 1;
}
if (_root.wyvernenaccion == 0) {
this.esta = 1;
}
this.gotoAndStop(this.esta);
}
if (_root.player2 == 'Wyvern') {
if (Key.isDown(65)) {
if (_root.wyvernenaccion == 0) {
if (_root.acooldone >= _root.acooldown) {
this.esta = 2;
this.pegaa = _root.pegara;
this.ejecutarq = 18;
_root.wyvernenaccion = 1;
_root.acooldone = 0;
}
}
} else {
if (Key.isDown(83)) {
if (_root.wyvernenaccion == 0) {
if (_root.scooldone >= _root.scooldown) {
this.esta = 3;
this.pegaa = _root.pegara;
this.ejecutarw = 17;
_root.wyvernenaccion = 1;
_root.scooldone = 0;
}
}
} else {
if (Key.isDown(68)) {
if (_root.wyvernenaccion == 0) {
if (_root.dcooldone >= _root.dcooldown) {
this.esta = 4;
this.pegaa = _root.pegara;
this.ejecutare = 10;
_root.wyvernenaccion = 1;
_root.dcooldone = 0;
}
}
} else {
if (Key.isDown(70)) {
if (_root.wyvernenaccion == 0) {
if (_root.player2orbs > 3 and _root.player2lvl > 11) {
this.esta = 7;
this.pegaa = _root.pegara;
this.ejecutarr = 125;
_root.wyvernenaccion = 1;
}
}
}
}
}
}
if (_root.player2golpeado == 1 and _root.wyvernenaccion < 1) {
this.esta = 5;
_root.wyvernenaccion = 1;
}
if (_root.player2life < 1) {
this.esta = 6;
_root.wyvernenaccion = 1;
}
if (_root.wyvernenaccion == 0) {
this.esta = 1;
}
this.gotoAndStop(this.esta);
}
}
};
v2.esta = 1;
v2.ejecutarq = 0;
v2.pegaa = 0;
v2.ejecutarw = 0;
v2.ejecutare = 0;
v2.ejecutarr = 0;
ASSetPropFlags(_global.wyvern.prototype, null, 1);
}
#endinitclip
}
movieClip 4296 __Packages.nesyss {
#initclip
if (!_global.nesyss) {
var v1 = function () {
super();
};
_global.nesyss = v1;
_global.nesyss extends MovieClip;
var v2 = v1.prototype;
v2.onEnterFrame = function () {
if (_root.iniciapelea == 1) {
if (_root.player1 == 'Nesyss') {
this.damagep = _root.player1damagep;
this.healthp = _root.player1healthp;
this.cdp = _root.player1cdp;
} else {
if (_root.player2 == 'Nesyss') {
this.damagep = _root.player2damagep;
this.healthp = _root.player2healthp;
this.cdp = _root.player2cdp;
}
}
if (this.ejecutarq > 0) {
this.ejecutarq -= 1;
if (this.ejecutarq == 8) {
if (this.pegaa == 1 and _root.goblinshieldesta != 1 and _root.invisible1 == 0) {
_root.enemigo1atacado = 1;
this.resta = Math.round(Math.random() * ((10 + this.damagep * 3 + this.cdp * 6) / 10) + (10 + this.damagep * 3 + this.cdp * 6)) + _root.bonuscog;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
_root.cantidadenemigos.ridgew.gotoAndPlay(2);
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (this.pegaa == 2 and _root.goblinshieldesta != 2 and _root.invisible2 == 0) {
_root.enemigo2atacado = 1;
this.resta = Math.round(Math.random() * ((5 + this.damagep * 3 + this.cdp * 6) / 10) + (5 + this.damagep * 3 + this.cdp * 6)) + _root.bonuscog;
if (_root.malachiefecto == 1) {
_root.enemigo2vida -= -this.resta;
} else {
_root.enemigo2vida -= this.resta;
}
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
_root.cantidadenemigos.ridgew2.gotoAndPlay(2);
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (this.pegaa == 3 and _root.goblinshieldesta != 3 and _root.invisible3 == 0) {
_root.enemigo3atacado = 1;
this.resta = Math.round(Math.random() * ((5 + this.damagep * 3 + this.cdp * 6) / 10) + (5 + this.damagep * 3 + this.cdp * 6)) + _root.bonuscog;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
_root.cantidadenemigos.ridgew3.gotoAndPlay(2);
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
}
}
}
}
}
if (this.ejecutarw > 0) {
if (_root.player1 == 'Nesyss') {
_root.player1golpeado = 0;
} else {
if (_root.player2 == 'Nesyss') {
_root.player2golpeado = 0;
}
}
this.ejecutarw -= 1;
if (this.ejecutarw == 68) {
if (_root.player1 == 'Nesyss') {
this.guardarvida = _root.player1life;
} else {
if (_root.player2 == 'Nesyss') {
this.guardarvida = _root.player2life;
}
}
} else {
if (this.ejecutarw < 68) {
if (_root.player1 == 'Nesyss') {
_root.player1life = this.guardarvida;
} else {
if (_root.player2 == 'Nesyss') {
_root.player2life = this.guardarvida;
}
}
}
}
}
if (this.ejecutare > 0) {
this.ejecutare -= 1;
if (this.ejecutare == 5) {
if (this.pegaa == 1 and _root.goblinshieldesta != 1 and _root.invisible1 == 0) {
_root.enemigo1atacado = 1;
this.resta = Math.round(Math.random() * ((this.cdp * 7 + this.healthp * 4) / 10) + (this.cdp * 7 + this.healthp * 4)) + _root.bonuscog;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
_root.cantidadenemigos.nesyss.gotoAndPlay(2);
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
_root.quemado1 = 2;
_root.dañoquemado1 = this.damagep + this.healthp - 5;
} else {
if (this.pegaa == 2 and _root.goblinshieldesta != 2 and _root.invisible2 == 0) {
_root.enemigo2atacado = 1;
this.resta = Math.round(Math.random() * ((this.cdp * 7 + this.healthp * 4) / 10) + (this.cdp * 7 + this.healthp * 4)) + _root.bonuscog;
if (_root.malachiefecto == 1) {
_root.enemigo2vida -= -this.resta;
} else {
_root.enemigo2vida -= this.resta;
}
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
_root.cantidadenemigos.nesyss2.gotoAndPlay(2);
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
_root.quemado2 = 2;
_root.dañoquemado2 = this.damagep + this.healthp - 5;
} else {
if (this.pegaa == 3 and _root.goblinshieldesta != 3 and _root.invisible3 == 0) {
_root.enemigo3atacado = 1;
this.resta = Math.round(Math.random() * ((this.cdp * 7 + this.healthp * 4) / 10) + (this.cdp * 7 + this.healthp * 4)) + _root.bonuscog;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
_root.cantidadenemigos.nesyss3.gotoAndPlay(2);
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
_root.quemado3 = 2;
_root.dañoquemado3 = this.damagep + this.healthp - 5;
}
}
}
}
}
if (this.ejecutarr > 0) {
this.ejecutarr -= 1;
if (this.ejecutarr == 32) {
if (_root.enemigo1vida == 0 or _root.goblinshieldesta == 1 and _root.invisible1 == 1) {
if (this.pegaa == 2 and _root.goblinshieldesta != 2 and _root.invisible2 == 0) {
_root.enemigo2atacado = 1;
this.resta = Math.round(Math.random() * ((this.damagep * 4 + this.cdp * 6 + this.healthp * 2) / 10) + (this.damagep * 4 + this.cdp * 6 + this.healthp * 2)) + _root.bonuscog;
if (_root.malachiefecto == 1) {
_root.enemigo2vida -= -this.resta;
} else {
_root.enemigo2vida -= this.resta;
}
_root.cantidadenemigos.nesyssr2.gotoAndPlay(2);
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (this.pegaa == 3 and _root.goblinshieldesta != 3 and _root.invisible3 == 0) {
_root.enemigo3atacado = 1;
this.resta = Math.round(Math.random() * ((this.damagep * 4 + this.cdp * 6 + this.healthp * 2) / 10) + (this.damagep * 4 + this.cdp * 6 + this.healthp * 2)) + _root.bonuscog;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.nesyssr3.gotoAndPlay(2);
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
}
}
} else {
_root.enemigo1atacado = 1;
this.resta = Math.round(Math.random() * ((this.damagep * 4 + this.cdp * 6 + this.healthp * 2) / 10) + (this.damagep * 4 + this.cdp * 6 + this.healthp * 2)) + _root.bonuscog;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.nesyssr.gotoAndPlay(2);
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
}
}
if (this.ejecutarr == 25) {
if (_root.enemigo2vida == 0 or _root.goblinshieldesta == 2 and _root.invisible2 == 1) {
if (this.pegaa == 1 and _root.goblinshieldesta != 1 and _root.invisible1 == 0) {
_root.enemigo1atacado = 1;
this.resta = Math.round(Math.random() * ((this.damagep * 4 + this.cdp * 6 + this.healthp * 2) / 10) + (this.damagep * 4 + this.cdp * 6 + this.healthp * 2)) + _root.bonuscog;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.nesyssr.gotoAndPlay(2);
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (this.pegaa == 3 and _root.goblinshieldesta != 3 and _root.invisible3 == 0) {
_root.enemigo3atacado = 1;
this.resta = Math.round(Math.random() * ((this.damagep * 4 + this.cdp * 6 + this.healthp * 2) / 10) + (this.damagep * 4 + this.cdp * 6 + this.healthp * 2)) + _root.bonuscog;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.nesyssr.gotoAndPlay(2);
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
}
}
} else {
_root.enemigo2atacado = 1;
this.resta = Math.round(Math.random() * ((this.damagep * 4 + this.cdp * 6 + this.healthp * 2) / 10) + (this.damagep * 4 + this.cdp * 6 + this.healthp * 2)) + _root.bonuscog;
if (_root.malachiefecto == 1) {
_root.enemigo2vida -= -this.resta;
} else {
_root.enemigo2vida -= this.resta;
}
_root.cantidadenemigos.nesyssr2.gotoAndPlay(2);
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
}
}
if (this.ejecutarr == 18) {
if (_root.enemigo3vida == 0 or _root.goblinshieldesta == 3 and _root.invisible3 == 1) {
if (this.pegaa == 2 and _root.goblinshieldesta != 2 and _root.invisible2 == 0) {
_root.enemigo2atacado = 1;
this.resta = Math.round(Math.random() * ((this.damagep * 4 + this.cdp * 6 + this.healthp * 2) / 10) + (this.damagep * 4 + this.cdp * 6 + this.healthp * 2)) + _root.bonuscog;
if (_root.malachiefecto == 1) {
_root.enemigo2vida -= -this.resta;
} else {
_root.enemigo2vida -= this.resta;
}
_root.cantidadenemigos.nesyssr2.gotoAndPlay(2);
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (this.pegaa == 1 and _root.goblinshieldesta != 1 and _root.invisible1 == 0) {
_root.enemigo1atacado = 1;
this.resta = Math.round(Math.random() * ((this.damagep * 4 + this.cdp * 6 + this.healthp * 2) / 10) + (this.damagep * 4 + this.cdp * 6 + this.healthp * 2)) + _root.bonuscog;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.nesyssr.gotoAndPlay(2);
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
}
}
} else {
_root.enemigo3atacado = 1;
this.resta = Math.round(Math.random() * ((this.damagep * 4 + this.cdp * 6 + this.healthp * 2) / 10) + (this.damagep * 4 + this.cdp * 6 + this.healthp * 2)) + _root.bonuscog;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.nesyssr3.gotoAndPlay(2);
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
}
}
}
if (_root.player1 == 'Nesyss') {
if (Key.isDown(81)) {
if (_root.nesyssenaccion == 0) {
if (_root.qcooldone >= _root.qcooldown) {
this.esta = 2;
this.pegaa = _root.pegara;
this.ejecutarq = 17;
_root.nesyssenaccion = 1;
_root.qcooldone = 0;
}
}
} else {
if (Key.isDown(87)) {
if (_root.nesyssenaccion == 0) {
if (_root.wcooldone >= _root.wcooldown) {
this.esta = 3;
this.pegaa = _root.pegara;
this.ejecutarw = 80;
_root.nesyssenaccion = 1;
_root.wcooldone = 0;
}
}
} else {
if (Key.isDown(69)) {
if (_root.nesyssenaccion == 0) {
if (_root.ecooldone >= _root.ecooldown) {
this.esta = 4;
this.pegaa = _root.pegara;
this.ejecutare = 22;
_root.nesyssenaccion = 1;
_root.ecooldone = 0;
}
}
} else {
if (Key.isDown(82)) {
if (_root.nesyssenaccion == 0) {
if (_root.player1orbs > 3 and _root.player1lvl > 11) {
this.esta = 7;
this.pegaa = _root.pegara;
this.ejecutarr = 65;
_root.nesyssenaccion = 1;
_root.player1orbs = 0;
}
}
}
}
}
}
if (_root.player1golpeado == 1) {
this.esta = 5;
_root.nesyssenaccion = 1;
}
if (_root.player1life < 1) {
this.esta = 6;
_root.nesyssenaccion = 1;
}
if (_root.nesyssenaccion == 0) {
this.esta = 1;
}
this.gotoAndStop(this.esta);
}
if (_root.player2 == 'Nesyss') {
if (Key.isDown(65)) {
if (_root.nesyssenaccion == 0) {
if (_root.acooldone >= _root.acooldown) {
this.esta = 2;
this.pegaa = _root.pegara;
this.ejecutarq = 17;
_root.nesyssenaccion = 1;
_root.acooldone = 0;
}
}
} else {
if (Key.isDown(83)) {
if (_root.nesyssenaccion == 0) {
if (_root.scooldone >= _root.scooldown) {
this.esta = 3;
this.pegaa = _root.pegara;
this.ejecutarw = 80;
_root.nesyssenaccion = 1;
_root.scooldone = 0;
}
}
} else {
if (Key.isDown(68)) {
if (_root.nesyssenaccion == 0) {
if (_root.dcooldone >= _root.dcooldown) {
this.esta = 4;
this.pegaa = _root.pegara;
this.ejecutare = 22;
_root.nesyssenaccion = 1;
_root.dcooldone = 0;
}
}
} else {
if (Key.isDown(70)) {
if (_root.nesyssenaccion == 0) {
if (_root.player2orbs > 3 and _root.player2lvl > 11) {
this.esta = 7;
this.pegaa = _root.pegara;
this.ejecutarr = 65;
_root.nesyssenaccion = 1;
_root.player2orbs = 0;
}
}
}
}
}
}
if (_root.player2golpeado == 1) {
this.esta = 5;
_root.nesyssenaccion = 1;
}
if (_root.player2life < 1) {
this.esta = 6;
_root.nesyssenaccion = 1;
}
if (_root.nesyssenaccion == 0) {
this.esta = 1;
}
this.gotoAndStop(this.esta);
}
}
};
v2.esta = 1;
v2.ejecutarq = 0;
v2.pegaa = 0;
v2.ejecutarw = 0;
v2.ejecutare = 0;
v2.ejecutarr = 0;
ASSetPropFlags(_global.nesyss.prototype, null, 1);
}
#endinitclip
}
movieClip 4297 __Packages.vance {
#initclip
if (!_global.vance) {
var v1 = function () {
super();
};
_global.vance = v1;
_global.vance extends MovieClip;
var v2 = v1.prototype;
v2.onEnterFrame = function () {
if (_root.iniciapelea == 1) {
if (_root.player1 == 'Vance') {
this.damagep = _root.player1damagep;
this.healthp = _root.player1healthp;
this.cdp = _root.player1cdp;
} else {
if (_root.player2 == 'Vance') {
this.damagep = _root.player2damagep;
this.healthp = _root.player2healthp;
this.cdp = _root.player2cdp;
}
}
if (this.ejecutarq > 0) {
this.ejecutarq -= 1;
if (this.ejecutarq == 10) {
if (this.pegaa == 1 and _root.goblinshieldesta != 1 and _root.invisible1 == 0) {
_root.enemigo1atacado = 1;
this.resta = Math.round(Math.random() * ((this.cdp * 2 + this.damagep * 6 + 15) / 10) + (this.cdp * 2 + this.damagep * 6 + 15)) + _root.bonuscog;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.vanceq.gotoAndPlay(2);
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (this.pegaa == 2 and _root.goblinshieldesta != 2 and _root.invisible2 == 0) {
_root.enemigo2atacado = 1;
this.resta = Math.round(Math.random() * ((this.cdp * 2 + this.damagep * 6 + 15) / 10) + (this.cdp * 2 + this.damagep * 6 + 15)) + _root.bonuscog;
if (_root.malachiefecto == 1) {
_root.enemigo2vida -= -this.resta;
} else {
_root.enemigo2vida -= this.resta;
}
_root.cantidadenemigos.vanceq2.gotoAndPlay(2);
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (this.pegaa == 3 and _root.goblinshieldesta != 3 and _root.invisible3 == 0) {
_root.enemigo3atacado = 1;
this.resta = Math.round(Math.random() * ((this.cdp * 2 + this.damagep * 6 + 15) / 10) + (this.cdp * 2 + this.damagep * 6 + 15)) + _root.bonuscog;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.vanceq3.gotoAndPlay(2);
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
}
}
}
}
}
if (this.ejecutarw > 0) {
this.ejecutarw -= 1;
if (this.ejecutarw == 19) {
if (_root.enemigo1vida == 0 or _root.goblinshieldesta == 1 and _root.invisible1 == 1) {
if (this.pegaa == 2 and _root.goblinshieldesta != 2 and _root.invisible2 == 0) {
_root.enemigo2atacado = 1;
this.resta = Math.round(Math.random() * ((this.cdp * 2 + this.damagep * 4 + 10) / 10) + (this.cdp * 2 + this.damagep * 4 + 10)) + _root.bonuscog;
if (_root.malachiefecto == 1) {
_root.enemigo2vida -= -this.resta;
} else {
_root.enemigo2vida -= this.resta;
}
_root.cantidadenemigos.vanceq2.gotoAndPlay(2);
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (this.pegaa == 3 and _root.goblinshieldesta != 3 and _root.invisible3 == 0) {
_root.enemigo3atacado = 1;
this.resta = Math.round(Math.random() * ((this.cdp * 2 + this.damagep * 4 + 10) / 10) + (this.cdp * 2 + this.damagep * 4 + 10)) + _root.bonuscog;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.vanceq3.gotoAndPlay(2);
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
}
}
} else {
_root.enemigo1atacado = 1;
this.resta = Math.round(Math.random() * ((this.cdp * 2 + this.damagep * 4 + 10) / 10) + (this.cdp * 2 + this.damagep * 4 + 10)) + _root.bonuscog;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.vanceq.gotoAndPlay(2);
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
}
}
if (this.ejecutarw == 11) {
if (_root.enemigo2vida == 0 or _root.goblinshieldesta == 2 and _root.invisible2 == 1) {
if (this.pegaa == 1 and _root.goblinshieldesta != 1 and _root.invisible1 == 0) {
_root.enemigo1atacado = 1;
this.resta = Math.round(Math.random() * ((this.cdp * 2 + this.damagep * 4 + 10) / 10) + (this.cdp * 2 + this.damagep * 4 + 10)) + _root.bonuscog;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.vanceq.gotoAndPlay(2);
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (this.pegaa == 3 and _root.goblinshieldesta != 3 and _root.invisible3 == 0) {
_root.enemigo3atacado = 1;
this.resta = Math.round(Math.random() * ((this.cdp * 2 + this.damagep * 4 + 10) / 10) + (this.cdp * 2 + this.damagep * 4 + 10)) + _root.bonuscog;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.vanceq3.gotoAndPlay(2);
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
}
}
} else {
_root.enemigo2atacado = 1;
this.resta = Math.round(Math.random() * ((this.cdp * 2 + this.damagep * 4 + 10) / 10) + (this.cdp * 2 + this.damagep * 4 + 10)) + _root.bonuscog;
if (_root.malachiefecto == 1) {
_root.enemigo2vida -= -this.resta;
} else {
_root.enemigo2vida -= this.resta;
}
_root.cantidadenemigos.vanceq2.gotoAndPlay(2);
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
}
}
if (this.ejecutarw == 3) {
if (_root.enemigo3vida == 0 or _root.goblinshieldesta == 3 and _root.invisible3 == 0) {
if (this.pegaa == 2 and _root.goblinshieldesta != 2 and _root.invisible2 == 0) {
_root.enemigo2atacado = 1;
this.resta = Math.round(Math.random() * ((this.cdp * 2 + this.damagep * 4 + 10) / 10) + (this.cdp * 2 + this.damagep * 4 + 10)) + _root.bonuscog;
if (_root.malachiefecto == 1) {
_root.enemigo2vida -= -this.resta;
} else {
_root.enemigo2vida -= this.resta;
}
_root.cantidadenemigos.vanceq2.gotoAndPlay(2);
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (this.pegaa == 1 and _root.goblinshieldesta != 1 and _root.invisible1 == 0) {
_root.enemigo1atacado = 1;
this.resta = Math.round(Math.random() * ((this.cdp * 2 + this.damagep * 4 + 10) / 10) + (this.cdp * 2 + this.damagep * 4 + 10)) + _root.bonuscog;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.vanceq.gotoAndPlay(2);
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
}
}
} else {
_root.enemigo3atacado = 1;
this.resta = Math.round(Math.random() * ((this.cdp * 2 + this.damagep * 4 + 10) / 10) + (this.cdp * 2 + this.damagep * 4 + 10)) + _root.bonuscog;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.vanceq3.gotoAndPlay(2);
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
}
}
}
if (this.ejecutare > 0) {
this.ejecutare -= 1;
if (this.ejecutare == 8) {
if (this.pegaa == 1 and _root.goblinshieldesta != 1 and _root.invisible1 == 0) {
_root.enemigo1atacado = 1;
this.resta = Math.round(Math.random() * ((this.cdp * 2 + this.damagep * 7 + 20) / 10) + (this.cdp * 2 + this.damagep * 7 + 20)) + _root.bonuscog;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
_root.cantidadenemigos.vanceq.gotoAndPlay(2);
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
this.quemar = Math.round(random(100));
if (this.quemar > 25) {
_root.quemado1 = 3;
_root.dañoquemado1 = this.damagep * 2;
_root.enemy1burn.gotoAndPlay(2);
}
} else {
if (this.pegaa == 2 and _root.goblinshieldesta != 2 and _root.invisible2 == 0) {
this.resta = Math.round(Math.random() * ((this.cdp * 2 + this.damagep * 7 + 20) / 10) + (this.cdp * 2 + this.damagep * 7 + 20)) + _root.bonuscog;
_root.enemigo2atacado = 1;
if (_root.malachiefecto == 1) {
_root.enemigo2vida -= -this.resta;
} else {
_root.enemigo2vida -= this.resta;
}
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
_root.cantidadenemigos.vanceq2.gotoAndPlay(2);
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
this.quemar = Math.round(random(100));
if (this.quemar > 25) {
_root.quemado2 = 3;
_root.dañoquemado2 = this.damagep * 2;
_root.enemy2burn.gotoAndPlay(2);
}
} else {
if (this.pegaa == 3 and _root.goblinshieldesta != 3 and _root.invisible3 == 0) {
_root.enemigo3atacado = 1;
this.resta = Math.round(Math.random() * ((this.cdp * 2 + this.damagep * 7 + 20) / 10) + (this.cdp * 2 + this.damagep * 7 + 20)) + _root.bonuscog;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
_root.cantidadenemigos.vanceq3.gotoAndPlay(2);
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
this.quemar = Math.round(random(100));
if (this.quemar > 25) {
_root.quemado3 = 3;
_root.dañoquemado3 = this.damagep * 2;
_root.enemy3burn.gotoAndPlay(2);
}
}
}
}
}
}
if (this.ejecutarr > 0) {
this.ejecutarr -= 1;
if (this.ejecutarr == 17) {
if (this.pegaa == 1 and _root.goblinshieldesta != 1 and _root.invisible1 == 0) {
_root.enemigo1atacado = 1;
this.resta = Math.round(Math.random() * ((this.cdp * 3 + this.damagep * 10) / 10) + (this.cdp * 3 + this.damagep * 10)) + _root.bonuscog;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.vancer.gotoAndPlay(2);
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (this.pegaa == 2 and _root.goblinshieldesta != 2 and _root.invisible2 == 0) {
_root.enemigo2atacado = 1;
this.resta = Math.round(Math.random() * ((this.cdp * 3 + this.damagep * 10) / 10) + (this.cdp * 3 + this.damagep * 10)) + _root.bonuscog;
if (_root.malachiefecto == 1) {
_root.enemigo2vida -= -this.resta;
} else {
_root.enemigo2vida -= this.resta;
}
_root.cantidadenemigos.vancer2.gotoAndPlay(2);
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (this.pegaa == 3 and _root.goblinshieldesta != 3 and _root.invisible3 == 0) {
_root.enemigo3atacado = 1;
this.resta = Math.round(Math.random() * ((this.cdp * 3 + this.damagep * 10) / 10) + (this.cdp * 3 + this.damagep * 10)) + _root.bonuscog;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.vancer3.gotoAndPlay(2);
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
}
}
}
}
}
if (_root.player1 == 'Vance') {
if (Key.isDown(81)) {
if (_root.vanceenaccion == 0) {
if (_root.qcooldone >= _root.qcooldown) {
this.esta = 2;
this.pegaa = _root.pegara;
this.ejecutarq = 28;
_root.vanceenaccion = 1;
_root.qcooldone = 0;
}
}
} else {
if (Key.isDown(87)) {
if (_root.vanceenaccion == 0) {
if (_root.wcooldone >= _root.wcooldown) {
this.esta = 3;
this.pegaa = _root.pegara;
this.ejecutarw = 36;
_root.vanceenaccion = 1;
_root.wcooldone = 0;
}
}
} else {
if (Key.isDown(69)) {
if (_root.vanceenaccion == 0) {
if (_root.ecooldone >= _root.ecooldown) {
this.esta = 4;
this.pegaa = _root.pegara;
this.ejecutare = 45;
_root.vanceenaccion = 1;
_root.ecooldone = 0;
}
}
} else {
if (Key.isDown(82)) {
if (_root.vanceenaccion == 0) {
if (_root.player1orbs > 3 and _root.player1lvl > 11) {
this.esta = 7;
this.pegaa = _root.pegara;
this.ejecutarr = 64;
_root.vanceenaccion = 1;
_root.player1orbs = 0;
}
}
}
}
}
}
if (_root.player1golpeado == 1) {
this.esta = 5;
_root.vanceenaccion = 1;
}
if (_root.player1life < 1) {
this.esta = 6;
_root.vanceenaccion = 1;
}
if (_root.vanceenaccion == 0) {
this.esta = 1;
}
this.gotoAndStop(this.esta);
}
if (_root.player2 == 'Vance') {
if (Key.isDown(65)) {
if (_root.vanceenaccion == 0) {
if (_root.acooldone >= _root.acooldown) {
this.esta = 2;
this.pegaa = _root.pegara;
this.ejecutarq = 28;
_root.vanceenaccion = 1;
_root.acooldone = 0;
}
}
} else {
if (Key.isDown(83)) {
if (_root.vanceenaccion == 0) {
if (_root.scooldone >= _root.scooldown) {
this.esta = 3;
this.pegaa = _root.pegara;
this.ejecutarw = 36;
_root.vanceenaccion = 1;
_root.scooldone = 0;
}
}
} else {
if (Key.isDown(68)) {
if (_root.vanceenaccion == 0) {
if (_root.dcooldone >= _root.dcooldown) {
this.esta = 4;
this.pegaa = _root.pegara;
this.ejecutare = 45;
_root.vanceenaccion = 1;
_root.dcooldone = 0;
}
}
} else {
if (Key.isDown(70)) {
if (_root.vanceenaccion == 0) {
if (_root.player2orbs > 3 and _root.player2lvl > 11) {
this.esta = 7;
this.pegaa = _root.pegara;
this.ejecutarr = 64;
_root.vanceenaccion = 1;
_root.player2orbs = 0;
}
}
}
}
}
}
if (_root.player2golpeado == 1) {
this.esta = 5;
_root.vanceenaccion = 1;
}
if (_root.player2life < 1) {
this.esta = 6;
_root.vanceenaccion = 1;
}
if (_root.vanceenaccion == 0) {
this.esta = 1;
}
this.gotoAndStop(this.esta);
}
}
};
v2.esta = 1;
v2.ejecutarq = 0;
v2.pegaa = 0;
v2.ejecutarw = 0;
v2.ejecutare = 0;
v2.quemar = 0;
v2.ejecutarr = 0;
ASSetPropFlags(_global.vance.prototype, null, 1);
}
#endinitclip
}
movieClip 4298 __Packages.ridge {
#initclip
if (!_global.ridge) {
var v1 = function () {
super();
};
_global.ridge = v1;
_global.ridge extends MovieClip;
var v2 = v1.prototype;
v2.onEnterFrame = function () {
if (_root.iniciapelea == 1) {
if (_root.player1 == 'Ridge') {
this.damagep = _root.player1damagep;
this.healthp = _root.player1healthp;
this.cdp = _root.player1cdp;
} else {
if (_root.player2 == 'Ridge') {
this.damagep = _root.player2damagep;
this.healthp = _root.player2healthp;
this.cdp = _root.player2cdp;
}
}
if (this.ejecutarq > 0) {
this.ejecutarq -= 1;
if (this.ejecutarq == 6) {
if (this.pegaa == 1 and _root.goblinshieldesta != 1 and _root.invisible1 == 0) {
_root.enemigo1atacado = 1;
this.resta = Math.round(Math.random() * ((15 + this.damagep * 7) / 10) + (15 + this.damagep * 7)) + _root.bonuscog;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
_root.cantidadenemigos.ridgeq.gotoAndPlay(2);
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (this.pegaa == 2 and _root.goblinshieldesta != 2 and _root.invisible2 == 0) {
_root.enemigo2atacado = 1;
this.resta = Math.round(Math.random() * ((15 + this.damagep * 7) / 10) + (15 + this.damagep * 7)) + _root.bonuscog;
if (_root.malachiefecto == 1) {
_root.enemigo2vida -= -this.resta;
} else {
_root.enemigo2vida -= this.resta;
}
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
_root.cantidadenemigos.ridgeq2.gotoAndPlay(2);
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (this.pegaa == 3 and _root.goblinshieldesta != 3 and _root.invisible3 == 0) {
_root.enemigo3atacado = 1;
this.resta = Math.round(Math.random() * ((15 + this.damagep * 7) / 10) + (15 + this.damagep * 7)) + _root.bonuscog;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
_root.cantidadenemigos.ridgeq3.gotoAndPlay(2);
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
}
}
}
}
}
if (this.ejecutarw > 0) {
this.ejecutarw -= 1;
if (this.ejecutarw == 10) {
if (_root.player1 == 'Ridge' and _root.player1life > 0) {
_root.player1life += this.healthp * 5 + 5;
_root.curar1.gotoAndPlay(2);
_root.textoh1.play();
_root.textoh1.textodentro.valor.text = this.healthp * 5 + 5;
if (_root.player1life > _root.player1lifetotal) {
_root.player1life = _root.player1lifetotal;
}
} else {
if (_root.player2 == 'Ridge' and _root.player2life > 0) {
_root.player2life += this.healthp * 5 + 5;
_root.curar2.gotoAndPlay(2);
_root.textoh2.play();
_root.textoh2.textodentro.valor.text = this.healthp * 5 + 5;
if (_root.player2life > _root.player2lifetotal) {
_root.player2life = _root.player2lifetotal;
}
}
}
if (this.pegaa == 1 and _root.goblinshieldesta != 1 and _root.invisible1 == 0) {
_root.enemigo1atacado = 1;
this.resta = Math.round(Math.random() * ((40 + this.damagep * 5) / 10) + (40 + this.damagep * 5)) + _root.bonuscog;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
_root.cantidadenemigos.ridgew.gotoAndPlay(2);
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (this.pegaa == 2 and _root.goblinshieldesta != 2 and _root.invisible2 == 0) {
_root.enemigo2atacado = 1;
this.resta = Math.round(Math.random() * ((40 + this.damagep * 5) / 10) + (40 + this.damagep * 5)) + _root.bonuscog;
if (_root.malachiefecto == 1) {
_root.enemigo2vida -= -this.resta;
} else {
_root.enemigo2vida -= this.resta;
}
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
_root.cantidadenemigos.ridgew2.gotoAndPlay(2);
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (this.pegaa == 3 and _root.goblinshieldesta != 3 and _root.invisible3 == 0) {
_root.enemigo3atacado = 1;
this.resta = Math.round(Math.random() * ((40 + this.damagep * 5) / 10) + (40 + this.damagep * 5)) + _root.bonuscog;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
_root.cantidadenemigos.ridgew3.gotoAndPlay(2);
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
}
}
}
}
}
if (this.ejecutare > 0) {
this.ejecutare -= 1;
if (this.ejecutare == 5) {
if (this.pegaa == 1 and _root.goblinshieldesta != 1 and _root.invisible1 == 0) {
_root.enemigo1atacado = 1;
this.resta = Math.round(Math.random() * ((30 + this.damagep * 9) / 10) + (30 + this.damagep * 9)) + _root.bonuscog;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
_root.cantidadenemigos.ridgee.gotoAndPlay(2);
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (this.pegaa == 2 and _root.goblinshieldesta != 2 and _root.invisible2 == 0) {
_root.enemigo2atacado = 1;
this.resta = Math.round(Math.random() * ((30 + this.damagep * 9) / 10) + (30 + this.damagep * 9)) + _root.bonuscog;
if (_root.malachiefecto == 1) {
_root.enemigo2vida -= -this.resta;
} else {
_root.enemigo2vida -= this.resta;
}
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
_root.cantidadenemigos.ridgee2.gotoAndPlay(2);
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (this.pegaa == 3 and _root.goblinshieldesta != 3 and _root.invisible3 == 0) {
_root.enemigo3atacado = 1;
this.resta = Math.round(Math.random() * ((30 + this.damagep * 9) / 10) + (30 + this.damagep * 9)) + _root.bonuscog;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
_root.cantidadenemigos.ridgee3.gotoAndPlay(2);
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
}
}
}
}
}
if (this.ejecutarr > 0) {
this.ejecutarr -= 1;
if (this.ejecutarr == 5) {
if (this.pegaa == 1 and _root.goblinshieldesta != 1 and _root.invisible1 == 0) {
_root.enemigo1atacado = 1;
this.resta = Math.round(Math.random() * ((40 + this.damagep * 11) / 10) + (40 + this.damagep * 11)) + _root.bonuscog;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
_root.cantidadenemigos.ridger.gotoAndPlay(2);
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (this.pegaa == 2 and _root.goblinshieldesta != 2 and _root.invisible2 == 0) {
_root.enemigo2atacado = 1;
this.resta = Math.round(Math.random() * ((40 + this.damagep * 11) / 10) + (40 + this.damagep * 11)) + _root.bonuscog;
if (_root.malachiefecto == 1) {
_root.enemigo2vida -= -this.resta;
} else {
_root.enemigo2vida -= this.resta;
}
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
_root.cantidadenemigos.ridger2.gotoAndPlay(2);
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (this.pegaa == 3 and _root.goblinshieldesta != 3 and _root.invisible3 == 0) {
_root.enemigo3atacado = 1;
this.resta = Math.round(Math.random() * ((40 + this.damagep * 11) / 10) + (40 + this.damagep * 11)) + _root.bonuscog;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
_root.cantidadenemigos.ridger3.gotoAndPlay(2);
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
}
}
}
}
}
if (_root.player1 == 'Ridge') {
if (Key.isDown(81)) {
if (_root.player1enaccion == 0) {
if (_root.qcooldone >= _root.qcooldown) {
this.esta = 2;
this.pegaa = _root.pegara;
this.ejecutarq = 17;
_root.player1enaccion = 1;
_root.qcooldone = 0;
}
}
} else {
if (Key.isDown(87)) {
if (_root.player1enaccion == 0) {
if (_root.wcooldone >= _root.wcooldown) {
this.esta = 3;
this.pegaa = _root.pegara;
this.ejecutarw = 17;
_root.player1enaccion = 1;
_root.wcooldone = 0;
}
}
} else {
if (Key.isDown(69)) {
if (_root.player1enaccion == 0) {
if (_root.ecooldone >= _root.ecooldown) {
this.esta = 4;
this.pegaa = _root.pegara;
this.ejecutare = 24;
_root.player1enaccion = 1;
_root.ecooldone = 0;
}
}
} else {
if (Key.isDown(82)) {
if (_root.player1enaccion == 0) {
if (_root.player1orbs > 3 and _root.player1lvl > 11) {
this.esta = 7;
this.pegaa = _root.pegara;
this.ejecutarr = 44;
_root.player1enaccion = 1;
_root.player1orbs = 0;
}
}
}
}
}
}
if (_root.player1golpeado == 1) {
this.esta = 5;
_root.player1enaccion = 1;
}
if (_root.player1life < 1) {
this.esta = 6;
_root.player1enaccion = 1;
}
if (_root.player1enaccion == 0) {
this.esta = 1;
}
this.gotoAndStop(this.esta);
}
if (_root.player2 == 'Ridge') {
if (Key.isDown(65)) {
if (_root.player2enaccion == 0) {
if (_root.acooldone >= _root.acooldown) {
this.esta = 2;
this.pegaa = _root.pegara;
this.ejecutarq = 17;
_root.player2enaccion = 1;
_root.acooldone = 0;
}
}
} else {
if (Key.isDown(83)) {
if (_root.player2enaccion == 0) {
if (_root.scooldone >= _root.scooldown) {
this.esta = 3;
this.pegaa = _root.pegara;
this.ejecutarw = 17;
_root.player2enaccion = 1;
_root.scooldone = 0;
}
}
} else {
if (Key.isDown(68)) {
if (_root.player2enaccion == 0) {
if (_root.dcooldone >= _root.dcooldown) {
this.esta = 4;
this.pegaa = _root.pegara;
this.ejecutare = 24;
_root.player2enaccion = 1;
_root.dcooldone = 0;
}
}
} else {
if (Key.isDown(70)) {
if (_root.player2enaccion == 0) {
if (_root.player2orbs > 3 and _root.player2lvl > 11) {
this.esta = 7;
this.pegaa = _root.pegara;
this.ejecutarr = 44;
_root.player2enaccion = 1;
_root.player2orbs = 0;
}
}
}
}
}
}
if (_root.player2golpeado == 1) {
this.esta = 5;
_root.player2enaccion = 1;
}
if (_root.player2life < 1) {
this.esta = 6;
_root.player2enaccion = 1;
}
if (_root.player2enaccion == 0) {
this.esta = 1;
}
this.gotoAndStop(this.esta);
}
}
};
v2.esta = 1;
v2.ejecutarq = 0;
v2.pegaa = 0;
v2.ejecutarw = 0;
v2.ejecutare = 0;
v2.ejecutarr = 0;
ASSetPropFlags(_global.ridge.prototype, null, 1);
}
#endinitclip
}
movieClip 4299 __Packages.ejecutarenemigos3 {
#initclip
if (!_global.ejecutarenemigos3) {
var v1 = function () {
super();
};
_global.ejecutarenemigos3 = v1;
_global.ejecutarenemigos3 extends MovieClip;
var v2 = v1.prototype;
v2.onEnterFrame = function () {
if (_root.misiones[9][0] == 0 and _root.misiones[9][1] > 14) {
_root.misiones[9][0] = 1;
}
if (_root.iniciapelea == 1) {
if (this.dioexp1 == 0) {
if (_root.enemigo1vida > 0) {
this.dioexp1 = 1;
} else {
this.dioexp1 = 2;
}
}
if (this.dioexp2 == 0) {
if (_root.enemigo2vida > 0) {
this.dioexp2 = 1;
} else {
this.dioexp2 = 2;
}
}
if (this.dioexp3 == 0) {
if (_root.enemigo3vida > 0) {
this.dioexp3 = 1;
} else {
this.dioexp3 = 2;
}
}
if (this.dioexp1 == 1) {
if (_root.enemigo1vida == 0) {
this.dioexp1 = 2;
if (_root.enemigo1 == 'Puddlefin Warrior') {
_root.player1exptoload += Math.round(Math.random() * 5 + 1);
_root.player2exptoload += Math.round(Math.random() * 5 + 1);
} else {
if (_root.enemigo1 == 'Puddlefin Shaman') {
_root.player1exptoload += Math.round(Math.random() * 6 + 1);
_root.player2exptoload += Math.round(Math.random() * 6 + 1);
} else {
if (_root.enemigo1 == 'Puddlefin Oracle') {
++_root.misiones[9][1];
_root.player1exptoload += Math.round(Math.random() * 6 + 1);
_root.player2exptoload += Math.round(Math.random() * 6 + 1);
} else {
if (_root.enemigo1 == 'Lyle') {
_root.player1exptoload += Math.round(Math.random() * 3 + 3);
_root.player2exptoload += Math.round(Math.random() * 3 + 3);
} else {
if (_root.enemigo1 == 'Jevynn') {
_root.player1exptoload += Math.round(Math.random() * 16 + 10);
_root.player2exptoload += Math.round(Math.random() * 16 + 10);
} else {
if (_root.enemigo1 == 'Thalquin') {
_root.player1exptoload += Math.round(Math.random() * 10 + 5);
_root.player2exptoload += Math.round(Math.random() * 10 + 5);
}
}
}
}
}
}
}
}
if (this.dioexp2 == 1) {
if (_root.enemigo2vida == 0) {
this.dioexp2 = 2;
if (_root.enemigo2 == 'Puddlefin Warrior') {
_root.player1exptoload += Math.round(Math.random() * 5 + 1);
_root.player2exptoload += Math.round(Math.random() * 5 + 1);
} else {
if (_root.enemigo2 == 'Puddlefin Shaman') {
_root.player1exptoload += Math.round(Math.random() * 6 + 1);
_root.player2exptoload += Math.round(Math.random() * 6 + 1);
} else {
if (_root.enemigo2 == 'Puddlefin Oracle') {
++_root.misiones[9][1];
_root.player1exptoload += Math.round(Math.random() * 6 + 1);
_root.player2exptoload += Math.round(Math.random() * 6 + 1);
}
}
}
}
}
if (this.dioexp3 == 1) {
if (_root.enemigo3vida == 0) {
this.dioexp3 = 2;
if (_root.enemigo3 == 'Puddlefin Warrior') {
_root.player1exptoload += Math.round(Math.random() * 5 + 1);
_root.player2exptoload += Math.round(Math.random() * 5 + 1);
} else {
if (_root.enemigo3 == 'Puddlefin Shaman') {
_root.player1exptoload += Math.round(Math.random() * 6 + 1);
_root.player2exptoload += Math.round(Math.random() * 6 + 1);
} else {
if (_root.enemigo3 == 'Puddlefin Oracle') {
++_root.misiones[9][1];
_root.player1exptoload += Math.round(Math.random() * 6 + 1);
_root.player2exptoload += Math.round(Math.random() * 6 + 1);
}
}
}
}
}
if (_root.enemigo1 == 'Puddlefin Warrior') {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
this.lepegaroncooldown = 5;
}
if (this.lepegaroncooldown > 0) {
this.lepegaroncooldown -= 1;
} else {
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = 295;
this.ataquecooldown1 = 294;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 > 207 and this.ataquecooldown1 < 222) {
_root.enemigo1atacando = 1;
} else {
_root.enemigo1atacando = 0;
}
if (this.ataquecooldown1 == 217) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(45) + 40);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(45) + 40);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(45) + 40);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(45) + 40);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
} else {
if (this.ataquecooldown1 == 135) {
_root.invisible1 = 1;
} else {
if (this.ataquecooldown1 == 1) {
_root.saliendo1puddle = 0;
} else {
if (this.ataquecooldown1 == 15) {
_root.invisible1 = 0;
_root.saliendo1puddle = 1;
}
}
}
}
} else {
_root.enemigo1atacando = 0;
}
}
}
}
} else {
if (_root.enemigo1 == 'Lyle') {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
this.lepegaroncooldown = 5;
}
if (this.lepegaroncooldown > 0) {
this.lepegaroncooldown -= 1;
} else {
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(240) + 60);
}
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(240) + 60);
this.ataquecooldown1 = 17;
_root.enemigo1atacando = 1;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 == 11) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(15) + 25);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(15) + 25);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(15) + 25);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(15) + 25);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo1atacando = 0;
}
}
}
}
} else {
if (_root.enemigo1 == 'Jevynn') {
if (_root.estadojevynn == 1 and this.jevynncooldown > 0 and _root.enemigo1vida > 3000) {
this.jevynncooldown -= 1;
_root.estadojevynn = 1;
} else {
if (_root.enemigo1vida > 3000) {
if (this.jevynncooldown == 0) {
this.jevynncooldown = 36;
}
if (_root.enemigo1atacado == 1) {
this.lepegaroncooldown = 5;
}
if (this.lepegaroncooldown > 99) {
this.lepegaroncooldown -= 1;
} else {
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(240) + 60);
}
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(240) + 60);
this.ataquecooldown1 = 17;
_root.enemigo1atacando = 1;
_root.estadojevynn = 3;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 == 9) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(30) + 25);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 25);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 25);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(30) + 25);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.estadojevynn = 2;
_root.enemigo1atacando = 0;
}
}
}
} else {
if (this.jevynncooldown > 0) {
this.jevynncooldown -= 1;
if (this.jevynncooldown > 23) {
_root.estadojevynn = 5;
} else {
if (this.jevynncooldown > 2) {
_root.estadojevynn = 6;
} else {
this.jevynncooldown = 0;
}
}
} else {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
this.lepegaroncooldown = 5;
}
if (this.lepegaroncooldown > 99) {
this.lepegaroncooldown -= 1;
} else {
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(240) + 120);
}
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(240) + 120);
this.ataquecooldown1 = 15;
_root.enemigo1atacando = 1;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (_root.enemigo2vida < 1) {
_root.estadojevynn = 10;
if (this.ataquecooldown1 == 1) {
_root.enemigo2vida = 850;
_root.enemigo2 = 'Puddlefin Oracle';
_root.cantidadenemigos.enemigo2.gotoAndStop(13);
}
} else {
_root.estadojevynn = 8;
if (this.ataquecooldown1 == 4) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(80) + 40);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(80) + 40);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(80) + 40);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(80) + 40);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
if (this.ataquecooldown1 == 9) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(80) + 20);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(80) + 20);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(80) + 20);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(80) + 20);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
}
} else {
_root.estadojevynn = 7;
_root.enemigo1atacando = 0;
}
}
}
}
}
}
}
} else {
if (_root.enemigo1 == 'Thalquin') {
if (_root.enemigo1vida > 0 and _root.enemigo1vida < 500) {
_root.enemigo1vida = 500;
}
if (_root.enemigo1vida > 500) {
if (_root.enemigo1atacado == 1) {
this.lepegaroncooldown = 5;
}
if (this.lepegaroncooldown > 0) {
this.lepegaroncooldown -= 1;
} else {
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = 396;
this.ataquecooldown1 = 396;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 > 335 and this.ataquecooldown1 < 348) {
_root.enemigo1atacando = 1;
} else {
if (this.ataquecooldown1 > 245 and this.ataquecooldown1 < 263) {
_root.enemigo1atacando = 3;
} else {
if (this.ataquecooldown1 > 138 and this.ataquecooldown1 < 149) {
_root.enemigo1atacando = 2;
} else {
if (this.ataquecooldown1 > 1 and this.ataquecooldown1 < 18) {
_root.enemigo1atacando = 3;
} else {
_root.enemigo1atacando = 0;
}
}
}
}
if (this.ataquecooldown1 == 343) {
this.atacara = Math.round(Math.random() * 2);
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(20) + 30);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(20) + 30);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (this.ataquecooldown1 == 253 or this.ataquecooldown1 == 8) {
_root.enemigo1vida += 50;
} else {
if (this.ataquecooldown1 == 136) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(50) + 40);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(50) + 40);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(50) + 40);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(50) + 40);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
}
}
} else {
_root.enemigo1atacando = 0;
}
}
}
}
}
}
}
}
if (_root.enemigo2 == 'Puddlefin Warrior') {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
this.lepegaroncooldown2 = 5;
}
if (this.lepegaroncooldown2 > 0) {
this.lepegaroncooldown2 -= 1;
} else {
this.cooldown2 -= 1;
if (this.cooldown2 < 0) {
this.cooldown2 = 295;
this.ataquecooldown2 = 294;
} else {
if (this.ataquecooldown2 > 0) {
this.ataquecooldown2 -= 1;
if (this.ataquecooldown2 > 207 and this.ataquecooldown2 < 222) {
_root.enemigo2atacando = 1;
} else {
_root.enemigo2atacando = 0;
}
if (this.ataquecooldown2 == 217) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(45) + 40);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(45) + 40);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(45) + 40);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(45) + 40);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
} else {
if (this.ataquecooldown2 == 135) {
_root.invisible2 = 1;
} else {
if (this.ataquecooldown2 == 1) {
_root.saliendo2puddle = 0;
} else {
if (this.ataquecooldown2 == 15) {
_root.invisible2 = 0;
_root.saliendo2puddle = 1;
}
}
}
}
} else {
_root.enemigo2atacando = 0;
}
}
}
}
} else {
if (_root.enemigo2 == 'Puddlefin Oracle') {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
this.lepegaroncooldown2 = 5;
}
if (this.lepegaroncooldown2 > 0) {
this.lepegaroncooldown2 -= 1;
} else {
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(240) + 60);
}
this.cooldown2 -= 1;
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(240) + 60);
if (this.swifthold2 == 1) {
this.ataquecooldown2 = 10;
_root.enemigo2atacando = 1;
} else {
this.ataquecooldown2 = 17;
_root.enemigo2atacando = 2;
}
} else {
if (this.ataquecooldown2 > 0) {
this.ataquecooldown2 -= 1;
if (this.swifthold2 == 1) {
if (this.ataquecooldown2 == 5) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(10) + 15);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(10) + 15);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(10) + 15);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(10) + 15);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
if (this.swifthold2 == 2) {
if (this.ataquecooldown2 == 12) {
if (_root.enemigo1vida < _root.enemigo1vidatotal and _root.enemigo1vidatotal > 1 and _root.enemigo1vida > 0) {
_root.enemigo1vida += 80;
_root.cantidadenemigos.oracle1.play();
if (_root.enemigo1vida > _root.enemigo1vidatotal) {
_root.enemigo1vida = _root.enemigo1vidatotal;
}
} else {
if (_root.enemigo2vida < _root.enemigo2vidatotal and _root.enemigo2vidatotal > 1 and _root.enemigo2vida > 0) {
_root.enemigo2vida += 80;
_root.cantidadenemigos.oracle2.play();
if (_root.enemigo2vida > _root.enemigo2vidatotal) {
_root.enemigo2vida = _root.enemigo2vidatotal;
}
} else {
if (_root.enemigo3vida < _root.enemigo3vidatotal and _root.enemigo3vidatotal > 1 and _root.enemigo3vida > 0) {
_root.enemigo3vida += 80;
_root.cantidadenemigos.oracle3.play();
if (_root.enemigo3vida > _root.enemigo3vidatotal) {
_root.enemigo3vida = _root.enemigo3vidatotal;
}
}
}
}
}
}
}
} else {
if (_root.enemigo1vida > 0 and _root.enemigo1vida < _root.enemigo1vidatotal) {
this.swifthold2 = 2;
} else {
this.swifthold2 = 1;
}
_root.enemigo2atacando = 0;
}
}
}
}
} else {
if (_root.enemigo2 == 'Puddlefin Shaman') {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
this.lepegaroncooldown2 = 5;
}
if (this.lepegaroncooldown2 > 0) {
this.lepegaroncooldown2 -= 1;
} else {
this.cooldown2 -= 1;
if (this.cooldown2 < 0) {
this.cooldown2 = 229;
this.ataquecooldown2 = 229;
} else {
if (this.ataquecooldown2 > 0) {
this.ataquecooldown2 -= 1;
if (this.ataquecooldown2 > 181 and this.ataquecooldown2 < 193) {
_root.enemigo2atacando = 1;
} else {
_root.enemigo2atacando = 0;
}
if (this.ataquecooldown2 == 189) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(70) + 55);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.shaman1.play();
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(70) + 55);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.shaman2.play();
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(70) + 55);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
_root.shaman2.play();
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(70) + 55);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
_root.shaman1.play();
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
} else {
if (this.ataquecooldown2 == 157) {
_root.invisible2 = 1;
} else {
if (this.ataquecooldown2 == 1) {
_root.saliendo2puddle = 0;
} else {
if (this.ataquecooldown2 == 13) {
_root.invisible2 = 0;
_root.saliendo2puddle = 1;
}
}
}
}
} else {
_root.enemigo2atacando = 0;
}
}
}
}
}
}
}
if (_root.enemigo3 == 'Puddlefin Oracle') {
if (_root.enemigo3vida > 0) {
if (_root.enemigo3atacado == 1) {
this.lepegaroncooldown3 = 5;
}
if (this.lepegaroncooldown3 > 0) {
this.lepegaroncooldown3 -= 1;
} else {
if (this.cooldown3 < 0) {
this.cooldown3 = Math.round(random(240) + 60);
}
this.cooldown3 -= 1;
if (this.cooldown3 < 0) {
this.cooldown3 = Math.round(random(240) + 60);
if (this.swifthold3 == 1) {
this.ataquecooldown3 = 10;
_root.enemigo3atacando = 1;
} else {
this.ataquecooldown3 = 17;
_root.enemigo3atacando = 2;
}
} else {
if (this.ataquecooldown3 > 0) {
this.ataquecooldown3 -= 1;
if (this.swifthold3 == 1) {
if (this.ataquecooldown3 == 5) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(10) + 15);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(10) + 15);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(10) + 15);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(10) + 15);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
if (this.swifthold3 == 2) {
if (this.ataquecooldown3 == 12) {
if (_root.enemigo1vida < _root.enemigo1vidatotal and _root.enemigo1vidatotal > 1 and _root.enemigo1vida > 0) {
_root.enemigo1vida += 80;
_root.cantidadenemigos.oracle1.play();
if (_root.enemigo1vida > _root.enemigo1vidatotal) {
_root.enemigo1vida = _root.enemigo1vidatotal;
}
} else {
if (_root.enemigo2vida < _root.enemigo2vidatotal and _root.enemigo2vidatotal > 1 and _root.enemigo2vida > 0) {
_root.enemigo2vida += 80;
_root.cantidadenemigos.oracle2.play();
if (_root.enemigo2vida > _root.enemigo2vidatotal) {
_root.enemigo2vida = _root.enemigo2vidatotal;
}
} else {
if (_root.enemigo3vida < _root.enemigo3vidatotal and _root.enemigo3vidatotal > 1 and _root.enemigo3vida > 0) {
_root.enemigo3vida += 80;
_root.cantidadenemigos.oracle3.play();
if (_root.enemigo3vida > _root.enemigo3vidatotal) {
_root.enemigo3vida = _root.enemigo3vidatotal;
}
}
}
}
}
}
}
} else {
if (_root.enemigo1vida > 0 and _root.enemigo1vida < _root.enemigo1vidatotal) {
this.swifthold3 = 2;
} else {
this.swifthold3 = 1;
}
_root.enemigo3atacando = 0;
}
}
}
}
}
}
};
v2.cooldown1 = 0;
v2.ataquecooldown1 = 0;
v2.ataquecooldown2 = 0;
v2.ataquecooldown3 = 0;
v2.cooldown2 = 0;
v2.cooldown3 = 0;
v2.lepegaroncooldown = 0;
v2.lepegaroncooldown2 = 0;
v2.lepegaroncooldown3 = 0;
v2.downpresionado = 0;
v2.uppresionado = 0;
v2.atacara = 0;
v2.dioexp1 = 0;
v2.dioexp2 = 0;
v2.dioexp3 = 0;
v2.guardarvida = 0;
v2.resta = 0;
v2.invisibleguardarvida1 = 0;
v2.invisibleguardarvida2 = 0;
v2.invisibleguardarvida3 = 0;
v2.swifthold1 = 1;
v2.swifthold2 = 1;
v2.swifthold3 = 1;
v2.jevynncooldown = 17;
ASSetPropFlags(_global.ejecutarenemigos3.prototype, null, 1);
}
#endinitclip
}
movieClip 4300 __Packages.quality {
#initclip
if (!_global.quality) {
var v1 = function () {
super();
};
_global.quality = v1;
_global.quality extends MovieClip;
var v2 = v1.prototype;
v2.onLoad = function () {
this.freeze = 30;
};
v2.onEnterFrame = function () {
this.freeze += 1;
if (this.freeze > 20) {
if (Key.isDown(71)) {
this.freeze = 0;
if (this._quality == 'HIGH') {
this._quality = 'MEDIUM';
} else {
if (this._quality == 'MEDIUM') {
this._quality = 'LOW';
} else {
this._quality = 'HIGH';
}
}
}
}
};
ASSetPropFlags(_global.quality.prototype, null, 1);
}
#endinitclip
}
movieClip 4301 __Packages.music {
#initclip
if (!_global.music) {
var v1 = function () {
super();
};
_global.music = v1;
_global.music extends MovieClip;
var v2 = v1.prototype;
v2.onLoad = function () {
this.fire = 0;
};
v2.onEnterFrame = function () {
if (Key.isDown(86)) {
if (this.fire == 0) {
this.fire = 1;
if (_root.jukebox.getVolume() > 0) {
_root.jukebox.setVolume(0);
} else {
_root.jukebox.setVolume(100);
}
}
} else {
this.fire = 0;
}
};
ASSetPropFlags(_global.music.prototype, null, 1);
}
#endinitclip
}
movieClip 4302 __Packages.ejecutarenemigos5 {
#initclip
if (!_global.ejecutarenemigos5) {
var v1 = function () {
super();
};
_global.ejecutarenemigos5 = v1;
_global.ejecutarenemigos5 extends MovieClip;
var v2 = v1.prototype;
v2.onEnterFrame = function () {
if (_root.misiones[17][0] == 0 and _root.misiones[17][1] > 9) {
_root.misiones[17][0] = 1;
}
if (_root.totem1 > 0 and _root.enemigo1vida < 1) {
_root.totem1 = 0;
}
if (_root.totem3 > 0 and _root.enemigo3vida < 1) {
_root.totem3 = 0;
}
if (_root.totem2 > 0 and _root.enemigo2vida < 1) {
_root.totem2 = 0;
}
if (_root.iniciapelea == 1) {
if (this.dioexp1 == 0) {
if (_root.enemigo1vida > 0) {
this.dioexp1 = 1;
} else {
this.dioexp1 = 2;
}
}
if (this.dioexp2 == 0) {
if (_root.enemigo2vida > 0) {
this.dioexp2 = 1;
} else {
this.dioexp2 = 2;
}
}
if (this.dioexp3 == 0) {
if (_root.enemigo3vida > 0) {
this.dioexp3 = 1;
} else {
this.dioexp3 = 2;
}
}
if (this.dioexp1 == 1) {
if (_root.enemigo1vida == 0 and _root.enemigo1 != 'Secreto') {
this.dioexp1 = 2;
if (_root.enemigo1 == 'Hell') {
_root.player1exptoload += Math.round(Math.random() * 8 + 2);
_root.player2exptoload += Math.round(Math.random() * 8 + 2);
} else {
if (_root.enemigo1 == 'Servant') {
_root.player1exptoload += Math.round(Math.random() * 10 + 3);
_root.player2exptoload += Math.round(Math.random() * 10 + 3);
} else {
if (_root.enemigo1 == 'Spawn') {
_root.player1exptoload += Math.round(Math.random() * 15 + 4);
_root.player2exptoload += Math.round(Math.random() * 15 + 4);
} else {
if (_root.enemigo1 == 'Greshix') {
_root.player1exptoload += Math.round(Math.random() * 15 + 8);
_root.player2exptoload += Math.round(Math.random() * 15 + 8);
} else {
if (_root.enemigo1 == 'Batheel') {
_root.player1exptoload += Math.round(Math.random() * 15 + 8);
_root.player2exptoload += Math.round(Math.random() * 15 + 8);
} else {
if (_root.enemigo1 == 'Jor') {
_root.player1exptoload += Math.round(Math.random() * 5 + 5);
_root.player2exptoload += Math.round(Math.random() * 5 + 5);
} else {
if (_root.enemigo1 == 'Larris') {
_root.player1exptoload += Math.round(Math.random() * 30 + 15);
_root.player2exptoload += Math.round(Math.random() * 30 + 15);
}
}
}
}
}
}
}
}
}
if (this.dioexp2 == 1) {
if (_root.enemigo2vida == 0 and _root.enemigo2 != 'Secreto') {
this.dioexp2 = 2;
if (_root.enemigo2 == 'Hell') {
_root.player1exptoload += Math.round(Math.random() * 8 + 2);
_root.player2exptoload += Math.round(Math.random() * 8 + 2);
} else {
if (_root.enemigo2 == 'Servant') {
_root.player1exptoload += Math.round(Math.random() * 10 + 3);
_root.player2exptoload += Math.round(Math.random() * 10 + 3);
}
}
}
}
if (this.dioexp3 == 1) {
if (_root.enemigo3vida == 0 and _root.enemigo3 != 'Secreto') {
this.dioexp3 = 2;
if (_root.enemigo3 == 'Hell') {
_root.player1exptoload += Math.round(Math.random() * 8 + 2);
_root.player2exptoload += Math.round(Math.random() * 8 + 2);
} else {
if (_root.enemigo3 == 'Servant') {
_root.player1exptoload += Math.round(Math.random() * 10 + 3);
_root.player2exptoload += Math.round(Math.random() * 10 + 3);
}
}
}
}
if (_root.enemigo1 == 'Hell') {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
this.lepegaroncooldown = 5;
}
if (this.lepegaroncooldown > 0) {
this.lepegaroncooldown -= 1;
} else {
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = 221;
this.ataquecooldown1 = 221;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 > 163 and this.ataquecooldown1 < 173) {
if (_root.enemigo2vida < 1 and _root.enemigo3vida < 1 and _root.totem2 < 5 and _root.totem3 < 5) {
_root.enemigo1atacando = 1;
} else {
_root.enemigo1atacando = 2;
}
_root.enemigo1atacando = 1;
} else {
_root.enemigo1atacando = 0;
}
if (this.ataquecooldown1 == 168) {
if (_root.enemigo2vida < 1 and _root.enemigo3vida < 1 and _root.totem2 < 5 and _root.totem3 < 5) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(30) + 15);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 15);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 15);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(30) + 15);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
} else {
if (_root.enemigo2vida > 0 and _root.totem2 < 5) {
_root.totem2 += 1;
} else {
if (_root.enemigo3vida > 0 and _root.totem3 < 5) {
_root.totem3 += 1;
}
}
}
} else {
if (this.ataquecooldown1 == 115) {
_root.invisible1 = 1;
} else {
if (this.ataquecooldown1 == 1) {
_root.saliendo1puddle = 0;
} else {
if (this.ataquecooldown1 == 7) {
_root.invisible1 = 0;
_root.saliendo1puddle = 1;
}
}
}
}
} else {
_root.enemigo1atacando = 0;
}
}
}
}
} else {
if (_root.enemigo1 == 'Servant') {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
this.lepegaroncooldown = 5;
}
if (this.lepegaroncooldown > 0) {
this.lepegaroncooldown -= 1;
} else {
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(120) + 48);
}
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(120) + 48);
this.ataquecooldown1 = 18;
_root.enemigo1atacando = 1;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 == 12) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(65) + 35 + _root.totem1 * 5);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(65) + 35 + _root.totem1 * 5);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(65) + 35 + _root.totem1 * 5);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(65) + 35 + _root.totem1 * 5);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo1atacando = 0;
}
}
}
}
} else {
if (_root.enemigo1 == 'Spawn') {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
this.lepegaroncooldown = 5;
}
if (this.lepegaroncooldown > 0) {
this.lepegaroncooldown -= 1;
} else {
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(120) + 240);
}
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(120) + 240);
this.ataquecooldown1 = 17;
_root.enemigo1atacando = 1;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 == 12) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(65) + 35 + _root.totem1 * 5);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
_root.shock1.play();
_root.qcooldone -= 5;
_root.wcooldone -= 5;
_root.ecooldone -= 5;
if (_root.qcooldone < 0) {
_root.qcooldone = 0;
}
if (_root.wcooldone < 0) {
_root.wcooldone = 0;
}
if (_root.ecooldone < 0) {
_root.ecooldone = 0;
}
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(65) + 35 + _root.totem1 * 5);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.shock2.play();
_root.acooldone -= 5;
_root.scooldone -= 5;
_root.dcooldone -= 5;
if (_root.acooldone < 0) {
_root.acooldone = 0;
}
if (_root.scooldone < 0) {
_root.scooldone = 0;
}
if (_root.dcooldone < 0) {
_root.dcooldone = 0;
}
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
_root.enemigo1atacando = 0;
}
}
}
}
} else {
if (_root.enemigo1 == 'Greshix') {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
this.lepegaroncooldown = 5;
}
if (this.lepegaroncooldown > 0) {
this.lepegaroncooldown -= 1;
} else {
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(240) + 120);
}
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(240) + 120);
this.ataquecooldown1 = 16;
_root.enemigo1atacando = 1;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 == 6) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(100) + 50 + _root.totem1 * 5);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
_root.shock1.play();
_root.qcooldone -= 5;
_root.wcooldone -= 5;
_root.ecooldone -= 5;
if (_root.qcooldone < 0) {
_root.qcooldone = 0;
}
if (_root.wcooldone < 0) {
_root.wcooldone = 0;
}
if (_root.ecooldone < 0) {
_root.ecooldone = 0;
}
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(65) + 35 + _root.totem1 * 5);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.shock2.play();
_root.acooldone -= 5;
_root.scooldone -= 5;
_root.dcooldone -= 5;
if (_root.acooldone < 0) {
_root.acooldone = 0;
}
if (_root.scooldone < 0) {
_root.scooldone = 0;
}
if (_root.dcooldone < 0) {
_root.dcooldone = 0;
}
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
_root.enemigo1atacando = 0;
}
}
}
}
} else {
if (_root.enemigo1 == 'Batheel') {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
this.lepegaroncooldown = 5;
}
if (this.lepegaroncooldown > 0) {
this.lepegaroncooldown -= 1;
} else {
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(96) + 24);
}
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(96) + 24);
this.ataquecooldown1 = 26;
_root.enemigo1atacando = 1;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 == 20) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(100) + 50 + _root.totem1 * 5);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
_root.batheel1.play();
_root.enemigo1vida += this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(100) + 50 + _root.totem1 * 5);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
_root.batheel2.play();
_root.enemigo1vida += this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(100) + 50 + _root.totem1 * 5);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
_root.batheel2.play();
_root.enemigo1vida += this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(100) + 50 + _root.totem1 * 5);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
_root.batheel1.play();
_root.enemigo1vida += this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo1atacando = 0;
}
}
}
}
} else {
if (_root.enemigo1 == 'Jor') {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
this.lepegaroncooldown = 5;
}
if (this.lepegaroncooldown > 0) {
this.lepegaroncooldown -= 1;
} else {
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(168) + 36);
}
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = Math.round(random(168) + 36);
this.ataquecooldown1 = 13;
_root.enemigo1atacando = 1;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 == 7) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(15) + 30);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(15) + 30);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(15) + 30);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(15) + 30);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo1atacando = 0;
}
}
}
}
} else {
if (_root.enemigo1 == 'Larris') {
if (_root.enemigo1vida > 0 and _root.extralarris == 1) {
if (this.lepegaroncooldown > 0) {
this.lepegaroncooldown -= 1;
} else {
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = 233;
this.ataquecooldown1 = 233;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 > 174 and this.ataquecooldown1 < 185) {
_root.enemigo1atacando = 2;
} else {
if (this.ataquecooldown1 > 123 and this.ataquecooldown1 < 150) {
_root.enemigo1atacando = 3;
} else {
if (this.ataquecooldown1 > 88 and this.ataquecooldown1 < 99) {
_root.enemigo1atacando = 2;
} else {
if (this.ataquecooldown1 > 51 and this.ataquecooldown1 < 64) {
_root.enemigo1atacando = 4;
} else {
if (this.ataquecooldown1 > 0 and this.ataquecooldown1 < 27) {
_root.enemigo1atacando = 3;
} else {
_root.enemigo1atacando = 0;
}
}
}
}
}
if (this.ataquecooldown1 == 179 or this.ataquecooldown1 == 93) {
this.atacara = Math.round(Math.random() * 1);
if (this.atacara == 0) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(40) + 40);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(40) + 40);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(40) + 40);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(40) + 40);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
} else {
if (this.ataquecooldown1 == 141 or this.ataquecooldown1 == 18) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(40) + 40);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
_root.larristrueno1.play();
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(40) + 40);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
_root.larristrueno2.play();
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (this.ataquecooldown1 == 58) {
_root.escudolarris = 1;
_root.invisible1 = 1;
} else {
if (this.ataquecooldown1 == 1) {
_root.escudolarris = 0;
_root.invisible1 = 0;
}
}
}
}
} else {
_root.enemigo1atacando = 0;
}
}
}
} else {
if (_root.enemigo1vida < 1 and _root.extralarris == 1) {
if (this.larriscooldown < 35) {
_root.enemigo1atacando = 7;
this.larriscooldown -= 1;
} else {
if (this.larriscooldown < 1) {
_root.enemigo1vida = 1250;
_root.enemigo1vidatotal = 1250;
_root.extralarris = 0;
} else {
this.larriscooldown -= 1;
_root.enemigo1atacando = 6;
}
}
} else {
if (_root.enemigo1vida > 1) {
if (this.lepegaroncooldown > 0) {
this.lepegaroncooldown -= 1;
} else {
this.cooldown1 -= 1;
if (this.cooldown1 < 0) {
this.cooldown1 = 82;
this.ataquecooldown1 = 82;
} else {
if (this.ataquecooldown1 > 0) {
this.ataquecooldown1 -= 1;
if (this.ataquecooldown1 > 54 and this.ataquecooldown1 < 70) {
_root.enemigo1atacando = 9;
} else {
if (this.ataquecooldown1 > 26 and this.ataquecooldown1 < 42) {
_root.enemigo1atacando = 9;
} else {
if (this.ataquecooldown1 > 0 and this.ataquecooldown1 < 14) {
_root.enemigo1atacando = 10;
} else {
_root.enemigo1atacando = 0;
}
}
}
if (this.ataquecooldown1 == 64 or this.ataquecooldown1 == 36) {
this.atacara = Math.round(Math.random() * 1);
if (this.atacara == 0) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(80) + 50);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(80) + 50);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(80) + 50);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo1vida -= this.resta;
_root.cantidadenemigos.textode1.play();
_root.cantidadenemigos.textode1.textodentro.valor.text = this.resta;
if (_root.enemigo1vida < 0) {
_root.enemigo1vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(80) + 50);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
} else {
if (this.ataquecooldown1 == 8) {
_root.enemigo1vida += 100;
_root.larrisheal.play();
}
}
} else {
_root.enemigo1atacando = 0;
}
}
}
} else {
_root.enemigo1atacando = 12;
}
}
}
}
}
}
}
}
}
}
if (_root.enemigo2 == 'Hell') {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
this.lepegaroncooldown2 = 5;
}
if (this.lepegaroncooldown2 > 0) {
this.lepegaroncooldown2 -= 1;
} else {
this.cooldown2 -= 1;
if (this.cooldown2 < 0) {
this.cooldown2 = 221;
this.ataquecooldown2 = 221;
} else {
if (this.ataquecooldown2 > 0) {
this.ataquecooldown2 -= 1;
if (this.ataquecooldown2 > 163 and this.ataquecooldown2 < 173) {
if (_root.enemigo1vida < 1 and _root.enemigo3vida < 1 and _root.totem1 < 5 and _root.totem3 < 5) {
_root.enemigo2atacando = 1;
} else {
_root.enemigo2atacando = 2;
}
_root.enemigo2atacando = 1;
} else {
_root.enemigo2atacando = 0;
}
if (this.ataquecooldown2 == 168) {
if (_root.enemigo1vida < 1 and _root.enemigo3vida < 1 and _root.totem1 < 5 and _root.totem3 < 5) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(30) + 15);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 15);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 15);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(30) + 15);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
} else {
if (_root.enemigo1vida > 0 and _root.totem1 < 5) {
_root.totem1 += 1;
} else {
if (_root.enemigo3vida > 0 and _root.totem3 < 5) {
_root.totem3 += 1;
}
}
}
} else {
if (this.ataquecooldown2 == 115) {
_root.invisible2 = 1;
} else {
if (this.ataquecooldown2 == 1) {
_root.saliendo2puddle = 0;
} else {
if (this.ataquecooldown2 == 7) {
_root.invisible2 = 0;
_root.saliendo2puddle = 1;
}
}
}
}
} else {
_root.enemigo2atacando = 0;
}
}
}
}
} else {
if (_root.enemigo2 == 'Servant') {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
this.lepegaroncooldown2 = 5;
}
if (this.lepegaroncooldown2 > 0) {
this.lepegaroncooldown2 -= 1;
} else {
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(120) + 48);
}
this.cooldown2 -= 1;
if (this.cooldown2 < 0) {
this.cooldown2 = Math.round(random(120) + 48);
this.ataquecooldown2 = 18;
_root.enemigo2atacando = 1;
} else {
if (this.ataquecooldown2 > 0) {
this.ataquecooldown2 -= 1;
if (this.ataquecooldown2 == 12) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(65) + 35 + _root.totem2 * 5);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(65) + 35 + _root.totem2 * 5);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(65) + 35 + _root.totem2 * 5);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo2vida -= this.resta;
_root.cantidadenemigos.textode2.play();
_root.cantidadenemigos.textode2.textodentro.valor.text = this.resta;
if (_root.enemigo2vida < 0) {
_root.enemigo2vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(65) + 35 + _root.totem2 * 5);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
}
} else {
_root.enemigo2atacando = 0;
}
}
}
}
}
}
if (_root.enemigo3 == 'Hell') {
if (_root.enemigo3vida > 0) {
if (_root.enemigo3atacado == 1) {
this.lepegaroncooldown3 = 5;
}
if (this.lepegaroncooldown3 > 0) {
this.lepegaroncooldown3 -= 1;
} else {
this.cooldown3 -= 1;
if (this.cooldown3 < 0) {
this.cooldown3 = 221;
this.ataquecooldown3 = 221;
} else {
if (this.ataquecooldown3 > 0) {
this.ataquecooldown3 -= 1;
if (this.ataquecooldown3 > 163 and this.ataquecooldown3 < 173) {
if (_root.enemigo2vida < 1 and _root.enemigo1vida < 1 and _root.totem2 < 5 and _root.totem1 < 5) {
_root.enemigo3atacando = 1;
} else {
_root.enemigo3atacando = 2;
}
_root.enemigo3atacando = 1;
} else {
_root.enemigo3atacando = 0;
}
if (this.ataquecooldown3 == 168) {
if (_root.enemigo2vida < 1 and _root.enemigo1vida < 1 and _root.totem2 < 5 and _root.totem1 < 5) {
this.atacara = Math.round(Math.random() * 2);
if (this.atacara == 1) {
if (_root.player1life > 0) {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
this.resta = Math.round(random(30) + 15);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1golpeado = 1;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 15);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
}
} else {
if (_root.player2life > 0) {
if (_root.cogbloqueando == 2) {
_root.coge2.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 2) {
this.resta = Math.round(random(30) + 15);
_root.textod2.play();
_root.textod2.textodentro.valor.text = this.resta;
_root.player2golpeado = 1;
_root.player2life -= this.resta;
if (_root.player2life < 0) {
_root.player2life = 0;
}
}
}
} else {
if (_root.cogbloqueando == 1) {
_root.coge.play();
this.resta = _root.cogbloqueohace;
_root.enemigo3vida -= this.resta;
_root.cantidadenemigos.textode3.play();
_root.cantidadenemigos.textode3.textodentro.valor.text = this.resta;
if (_root.enemigo3vida < 0) {
_root.enemigo3vida = 0;
}
} else {
if (_root.shieldwyvern != 1) {
_root.player1golpeado = 1;
this.resta = Math.round(random(30) + 15);
_root.textod1.play();
_root.textod1.textodentro.valor.text = this.resta;
_root.player1life -= this.resta;
if (_root.player1life < 0) {
_root.player1life = 0;
}
}
}
}
}
} else {
if (_root.enemigo2vida > 0 and _root.totem2 < 5) {
_root.totem2 += 1;
} else {
if (_root.enemigo1vida > 0 and _root.totem1 < 5) {
_root.totem1 += 1;
}
}
}
} else {
if (this.ataquecooldown3 == 115) {
_root.invisible3 = 1;
} else {
if (this.ataquecooldown3 == 1) {
_root.saliendo3puddle = 0;
} else {
if (this.ataquecooldown3 == 7) {
_root.invisible3 = 0;
_root.saliendo3puddle = 1;
}
}
}
}
} else {
_root.enemigo3atacando = 0;
}
}
}
}
}
}
};
v2.cooldown1 = 0;
v2.ataquecooldown1 = 0;
v2.ataquecooldown2 = 0;
v2.ataquecooldown3 = 0;
v2.cooldown2 = 0;
v2.cooldown3 = 0;
v2.lepegaroncooldown = 0;
v2.lepegaroncooldown2 = 0;
v2.lepegaroncooldown3 = 0;
v2.downpresionado = 0;
v2.uppresionado = 0;
v2.atacara = 0;
v2.dioexp1 = 0;
v2.dioexp2 = 0;
v2.larriscooldown = 53;
v2.dioexp3 = 0;
v2.guardarvida = 0;
v2.resta = 0;
v2.invisibleguardarvida1 = 0;
v2.invisibleguardarvida2 = 0;
v2.invisibleguardarvida3 = 0;
v2.swifthold1 = 1;
v2.swifthold2 = 1;
v2.swifthold3 = 1;
v2.zarrcarga = 0;
ASSetPropFlags(_global.ejecutarenemigos5.prototype, null, 1);
}
#endinitclip
}
frame 2 {
_root.player1 = 'VacÃo';
_root.player2 = 'VacÃo';
_root.guardian1 = 'VacÃo';
_root.guardian2 = 'VacÃo';
_root.dialogos = 0;
_root.warpactivado = 0;
_root.recall = 1;
_root.resetearposicion = 0;
_root.ira = 0;
_root.player1abilityupgrade = 1;
_root.player2abilityupgrade = 1;
_root.player1healthp = 0;
_root.player1damagep = 0;
_root.player1cdp = 0;
_root.player2healthp = 0;
_root.player2damagep = 0;
_root.player2cdp = 0;
_root.player1exp = 0;
_root.player2exp = 0;
_root.player1exptoload = 0;
_root.player2exptoload = 0;
_root.player1lvl = 1;
_root.player2lvl = 1;
_root.player1freeexp = 0;
_root.player2freeexp = 0;
_root.totalquestdone = 0;
_root.vanceenaccion = 0;
_root.qcooldown = 5;
_root.wcooldown = 15;
_root.ecooldown = 25;
_root.qcooldone = 5;
_root.wcooldone = 0;
_root.ecooldone = 0;
_root.acooldown = 5;
_root.scooldown = 15;
_root.dcooldown = 25;
_root.acooldone = 5;
_root.scooldone = 0;
_root.dcooldone = 0;
_root.player1orbs = 0;
_root.player2orbs = 0;
_root.player1enaccion = 0;
_root.player2enaccion = 0;
_root.rcooldown = 50;
_root.rcooldone = 0;
_root.fcooldown = 50;
_root.fcooldone = 0;
_root.player1golpeado = 0;
_root.playsonidonivel = 1;
_root.warpshardactivado = 0;
if (_root.player2 == 'Ridge') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 150;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Vance') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 95;
_root.player2life = _root.player2lifetotal;
}
}
_root.tutorialejecutado = 2;
_root.firstwater = 0;
_root.posicion = 4;
_root.misiones = [0, [0, 0], [0, 0], 0, 0, [0, 0], 0, 0, 0, [0, 0], 0, 0, 0, 0, [0, 0], 0, 0, [0, 0], 0, [0, 0], 0, [0, 0], 0, 0];
_root.orbgratis = 2;
_root.tiempojugado = [0, 0, 0];
_root.jugandoenslot = 1;
_root.tutoriales = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
_root.savefile = SharedObject.getLocal('PrimalChampions');
_root.partidasguardadas = _root.savefile.data.partidasguardadas;
if (_root.savefile.data.partidasguardadas == undefined) {
_root.partidasguardadas = ['VacÃo', 'VacÃo', 'VacÃo'];
}
stop();
var speed = 2;
var wind = -2;
var movieWidth = 750;
var movieHeight = 450;
_root.borrarnieve = 0;
createSnow(_root, 100);
_root.frameqesta = 2;
_root.mostrametutorial = 0;
_root.posiciones = [[[246], [103]], [[90], [90]], [[97], [165]], [[93], [264]], [[225], [264]], [[359], [231]], [[393], [121]], [[475], [173]], [[483], [251]], [[586], [212]], [[591], [117]], [[696], [129]], [[706], [230]], [[824], [253]], [[-31], [168]], [[81], [168]], [[169], [100]], [[276], [92]], [[259], [164]], [[213], [223]], [[206], [287]], [[276], [342]], [[458], [275]], [[443], [194]], [[532], [134]], [[621], [167]], [[658], [229]], [[641], [290]], [[602], [362]], [[795], [380]], [[334], [218]], [[334], [218]], [[-31], [168]], [[803], [252]], [[-34], [373]], [[74], [381]]];
_root.posiciones2 = [[[230], [96]], [[106], [83]], [[109], [160]], [[82], [257]], [[213], [257]], [[349], [227]], [[379], [117]], [[459], [169]], [[467], [245]], [[573], [207]], [[577], [113]], [[682], [124]], [[693], [226]], [[773], [232]], [[-42], [160]], [[70], [160]], [[159], [95]], [[268], [86]], [[251], [159]], [[204], [213]], [[196], [280]], [[265], [334]], [[443], [269]], [[433], [189]], [[519], [129]], [[606], [159]], [[648], [219]], [[631], [285]], [[592], [354]], [[770], [362]], [[319], [212]], [[319], [212]], [[-42], [160]], [[792], [244]], [[-45], [365]]];
[[63], [373]];
_root.posiciones[34] = [[-34], [373]];
_root.posiciones[35] = [[74], [381]];
_root.posiciones2[34] = [[-45], [365]];
_root.posiciones2[35] = [[63], [373]];
_root.posiciones[36] = [[204], [373]];
_root.posiciones2[36] = [[193], [365]];
_root.posiciones[37] = [[366], [373]];
_root.posiciones2[37] = [[355], [365]];
_root.posiciones[38] = [[546], [357]];
_root.posiciones2[38] = [[535], [349]];
_root.posiciones[39] = [[659], [325]];
_root.posiciones2[39] = [[648], [317]];
_root.posiciones[40] = [[433], [181]];
_root.posiciones2[40] = [[422], [173]];
_root.posiciones[41] = [[652], [176]];
_root.posiciones2[41] = [[640], [168]];
_root.posiciones[42] = [[549], [120]];
_root.posiciones2[42] = [[538], [112]];
_root.posiciones[43] = [[411], [103]];
_root.posiciones2[43] = [[400], [95]];
_root.posiciones[44] = [[272], [174]];
_root.posiciones2[44] = [[261], [166]];
_root.posiciones[45] = [[87], [104]];
_root.posiciones2[45] = [[76], [96]];
_root.posiciones[46] = [[252], [254]];
_root.posiciones2[46] = [[241], [246]];
_root.posiciones[47] = [[131], [278]];
_root.posiciones2[47] = [[120], [270]];
_root.posiciones[48] = [[110], [206]];
_root.posiciones2[48] = [[99], [198]];
_root.posiciones[49] = [[-32], [139]];
_root.posiciones2[49] = [[-43], [131]];
_root.posiciones[50] = [[-40], [365]];
_root.posiciones2[50] = [[-50], [365]];
_root.posiciones[51] = _root.posiciones[29];
_root.posiciones2[51] = _root.posiciones2[29];
_root.posiciones[52] = [[793], [147]];
_root.posiciones2[52] = [[782], [137]];
_root.posiciones[53] = [[662], [197]];
_root.posiciones2[53] = [[651], [187]];
_root.posiciones[54] = [[662], [319]];
_root.posiciones2[54] = [[651], [309]];
_root.posiciones[55] = [[560], [368]];
_root.posiciones2[55] = [[549], [358]];
_root.posiciones[56] = [[415], [365]];
_root.posiciones2[56] = [[405], [355]];
_root.posiciones[57] = [[275], [345]];
_root.posiciones2[57] = [[265], [335]];
_root.posiciones[58] = [[110], [327]];
_root.posiciones2[58] = [[99], [317]];
_root.posiciones[59] = [[96], [265]];
_root.posiciones2[59] = [[85], [255]];
_root.posiciones[60] = [[194], [214]];
_root.posiciones2[60] = [[183], [204]];
_root.posiciones[61] = [[107], [172]];
_root.posiciones2[61] = [[96], [162]];
_root.posiciones[62] = [[281], [203]];
_root.posiciones2[62] = [[270], [193]];
_root.posiciones[63] = [[408], [189]];
_root.posiciones2[63] = [[397], [179]];
_root.posiciones[64] = [[490], [139]];
_root.posiciones2[64] = [[479], [129]];
_root.posiciones[65] = [[630], [90]];
_root.posiciones2[65] = [[619], [80]];
_root.posiciones[66] = [[366], [114]];
_root.posiciones2[66] = [[355], [104]];
_root.posiciones[67] = [[236], [99]];
_root.posiciones2[67] = [[225], [89]];
_root.posiciones[68] = _root.posiciones[52];
_root.posiciones2[68] = _root.posiciones2[52];
_root.posiciones[69] = [[19], [-5]];
_root.posiciones2[69] = [[8], [-15]];
_root.posiciones[70] = _root.posiciones[49];
_root.posiciones2[70] = _root.posiciones2[49];
_root.posiciones[71] = [[732], [531]];
_root.posiciones2[71] = [[721], [521]];
_root.posiciones[72] = [[646], [401]];
_root.posiciones2[72] = [[635], [391]];
_root.posiciones[73] = [[682], [336]];
_root.posiciones2[73] = [[671], [326]];
_root.posiciones[74] = [[525], [337]];
_root.posiciones2[74] = [[514], [327]];
_root.posiciones[75] = [[433], [380]];
_root.posiciones2[75] = [[422], [370]];
_root.posiciones[76] = [[335], [417]];
_root.posiciones2[76] = [[324], [407]];
_root.posiciones[77] = [[191], [409]];
_root.posiciones2[77] = [[180], [399]];
_root.posiciones[78] = [[81], [346]];
_root.posiciones2[78] = [[70], [336]];
_root.posiciones[79] = [[561], [258]];
_root.posiciones2[79] = [[550], [248]];
_root.posiciones[80] = [[640], [243]];
_root.posiciones2[80] = [[629], [233]];
_root.posiciones[81] = [[470], [281]];
_root.posiciones2[81] = [[459], [271]];
_root.posiciones[82] = [[685], [190]];
_root.posiciones2[82] = [[674], [180]];
_root.posiciones[83] = [[586], [158]];
_root.posiciones2[83] = [[575], [148]];
_root.posiciones[84] = [[339], [199]];
_root.posiciones2[84] = [[328], [189]];
_root.posiciones[85] = [[270], [153]];
_root.posiciones2[85] = [[259], [143]];
_root.posiciones[86] = [[120], [100]];
_root.posiciones2[86] = [[109], [90]];
}
frame 2 {
_root.transin.gotoAndStop(1);
}
frame 2 {
_root.mainm.play();
}
// unknown tag 88 length 94
movieClip 800 {
frame 2575 {
gotoAndPlay(2);
}
}
movieClip 802 {
}
movieClip 804 {
}
movieClip 806 {
}
movieClip 809 {
}
movieClip 811 {
frame 2 {
function createSnow(container, numberOfFlakes) {
var v4 = 0;
while (v4 < numberOfFlakes) {
var v3 = _root.container.attachMovie('snow_mc', 'snow' + v4, v4);
v3.r = 1 + Math.random() * speed;
v3.k = -Math.PI + Math.random() * Math.PI;
v3.rad = 0;
var v5 = random(50) + 50;
v3._xscale = v5;
v3._yscale = v5;
v3._alpha = random(100) + 50;
v3._x = random(movieWidth);
v3._y = random(movieHeight);
v3.onEnterFrame = function () {
this.rad += (this.k / 180) * Math.PI;
this._x -= Math.cos(this.rad) + wind;
this._y += speed;
if (this._y >= movieHeight) {
this._y = -5;
}
if (this._x >= movieWidth) {
this._x = 1;
}
if (this._x <= 0) {
this._x = movieWidth - 1;
}
};
++v4;
}
}
stop();
var speed = 2;
var wind = -2;
var movieWidth = 750;
var movieHeight = 450;
var numero = 0;
var profundidad = 0;
createSnow(_root, 100);
_root.frameqesta = 2;
}
}
movieClip 812 {
}
movieClip 817 {
frame 5 {
stop();
}
}
movieClip 818 {
}
instance flechainicio of movieClip 818 {
onClipEvent (load) {
posicion = 1;
solto = 1;
ultimaposicion = 1;
}
onClipEvent (enterFrame) {
if (ultimaposicion != posicion) {
ultimaposicion = posicion;
_root.flechainicio.flecha.gotoAndPlay(1);
}
this.gotoAndStop(posicion);
if (solto == 0) {
if (posicion < 3 and Key.isDown(40)) {
posicion += 1;
solto = 1;
} else {
if (posicion > 1 and Key.isDown(38)) {
posicion -= 1;
solto = 1;
} else {
if (Key.isDown(81)) {
if (posicion == 1) {
_root.ira = 3;
_root.transin.play();
solto = 1;
} else {
if (posicion == 2) {
getURL('http://armor.ag/MoreGames', '_blank');
solto = 1;
} else {
if (posicion == 3) {
getURL('http://www.facebook.com/HappyGhostStudio', '_blank');
solto = 1;
}
}
}
}
}
}
}
if (Key.isDown(38) or Key.isDown(40) or Key.isDown(81)) {
} else {
solto = 0;
}
}
}
movieClip 820 {
}
movieClip 823 {
}
movieClip 824 {
}
movieClip 826 {
}
movieClip 830 {
}
movieClip 833 {
}
movieClip 835 {
}
button 837 {
on (release) {
getURL('http://armor.ag/MoreGames', '_blank');
}
}
movieClip 838 {
}
button 842 {
on (release) {
getURL('https://www.facebook.com/ArmorGames', '_blank');
}
}
movieClip 843 {
frame 10 {
stop();
}
}
instance transout of movieClip 843 {
onClipEvent (enterFrame) {
this.swapDepths(_root.getNextHighestDepth());
}
}
frame 3 {
_root.frameqesta = 3;
}
frame 3 {
_root.transout.gotoAndPlay(1);
_root.transin.gotoAndStop(1);
}
frame 3 {
_root.mainm.play();
}
movieClip 845 {
}
movieClip 846 {
}
movieClip 850 {
}
movieClip 860 {
}
movieClip 863 {
}
movieClip 865 {
}
movieClip 867 {
}
movieClip 868 {
}
movieClip 875 {
}
movieClip 876 {
}
instance slot1 of movieClip 876 {
onClipEvent (load) {
variableextra = 0;
}
onClipEvent (enterFrame) {
if (_root.partidasguardadas[0] == 'VacÃo') {
gotoAndStop(1);
} else {
gotoAndStop(2);
variableextra = ' ' + _root.partidasguardadas[0][19][0] + ':' + _root.partidasguardadas[0][19][1] + ':' + _root.partidasguardadas[0][19][2];
_root.slot1.tiempojugado.text = variableextra;
_root.slot1.lvl1.text = _root.partidasguardadas[0][10];
_root.slot1.lvl2.text = _root.partidasguardadas[0][11];
if (_root.partidasguardadas[0][20] > 87) {
_root.slot1.lugar.gotoAndStop(6);
} else {
if (_root.partidasguardadas[0][20] > 70) {
_root.slot1.lugar.gotoAndStop(5);
} else {
if (_root.partidasguardadas[0][20] > 52) {
_root.slot1.lugar.gotoAndStop(4);
} else {
if (_root.partidasguardadas[0][20] > 35) {
_root.slot1.lugar.gotoAndStop(3);
} else {
if (_root.partidasguardadas[0][20] > 15) {
_root.slot1.lugar.gotoAndStop(2);
} else {
_root.slot1.lugar.gotoAndStop(1);
}
}
}
}
}
if (_root.partidasguardadas[0][0] == 'Ridge') {
_root.slot1.cara1.gotoAndStop(1);
} else {
if (_root.partidasguardadas[0][0] == 'Vance') {
_root.slot1.cara1.gotoAndStop(2);
} else {
if (_root.partidasguardadas[0][0] == 'Nesyss') {
_root.slot1.cara1.gotoAndStop(3);
} else {
if (_root.partidasguardadas[0][0] == 'Wyvern') {
_root.slot1.cara1.gotoAndStop(4);
} else {
if (_root.partidasguardadas[0][0] == 'Cog') {
_root.slot1.cara1.gotoAndStop(5);
} else {
if (_root.partidasguardadas[0][0] == 'Tindra') {
_root.slot1.cara1.gotoAndStop(6);
}
}
}
}
}
}
if (_root.partidasguardadas[0][1] == 'Ridge') {
_root.slot1.cara2.gotoAndStop(1);
} else {
if (_root.partidasguardadas[0][1] == 'Vance') {
_root.slot1.cara2.gotoAndStop(2);
} else {
if (_root.partidasguardadas[0][1] == 'Nesyss') {
_root.slot1.cara2.gotoAndStop(3);
} else {
if (_root.partidasguardadas[0][1] == 'Wyvern') {
_root.slot1.cara2.gotoAndStop(4);
} else {
if (_root.partidasguardadas[0][1] == 'Cog') {
_root.slot1.cara2.gotoAndStop(5);
} else {
if (_root.partidasguardadas[0][1] == 'Tindra') {
_root.slot1.cara2.gotoAndStop(6);
}
}
}
}
}
}
}
}
}
instance slot2 of movieClip 876 {
onClipEvent (load) {
variableextra = 0;
}
onClipEvent (enterFrame) {
if (_root.partidasguardadas[1] == 'VacÃo') {
gotoAndStop(1);
} else {
gotoAndStop(2);
variableextra = ' ' + _root.partidasguardadas[1][19][0] + ':' + _root.partidasguardadas[1][19][1] + ':' + _root.partidasguardadas[1][19][2];
_root.slot2.tiempojugado.text = variableextra;
_root.slot2.lvl1.text = _root.partidasguardadas[1][10];
_root.slot2.lvl2.text = _root.partidasguardadas[1][11];
if (_root.partidasguardadas[1][20] > 87) {
_root.slot2.lugar.gotoAndStop(6);
} else {
if (_root.partidasguardadas[1][20] > 70) {
_root.slot2.lugar.gotoAndStop(5);
} else {
if (_root.partidasguardadas[1][20] > 52) {
_root.slot2.lugar.gotoAndStop(4);
} else {
if (_root.partidasguardadas[1][20] > 35) {
_root.slot2.lugar.gotoAndStop(3);
} else {
if (_root.partidasguardadas[1][20] > 15) {
_root.slot2.lugar.gotoAndStop(2);
} else {
_root.slot2.lugar.gotoAndStop(1);
}
}
}
}
}
if (_root.partidasguardadas[1][0] == 'Ridge') {
_root.slot2.cara1.gotoAndStop(1);
} else {
if (_root.partidasguardadas[1][0] == 'Vance') {
_root.slot2.cara1.gotoAndStop(2);
} else {
if (_root.partidasguardadas[1][0] == 'Nesyss') {
_root.slot2.cara1.gotoAndStop(3);
} else {
if (_root.partidasguardadas[1][0] == 'Wyvern') {
_root.slot2.cara1.gotoAndStop(4);
} else {
if (_root.partidasguardadas[1][0] == 'Cog') {
_root.slot2.cara1.gotoAndStop(5);
} else {
if (_root.partidasguardadas[1][0] == 'Tindra') {
_root.slot2.cara1.gotoAndStop(6);
}
}
}
}
}
}
if (_root.partidasguardadas[1][1] == 'Ridge') {
_root.slot2.cara2.gotoAndStop(1);
} else {
if (_root.partidasguardadas[1][1] == 'Vance') {
_root.slot2.cara2.gotoAndStop(2);
} else {
if (_root.partidasguardadas[1][1] == 'Nesyss') {
_root.slot2.cara2.gotoAndStop(3);
} else {
if (_root.partidasguardadas[1][1] == 'Wyvern') {
_root.slot2.cara2.gotoAndStop(4);
} else {
if (_root.partidasguardadas[1][1] == 'Cog') {
_root.slot2.cara2.gotoAndStop(5);
} else {
if (_root.partidasguardadas[1][1] == 'Tindra') {
_root.slot2.cara2.gotoAndStop(6);
}
}
}
}
}
}
}
}
}
instance slot3 of movieClip 876 {
onClipEvent (load) {
variableextra = 0;
}
onClipEvent (enterFrame) {
if (_root.partidasguardadas[2] == 'VacÃo') {
gotoAndStop(1);
} else {
gotoAndStop(2);
variableextra = ' ' + _root.partidasguardadas[2][19][0] + ':' + _root.partidasguardadas[2][19][1] + ':' + _root.partidasguardadas[2][19][2];
_root.slot3.tiempojugado.text = variableextra;
_root.slot3.lvl1.text = _root.partidasguardadas[2][10];
_root.slot3.lvl2.text = _root.partidasguardadas[2][11];
if (_root.partidasguardadas[2][20] > 87) {
_root.slot3.lugar.gotoAndStop(6);
} else {
if (_root.partidasguardadas[2][20] > 70) {
_root.slot3.lugar.gotoAndStop(5);
} else {
if (_root.partidasguardadas[2][20] > 52) {
_root.slot3.lugar.gotoAndStop(4);
} else {
if (_root.partidasguardadas[2][20] > 35) {
_root.slot3.lugar.gotoAndStop(3);
} else {
if (_root.partidasguardadas[2][20] > 15) {
_root.slot3.lugar.gotoAndStop(2);
} else {
_root.slot3.lugar.gotoAndStop(1);
}
}
}
}
}
if (_root.partidasguardadas[2][0] == 'Ridge') {
_root.slot3.cara1.gotoAndStop(1);
} else {
if (_root.partidasguardadas[2][0] == 'Vance') {
_root.slot3.cara1.gotoAndStop(2);
} else {
if (_root.partidasguardadas[2][0] == 'Nesyss') {
_root.slot3.cara1.gotoAndStop(3);
} else {
if (_root.partidasguardadas[2][0] == 'Wyvern') {
_root.slot3.cara1.gotoAndStop(4);
} else {
if (_root.partidasguardadas[2][0] == 'Cog') {
_root.slot3.cara1.gotoAndStop(5);
} else {
if (_root.partidasguardadas[2][0] == 'Tindra') {
_root.slot3.cara1.gotoAndStop(6);
}
}
}
}
}
}
if (_root.partidasguardadas[2][1] == 'Ridge') {
_root.slot3.cara2.gotoAndStop(1);
} else {
if (_root.partidasguardadas[2][1] == 'Vance') {
_root.slot3.cara2.gotoAndStop(2);
} else {
if (_root.partidasguardadas[2][1] == 'Nesyss') {
_root.slot3.cara2.gotoAndStop(3);
} else {
if (_root.partidasguardadas[2][1] == 'Wyvern') {
_root.slot3.cara2.gotoAndStop(4);
} else {
if (_root.partidasguardadas[2][1] == 'Cog') {
_root.slot3.cara2.gotoAndStop(5);
} else {
if (_root.partidasguardadas[2][1] == 'Tindra') {
_root.slot3.cara2.gotoAndStop(6);
}
}
}
}
}
}
}
}
}
movieClip 880 {
frame 5 {
stop();
}
}
movieClip 881 {
}
movieClip 882 {
}
instance seleccionarslot of movieClip 882 {
onClipEvent (load) {
esta = 1;
solto = 1;
}
onClipEvent (enterFrame) {
this.gotoAndStop(esta);
if (Key.isDown(38)) {
if (solto == 0) {
solto = 1;
if (esta > 1) {
esta -= 1;
_root.seleccionarslot.dentro.gotoAndPlay(1);
}
}
} else {
if (Key.isDown(40)) {
if (solto == 0) {
solto = 1;
if (esta < 3) {
esta += 1;
_root.seleccionarslot.dentro.gotoAndPlay(1);
}
}
} else {
if (Key.isDown(81)) {
if (solto == 0) {
solto = 1;
if (esta == 1) {
_root.jugandoenslot = 1;
if (_root.partidasguardadas[0] != 'VacÃo') {
_root.player1 = _root.partidasguardadas[0][0];
_root.player2 = _root.partidasguardadas[0][1];
_root.player1healthp = _root.partidasguardadas[0][2];
_root.player2healthp = _root.partidasguardadas[0][3];
_root.player1damagep = _root.partidasguardadas[0][4];
_root.player2damagep = _root.partidasguardadas[0][5];
_root.player1cdp = _root.partidasguardadas[0][6];
_root.player2cdp = _root.partidasguardadas[0][7];
_root.player1exp = _root.partidasguardadas[0][8];
_root.player2exp = _root.partidasguardadas[0][9];
_root.player1lvl = _root.partidasguardadas[0][10];
_root.player2lvl = _root.partidasguardadas[0][11];
_root.player1freeexp = _root.partidasguardadas[0][12];
_root.player2freeexp = _root.partidasguardadas[0][13];
_root.totalquestdone = _root.partidasguardadas[0][14];
_root.player1orbs = _root.partidasguardadas[0][15];
_root.player2orbs = _root.partidasguardadas[0][16];
_root.nodosestados = _root.partidasguardadas[0][17];
_root.orbgratis = _root.partidasguardadas[0][18];
_root.tiempojugado = _root.partidasguardadas[0][19];
_root.posicion = _root.partidasguardadas[0][20];
_root.misiones = _root.partidasguardadas[0][21];
_root.tutoriales = _root.partidasguardadas[0][22];
_root.guardian1 = _root.partidasguardadas[0][23];
_root.guardian2 = _root.partidasguardadas[0][24];
if (_root.player1 == 'Ridge') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 150;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Vance') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 95;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Nesyss') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 80;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Wyvern') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 110;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Cog') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 3 + 170;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Tindra') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 100;
_root.player1life = _root.player1lifetotal;
}
}
}
}
}
}
if (_root.player2 == 'Ridge') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 150;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Vance') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 95;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Nesyss') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 80;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Wyvern') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 110;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Cog') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 3 + 170;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Tindra') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 100;
_root.player2life = _root.player2lifetotal;
}
}
}
}
}
}
if (_root.posicion < 15) {
_root.ira = 6;
} else {
if (_root.posicion < 35) {
_root.ira = 9;
} else {
if (_root.posicion < 53) {
_root.ira = 10;
} else {
if (_root.posicion < 72) {
_root.ira = 11;
} else {
_root.ira = 12;
}
}
}
}
_root.transin.play(1);
} else {
_root.ira = 7;
_root.transin.play();
}
} else {
if (esta == 2) {
_root.jugandoenslot = 2;
if (_root.partidasguardadas[1] != 'VacÃo') {
_root.player1 = _root.partidasguardadas[1][0];
_root.player2 = _root.partidasguardadas[1][1];
_root.player1healthp = _root.partidasguardadas[1][2];
_root.player2healthp = _root.partidasguardadas[1][3];
_root.player1damagep = _root.partidasguardadas[1][4];
_root.player2damagep = _root.partidasguardadas[1][5];
_root.player1cdp = _root.partidasguardadas[1][6];
_root.player2cdp = _root.partidasguardadas[1][7];
_root.player1exp = _root.partidasguardadas[1][8];
_root.player2exp = _root.partidasguardadas[1][9];
_root.player1lvl = _root.partidasguardadas[1][10];
_root.player2lvl = _root.partidasguardadas[1][11];
_root.player1freeexp = _root.partidasguardadas[1][12];
_root.player2freeexp = _root.partidasguardadas[1][13];
_root.totalquestdone = _root.partidasguardadas[1][14];
_root.player1orbs = _root.partidasguardadas[1][15];
_root.player2orbs = _root.partidasguardadas[1][16];
_root.nodosestados = _root.partidasguardadas[1][17];
_root.orbgratis = _root.partidasguardadas[1][18];
_root.tiempojugado = _root.partidasguardadas[1][19];
_root.posicion = _root.partidasguardadas[1][20];
_root.misiones = _root.partidasguardadas[1][21];
_root.tutoriales = _root.partidasguardadas[1][22];
_root.guardian1 = _root.partidasguardadas[1][23];
_root.guardian2 = _root.partidasguardadas[1][24];
if (_root.player1 == 'Ridge') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 150;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Vance') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 95;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Nesyss') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 80;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Wyvern') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 110;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Cog') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 3 + 170;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Tindra') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 100;
_root.player1life = _root.player1lifetotal;
}
}
}
}
}
}
if (_root.player2 == 'Ridge') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 150;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Vance') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 95;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Nesyss') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 80;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Wyvern') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 110;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Cog') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 3 + 170;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Tindra') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 100;
_root.player2life = _root.player2lifetotal;
}
}
}
}
}
}
if (_root.posicion < 15) {
_root.ira = 6;
} else {
if (_root.posicion < 35) {
_root.ira = 9;
} else {
if (_root.posicion < 53) {
_root.ira = 10;
} else {
if (_root.posicion < 72) {
_root.ira = 11;
} else {
_root.ira = 12;
}
}
}
}
_root.transin.play(1);
} else {
_root.ira = 7;
_root.transin.play();
}
} else {
_root.jugandoenslot = 3;
if (_root.partidasguardadas[2] != 'VacÃo') {
_root.player1 = _root.partidasguardadas[2][0];
_root.player2 = _root.partidasguardadas[2][1];
_root.player1healthp = _root.partidasguardadas[2][2];
_root.player2healthp = _root.partidasguardadas[2][3];
_root.player1damagep = _root.partidasguardadas[2][4];
_root.player2damagep = _root.partidasguardadas[2][5];
_root.player1cdp = _root.partidasguardadas[2][6];
_root.player2cdp = _root.partidasguardadas[2][7];
_root.player1exp = _root.partidasguardadas[2][8];
_root.player2exp = _root.partidasguardadas[2][9];
_root.player1lvl = _root.partidasguardadas[2][10];
_root.player2lvl = _root.partidasguardadas[2][11];
_root.player1freeexp = _root.partidasguardadas[2][12];
_root.player2freeexp = _root.partidasguardadas[2][13];
_root.totalquestdone = _root.partidasguardadas[2][14];
_root.player1orbs = _root.partidasguardadas[2][15];
_root.player2orbs = _root.partidasguardadas[2][16];
_root.nodosestados = _root.partidasguardadas[2][17];
_root.orbgratis = _root.partidasguardadas[2][18];
_root.tiempojugado = _root.partidasguardadas[2][19];
_root.posicion = _root.partidasguardadas[2][20];
_root.misiones = _root.partidasguardadas[2][21];
_root.tutoriales = _root.partidasguardadas[2][22];
_root.guardian1 = _root.partidasguardadas[2][23];
_root.guardian2 = _root.partidasguardadas[2][24];
if (_root.player1 == 'Ridge') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 150;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Vance') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 95;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Nesyss') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 80;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Wyvern') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 110;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Cog') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 3 + 170;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Tindra') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 100;
_root.player1life = _root.player1lifetotal;
}
}
}
}
}
}
if (_root.player2 == 'Ridge') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 150;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Vance') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 95;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Nesyss') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 80;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Wyvern') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 110;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Cog') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 3 + 170;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Tindra') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 100;
_root.player2life = _root.player2lifetotal;
}
}
}
}
}
}
if (_root.posicion < 15) {
_root.ira = 6;
} else {
if (_root.posicion < 35) {
_root.ira = 9;
} else {
if (_root.posicion < 53) {
_root.ira = 10;
} else {
if (_root.posicion < 72) {
_root.ira = 11;
} else {
_root.ira = 12;
}
}
}
}
_root.transin.gotoAndPlay(1);
} else {
_root.ira = 7;
_root.transin.play();
}
}
}
}
} else {
if (Key.isDown(82)) {
solto = 1;
_root.partidasguardadas[esta - 1] = 'VacÃo';
} else {
solto = 0;
}
}
}
}
}
}
movieClip 884 {
}
movieClip 885 {
frame 1 {
stop();
}
frame 8 {
stop();
}
}
instance of movieClip 885 {
onClipEvent (load) {
mando = 0;
}
onClipEvent (enterFrame) {
if (_root.partidasguardadas[0] == 'VacÃo') {
mando = 0;
gotoAndStop(1);
} else {
if (mando == 0) {
gotoAndPlay(2);
mando = 1;
}
}
}
}
instance of movieClip 885 {
onClipEvent (load) {
mando = 0;
}
onClipEvent (enterFrame) {
if (_root.partidasguardadas[1] == 'VacÃo') {
mando = 0;
gotoAndStop(1);
} else {
if (mando == 0) {
gotoAndPlay(2);
mando = 1;
}
}
}
}
instance of movieClip 885 {
onClipEvent (load) {
mando = 0;
}
onClipEvent (enterFrame) {
if (_root.partidasguardadas[2] == 'VacÃo') {
mando = 0;
gotoAndStop(1);
} else {
if (mando == 0) {
gotoAndPlay(2);
mando = 1;
}
}
}
}
frame 4 {
stop();
_root.dialogosmostrar = 0;
_root.dialogosmostrara = 0;
if (_root.player1 == 'Ridge') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 150;
} else {
if (_root.player1 == 'Vance') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 95;
} else {
if (_root.player1 == 'Nesyss') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 80;
} else {
if (_root.player1 == 'Wyvern') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 110;
} else {
if (_root.player1 == 'Cog') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 3 + 170;
} else {
if (_root.player1 == 'Tindra') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 100;
}
}
}
}
}
}
if (_root.player2 == 'Ridge') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 150;
} else {
if (_root.player2 == 'Vance') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 95;
} else {
if (_root.player2 == 'Nesyss') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 80;
} else {
if (_root.player2 == 'Wyvern') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 110;
} else {
if (_root.player2 == 'Cog') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 3 + 170;
} else {
if (_root.player2 == 'Tindra') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 100;
}
}
}
}
}
}
if (_root.guardian1 == 'ShellKin') {
_root.player1lifetotal += 150;
}
if (_root.guardian2 == 'ShellKin') {
_root.player2lifetotal += 150;
}
_root.shieldwyvern = 0;
_root.shieldwyvernlast = 0;
_root.invisible1 = 0;
_root.invisible2 = 0;
_root.invisible3 = 0;
_root.cabeza1 = Math.round(Math.random() * 2 + 1);
_root.cabeza2 = Math.round(Math.random() * 2 + 1);
_root.cabeza3 = Math.round(Math.random() * 2 + 1);
_root.qcooldone = 5;
_root.wcooldone = 1;
_root.ecooldone = 1;
_root.acooldone = 5;
_root.scooldone = 1;
_root.dcooldone = 1;
_root.enemigo3vida = 0;
_root.enemigo3vidatotal = 1;
_root.enemigo1atacado = 0;
_root.enemigo2atacado = 0;
_root.enemigo3atacado = 0;
_root.enemigo1atacando = 0;
_root.enemigo2atacando = 0;
_root.enemigo3atacando = 0;
_root.iniciapelea = 0;
_root.quemado1 = 0;
_root.dañoquemado1 = 0;
_root.quemado2 = 0;
_root.dañoquemado2 = 0;
_root.quemado3 = 0;
_root.dañoquemado3 = 0;
_root.wyvernult = 0;
_root.goblinshieldesta = 0;
_root.goblinking = 1;
_root.nesyssenaccion = 0;
_root.wyvernenaccion = 0;
_root.tindraenaccion = 0;
_root.ferralasenaccion = 0;
_root.shellkinenaccion = 0;
_root.lifewingenaccion = 0;
_root.cogenaccion = 0;
_root.bonuscog = 0;
_root.durbonuscog = 0;
_root.cogbloqueando = 0;
_root.cogbloqueohace = 0;
_root.cogberzerker = 0;
_root.cogberzerkertiempo = 0;
_root.bcooldown = 2;
_root.bcooldone = 0;
_root.totem1 = 0;
_root.totem2 = 0;
_root.totem3 = 0;
_root.enemigo2 = 'Empty';
_root.enemigo3 = 'Empty';
if (_root.posicion == 4) {
_root.enemigo1 = 'Goblin';
_root.enemigo2 = 'Empty';
} else {
if (_root.posicion == 3 or _root.posicion == 5) {
seleccionar = Math.round(Math.random() * 1 + 1);
if (seleccionar == 1) {
_root.enemigo1 = 'Goblin';
_root.enemigo2 = 'Crossbowgoblin';
} else {
_root.enemigo1 = 'Goblin';
_root.enemigo2 = 'Goblin';
}
} else {
if (_root.posicion == 1 or _root.posicion == 6) {
seleccionar = Math.round(Math.random() * 2 + 1);
if (seleccionar == 1) {
_root.enemigo1 = 'Goblin';
} else {
if (seleccionar == 2) {
_root.enemigo1 = 'Battle Hog';
} else {
_root.enemigo1 = 'Goblin';
}
}
seleccionar = Math.round(Math.random() * 2 + 1);
if (seleccionar == 1) {
_root.enemigo2 = 'Goblin';
} else {
if (seleccionar == 2) {
_root.enemigo2 = 'Battle Hog';
} else {
_root.enemigo2 = 'Crossbowgoblin';
}
}
} else {
if (_root.posicion == 7 or _root.posicion == 8) {
seleccionar = Math.round(Math.random() * 3 + 1);
if (seleccionar == 1) {
_root.enemigo2 = 'Goblin';
} else {
if (seleccionar == 2) {
_root.enemigo2 = 'Battle Hog';
} else {
if (seleccionar == 3) {
_root.enemigo2 = 'Crossbowgoblin';
} else {
_root.enemigo2 = 'Goblin Bombsmith';
}
}
}
seleccionar = Math.round(Math.random() * 3 + 1);
if (seleccionar == 1) {
_root.enemigo1 = 'Goblin';
} else {
if (seleccionar == 2) {
_root.enemigo1 = 'Battle Hog';
} else {
if (seleccionar == 3) {
_root.enemigo1 = 'Goblin';
} else {
_root.enemigo1 = 'Goblin Bombsmith';
}
}
}
} else {
if (_root.posicion == 10 or _root.posicion == 13 or _root.posicion == 9) {
seleccionar = Math.round(Math.random() * 3 + 1);
if (seleccionar == 1) {
_root.enemigo1 = 'Goblin Highborn';
} else {
if (seleccionar == 2) {
_root.enemigo1 = 'Battle Hog';
} else {
if (seleccionar == 3) {
_root.enemigo1 = 'Goblin';
} else {
_root.enemigo1 = 'Goblin Bombsmith';
}
}
}
seleccionar = Math.round(Math.random() * 3 + 1);
if (seleccionar == 1) {
_root.enemigo2 = 'Goblin Highborn';
} else {
if (seleccionar == 2) {
_root.enemigo2 = 'Battle Hog';
} else {
if (seleccionar == 3) {
_root.enemigo2 = 'Crossbowgoblin';
} else {
_root.enemigo2 = 'Goblin Bombsmith';
}
}
}
} else {
if (_root.posicion == 12) {
if (_root.nodosestados[12] == 7) {
_root.enemigo1 = 'Goblin Highborn';
_root.enemigo2 = 'Goblin King';
_root.enemigo3 = 'Goblin Highborn';
_root.dialogosmostrar = 1;
_root.dialogosmostrara = 1;
} else {
_root.enemigo1 = 'Blee';
_root.dialogosmostrar = 3;
_root.dialogosmostrara = 11;
}
} else {
if (_root.posicion == 17 or _root.posicion == 18) {
seleccionar = Math.round(Math.random() * 1 + 1);
if (seleccionar == 1) {
_root.enemigo2 = 'Medic';
}
_root.enemigo1 = 'Swifthold';
} else {
if (_root.posicion == 19 or _root.posicion == 21 or _root.posicion == 23 or _root.posicion == 24) {
_root.enemigo1 = 'Swifthold';
_root.enemigo2 = 'Medic';
} else {
if (_root.posicion == 25 or _root.posicion == 27 or _root.posicion == 28) {
_root.enemigo1 = 'Swifthold';
_root.enemigo2 = 'Medic';
_root.enemigo3 = 'Brawler';
} else {
if (_root.posicion == 29) {
if (_root.nodosestados[29] == 7) {
_root.enemigo1 = 'Brawler';
_root.enemigo2 = 'Hadrick';
_root.enemigo3 = 'Medic';
_root.dialogosmostrar = 2;
_root.dialogosmostrara = 2;
} else {
_root.enemigo1 == 'Blee';
_root.dialogosmostrar = 3;
_root.dialogosmostrara = 11;
}
} else {
if (_root.posicion == 22) {
if (_root.nodosestados[22] != 5) {
_root.enemigo1 = 'Golem';
} else {
_root.enemigo1 = 'Swifthold';
_root.enemigo2 = 'Medic';
_root.enemigo3 = 'Brawler';
}
} else {
if (_root.posicion == 37) {
_root.enemigo1 = 'Puddlefin Warrior';
} else {
if (_root.posicion == 37 or _root.posicion == 38 or _root.posicion == 39 or _root.posicion == 40) {
seleccionar = Math.round(Math.random() * 1 + 1);
if (seleccionar == 1) {
_root.enemigo1 = 'Puddlefin Warrior';
_root.enemigo2 = 'Puddlefin Oracle';
} else {
_root.enemigo1 = 'Puddlefin Warrior';
_root.enemigo2 = 'Puddlefin Warrior';
}
} else {
if (_root.posicion == 42 or _root.posicion == 43 or _root.posicion == 44 or _root.posicion == 45 or _root.posicion == 47) {
_root.enemigo1 = 'Puddlefin Warrior';
seleccionar = Math.round(Math.random() * 2 + 1);
if (seleccionar == 1) {
_root.enemigo2 = 'Puddlefin Warrior';
} else {
if (seleccionar == 2) {
_root.enemigo2 = 'Puddlefin Shaman';
} else {
_root.enemigo2 = 'Puddlefin Oracle';
}
}
if (seleccionar == 1) {
_root.enemigo3 = 'Puddlefin Oracle';
}
} else {
if (_root.posicion == 45 or _root.posicion == 47) {
_root.enemigo1 = 'Puddlefin Warrior';
_root.enemigo2 = 'Puddlefin Shaman';
_root.enemigo3 = 'Puddlefin Oracle';
} else {
if (_root.posicion == 46) {
if (_root.nodosestados[46] != 5) {
_root.enemigo1 = 'Lyle';
_root.dialogosmostrar = 2;
_root.dialogosmostrara = 3;
} else {
_root.enemigo1 = 'Puddlefin Warrior';
}
} else {
if (_root.posicion == 49) {
if (_root.nodosestados[49] == 7) {
_root.enemigo1 = 'Jevynn';
_root.enemigo2 = 'Secreto';
} else {
_root.enemigo1 = 'Blee';
_root.dialogosmostrar = 3;
_root.dialogosmostrara = 11;
}
} else {
if (_root.posicion == 41) {
if (_root.nodosestados[41] != 5) {
_root.misiones[8] = 1;
_root.enemigo1 = 'Thalquin';
_root.dialogosmostrar = 2;
_root.dialogosmostrara = 4;
} else {
_root.enemigo1 = 'Thalquin Party';
_root.dialogosmostrar = 1;
_root.dialogosmostrara = 5;
}
} else {
if (_root.posicion == 50) {
_root.enemigo1 = 'Kinguard Scout';
_root.dialogosmostrar = 1;
_root.dialogosmostrara = 15;
} else {
if (_root.posicion == 55 or _root.posicion == 56) {
_root.enemigo1 = 'Kinguard Knight';
_root.enemigo2 = 'Kinguard Knight';
} else {
if (_root.posicion == 59 or _root.posicion == 60 or _root.posicion == 61 or _root.posicion == 58) {
seleccionar = Math.round(Math.random() * 1 + 1);
if (seleccionar == 1) {
_root.enemigo1 = 'Kinguard Knight';
_root.enemigo2 = 'Kinguard Knight';
} else {
_root.enemigo1 = 'Kinguard Knight';
_root.enemigo2 = 'Kinguard Sage';
}
} else {
if (_root.posicion == 63 or _root.posicion == 64 or _root.posicion == 65) {
seleccionar = Math.round(Math.random() * 2 + 1);
if (seleccionar == 1) {
_root.enemigo1 = 'Kinguard Knight';
_root.enemigo2 = 'Kinguard Sage';
_root.enemigo3 = 'Kinguard Knight';
} else {
if (seleccionar == 2) {
_root.enemigo2 = 'Kinguard Knight';
_root.enemigo1 = 'Captive Troll';
} else {
_root.enemigo2 = 'Kinguard Sage';
_root.enemigo1 = 'Captive Troll';
}
}
} else {
if (_root.posicion == 67) {
_root.enemigo1 = 'Captive Troll';
_root.enemigo2 = 'Kinguard Knight';
} else {
if (_root.posicion == 66) {
_root.enemigo1 = 'Mountain Spirit';
_root.enemigo2 = 'Secreto';
_root.enemigo3 = 'Secreto';
_root.dialogosmostrar = 1;
_root.dialogosmostrara = 14;
} else {
if (_root.posicion == 68) {
if (_root.nodosestados[68] == 7) {
_root.enemigo1 = 'Zarr';
_root.enemigo2 = 'Malachi';
_root.dialogosmostrar = 2;
_root.dialogosmostrara = 8;
} else {
_root.enemigo1 = 'Blee';
_root.dialogosmostrar = 3;
_root.dialogosmostrara = 11;
}
} else {
if (_root.posicion == 76 or _root.posicion == 77 or _root.posicion == 78 or _root.posicion == 80 or _root.posicion == 81 or _root.posicion == 83 or _root.posicion == 85 or _root.posicion == 86) {
seleccionar = Math.round(Math.random() * 7 + 1);
if (seleccionar == 1) {
_root.enemigo1 = 'Spawn';
_root.enemigo2 = 'Servant';
} else {
if (seleccionar == 2) {
_root.enemigo2 = 'Hell';
_root.enemigo1 = 'Spawn';
} else {
if (seleccionar == 3) {
_root.enemigo2 = 'Hell';
_root.enemigo1 = 'Spawn';
} else {
if (seleccionar == 4) {
_root.enemigo2 = 'Servant';
_root.enemigo1 = 'Spawn';
} else {
if (seleccionar == 5) {
_root.enemigo3 = 'Hell';
_root.enemigo2 = 'Hell';
_root.enemigo1 = 'Servant';
} else {
if (seleccionar == 6) {
_root.enemigo2 = 'Hell';
_root.enemigo1 = 'Servant';
} else {
if (seleccionar == 7) {
_root.enemigo1 = 'Servant';
} else {
_root.enemigo1 = 'Spawn';
}
}
}
}
}
}
}
} else {
if (_root.posicion == 84) {
if (_root.nodosestados[84] == 3) {
_root.enemigo1 = 'Greshix';
_root.dialogosmostrar = 1;
_root.dialogosmostrara = 12;
} else {
_root.enemigo1 = 'Spawn';
}
} else {
if (_root.posicion == 79) {
if (_root.nodosestados[79] == 3) {
_root.enemigo1 = 'Batheel';
_root.dialogosmostrar = 1;
_root.dialogosmostrara = 13;
} else {
_root.enemigo1 = 'Spawn';
}
} else {
if (_root.posicion == 74) {
if (_root.nodosestados[74] == 3) {
_root.enemigo1 = 'Jor';
_root.dialogosmostrar = 2;
_root.dialogosmostrara = 7;
} else {
_root.enemigo1 = 'Spawn';
}
} else {
if (_root.posicion == 87) {
if (_root.nodosestados[87] == 7) {
_root.enemigo1 = 'Larris';
_root.dialogosmostrar = 2;
_root.dialogosmostrara = 9;
} else {
_root.enemigo1 = 'Blee';
_root.dialogosmostrar = 3;
_root.dialogosmostrara = 11;
}
} else {
if (_root.posicion == 62) {
if (_root.nodosestados[62] != 5) {
_root.enemigo1 = 'Thalquin';
_root.dialogosmostrar = 3;
_root.dialogosmostrara = 4;
} else {
_root.enemigo1 = 'Thalquin Party';
_root.dialogosmostrar = 1;
_root.dialogosmostrara = 5;
}
} else {
if (_root.posicion == 75) {
if (_root.nodosestados[75] != 5) {
_root.misiones[8] = 1;
_root.enemigo1 = 'Thalquin Party';
_root.dialogosmostrar = 2;
_root.dialogosmostrara = 6;
} else {
_root.enemigo1 = 'Servant';
_root.dialogosmostrar = 1;
_root.dialogosmostrara = 5;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.enemigo1 == 'Goblin') {
_root.enemigo1vida = 50;
_root.enemigo1vidatotal = 50;
} else {
if (_root.enemigo1 == 'Crossbowgoblin') {
_root.enemigo1vida = 60;
_root.enemigo1vidatotal = 60;
} else {
if (_root.enemigo1 == 'Battle Hog') {
_root.enemigo1vida = 120;
_root.enemigo1vidatotal = 120;
} else {
if (_root.enemigo1 == 'Goblin Bombsmith') {
_root.enemigo1vida = 90;
_root.enemigo1vidatotal = 90;
} else {
if (_root.enemigo1 == 'Goblin Highborn') {
_root.enemigo1vida = 160;
_root.enemigo1vidatotal = 160;
} else {
if (_root.enemigo1 == 'Empty') {
_root.enemigo1vida = 0;
_root.enemigo1vidatotal = 1;
} else {
if (_root.enemigo1 == 'Swifthold') {
_root.enemigo1vida = 200;
_root.enemigo1vidatotal = 200;
} else {
if (_root.enemigo1 == 'Medic') {
_root.enemigo1vida = 160;
_root.enemigo1vidatotal = 160;
} else {
if (_root.enemigo1 == 'Brawler') {
_root.enemigo1vida = 300;
_root.enemigo1vidatotal = 300;
} else {
if (_root.enemigo1 == 'Hadrick') {
_root.enemigo1vida = 450;
_root.enemigo1vidatotal = 450;
} else {
if (_root.enemigo1 == 'Golem') {
_root.enemigo1vida = 3000;
_root.enemigo1vidatotal = 3000;
} else {
if (_root.enemigo1 == 'Puddlefin Warrior') {
_root.enemigo1vida = 450;
_root.enemigo1vidatotal = 450;
} else {
if (_root.enemigo1 == 'Puddlefin Shaman') {
_root.enemigo1vida = 300;
_root.enemigo1vidatotal = 300;
} else {
if (_root.enemigo1 == 'Lyle') {
_root.enemigo1vida = 1100;
_root.enemigo1vidatotal = 1100;
} else {
if (_root.enemigo1 == 'Jevynn') {
_root.enemigo1vida = 3500;
_root.enemigo1vidatotal = 3500;
} else {
if (_root.enemigo1 == 'Thalquin' or _root.enemigo1 == 'Thalquin Party') {
_root.enemigo1vida = 1800;
_root.enemigo1vidatotal = 1800;
} else {
if (_root.enemigo1 == 'Kinguard Scout') {
_root.enemigo1vida = 1200;
_root.enemigo1vidatotal = 1200;
} else {
if (_root.enemigo1 == 'Kinguard Knight') {
_root.enemigo1vida = 700;
_root.enemigo1vidatotal = 700;
} else {
if (_root.enemigo1 == 'Kinguard Sage') {
_root.enemigo1vida = 550;
_root.enemigo1vidatotal = 550;
} else {
if (_root.enemigo1 == 'Captive Troll') {
_root.enemigo1vida = 2000;
_root.enemigo1vidatotal = 2000;
} else {
if (_root.enemigo1 == 'Zarr') {
_root.enemigo1vida = 2700;
_root.enemigo1vidatotal = 2700;
} else {
if (_root.enemigo1 == 'Mountain Spirit') {
_root.enemigo1vida = 2200;
_root.enemigo1vidatotal = 2200;
_root.enemigo2vidatotal = 2200;
_root.enemigo3vidatotal = 2200;
} else {
if (_root.enemigo1 == 'Hell') {
_root.enemigo1vida = 600;
_root.enemigo1vidatotal = 600;
} else {
if (_root.enemigo1 == 'Servant') {
_root.enemigo1vida = 950;
_root.enemigo1vidatotal = 950;
} else {
if (_root.enemigo1 == 'Spawn') {
_root.enemigo1vida = 1600;
_root.enemigo1vidatotal = 1600;
} else {
if (_root.enemigo1 == 'Greshix') {
_root.enemigo1vida = 5000;
_root.enemigo1vidatotal = 5000;
} else {
if (_root.enemigo1 == 'Batheel') {
_root.enemigo1vida = 1250;
_root.enemigo1vidatotal = 1250;
} else {
if (_root.enemigo1 == 'Jor') {
_root.enemigo1vida = 1400;
_root.enemigo1vidatotal = 1400;
} else {
if (_root.enemigo1 == 'Larris') {
_root.enemigo1vida = 3000;
_root.enemigo1vidatotal = 3000;
} else {
if (_root.enemigo1 == 'Blee') {
_root.enemigo1vida = 300;
_root.enemigo1vidatotal = 300;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.enemigo2 == 'Goblin') {
_root.enemigo2vida = 50;
_root.enemigo2vidatotal = 50;
} else {
if (_root.enemigo2 == 'Crossbowgoblin') {
_root.enemigo2vida = 60;
_root.enemigo2vidatotal = 60;
} else {
if (_root.enemigo2 == 'Battle Hog') {
_root.enemigo2vida = 120;
_root.enemigo2vidatotal = 120;
} else {
if (_root.enemigo2 == 'Goblin Bombsmith') {
_root.enemigo2vida = 90;
_root.enemigo2vidatotal = 90;
} else {
if (_root.enemigo2 == 'Goblin Highborn') {
_root.enemigo2vida = 160;
_root.enemigo2vidatotal = 160;
} else {
if (_root.enemigo2 == 'Empty') {
_root.enemigo2vida = 0;
_root.enemigo2vidatotal = 1;
} else {
if (_root.enemigo2 == 'Goblin King') {
_root.enemigo2vida = 240;
_root.enemigo2vidatotal = 240;
} else {
if (_root.enemigo2 == 'Swifthold') {
_root.enemigo2vida = 200;
_root.enemigo2vidatotal = 200;
} else {
if (_root.enemigo2 == 'Medic') {
_root.enemigo2vida = 160;
_root.enemigo2vidatotal = 160;
} else {
if (_root.enemigo2 == 'Brawler') {
_root.enemigo2vida = 300;
_root.enemigo2vidatotal = 300;
} else {
if (_root.enemigo2 == 'Hadrick') {
_root.enemigo2vida = 450;
_root.enemigo2vidatotal = 450;
} else {
if (_root.enemigo2 == 'Puddlefin Warrior') {
_root.enemigo2vida = 450;
_root.enemigo2vidatotal = 450;
} else {
if (_root.enemigo2 == 'Puddlefin Oracle') {
_root.enemigo2vida = 400;
_root.enemigo2vidatotal = 400;
} else {
if (_root.enemigo2 == 'Puddlefin Shaman') {
_root.enemigo2vida = 300;
_root.enemigo2vidatotal = 300;
} else {
if (_root.enemigo2 == 'Secreto') {
_root.enemigo2vida = 0;
_root.enemigo2vidatotal = 850;
} else {
if (_root.enemigo2 == 'Kinguard Scout') {
_root.enemigo2vida = 1200;
_root.enemigo2vidatotal = 1200;
} else {
if (_root.enemigo2 == 'Kinguard Knight') {
_root.enemigo2vida = 700;
_root.enemigo2vidatotal = 700;
} else {
if (_root.enemigo2 == 'Kinguard Sage') {
_root.enemigo2vida = 550;
_root.enemigo2vidatotal = 550;
} else {
if (_root.enemigo2 == 'Captive Troll') {
_root.enemigo2vida = 2000;
_root.enemigo2vidatotal = 2000;
} else {
if (_root.enemigo2 == 'Malachi') {
_root.enemigo2vida = 2000;
_root.enemigo2vidatotal = 2000;
} else {
if (_root.enemigo2 == 'Mountain Spirit') {
_root.enemigo2vida = 2200;
_root.enemigo2vidatotal = 2200;
} else {
if (_root.enemigo2 == 'Hell') {
_root.enemigo2vida = 600;
_root.enemigo2vidatotal = 600;
} else {
if (_root.enemigo2 == 'Servant') {
_root.enemigo2vida = 950;
_root.enemigo2vidatotal = 950;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.enemigo3 == 'Goblin') {
_root.enemigo3vida = 50;
_root.enemigo3vidatotal = 50;
} else {
if (_root.enemigo3 == 'Crossbowgoblin') {
_root.enemigo3vida = 60;
_root.enemigo3vidatotal = 60;
} else {
if (_root.enemigo3 == 'Battle Hog') {
_root.enemigo3vida = 120;
_root.enemigo3vidatotal = 120;
} else {
if (_root.enemigo3 == 'Goblin Bombsmith') {
_root.enemigo3vida = 90;
_root.enemigo3vidatotal = 90;
} else {
if (_root.enemigo3 == 'Goblin Highborn') {
_root.enemigo3vida = 160;
_root.enemigo3vidatotal = 160;
} else {
if (_root.enemigo3 == 'Empty') {
_root.enemigo3vida = 0;
_root.enemigo3vidatotal = 1;
} else {
if (_root.enemigo3 == 'Swifthold') {
_root.enemigo3vida = 200;
_root.enemigo3vidatotal = 200;
} else {
if (_root.enemigo3 == 'Medic') {
_root.enemigo3vida = 160;
_root.enemigo3vidatotal = 160;
} else {
if (_root.enemigo3 == 'Brawler') {
_root.enemigo3vida = 300;
_root.enemigo3vidatotal = 300;
} else {
if (_root.enemigo3 == 'Hadrick') {
_root.enemigo3vida = 450;
_root.enemigo3vidatotal = 450;
} else {
if (_root.enemigo3 == 'Puddlefin Warrior') {
_root.enemigo3vida = 450;
_root.enemigo3vidatotal = 450;
} else {
if (_root.enemigo3 == 'Puddlefin Oracle') {
_root.enemigo3vida = 400;
_root.enemigo3vidatotal = 400;
} else {
if (_root.enemigo3 == 'Puddlefin Shaman') {
_root.enemigo3vida = 300;
_root.enemigo3vidatotal = 300;
} else {
if (_root.enemigo3 == 'Kinguard Scout') {
_root.enemigo3vida = 1200;
_root.enemigo3vidatotal = 1200;
} else {
if (_root.enemigo3 == 'Kinguard Knight') {
_root.enemigo3vida = 700;
_root.enemigo3vidatotal = 700;
} else {
if (_root.enemigo3 == 'Kinguard Sage') {
_root.enemigo3vida = 550;
_root.enemigo3vidatotal = 550;
} else {
if (_root.enemigo3 == 'Captive Troll') {
_root.enemigo3vida = 2000;
_root.enemigo3vidatotal = 2000;
} else {
if (_root.enemigo3 == 'Mountain Spirit') {
_root.enemigo3vida = 2200;
_root.enemigo3vidatotal = 2200;
} else {
if (_root.enemigo3 == 'Hell') {
_root.enemigo3vida = 600;
_root.enemigo3vidatotal = 600;
} else {
if (_root.enemigo3 == 'Servant') {
_root.enemigo3vida = 950;
_root.enemigo3vidatotal = 950;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.enemigo1 == 'Mountain Spirit') {
_root.enemigo1vidatotal = 2200;
_root.enemigo2vidatotal = 2200;
_root.enemigo3vidatotal = 2200;
}
_root.pegara = 1;
_root.estadojevynn = 1;
_root.malachiefecto = 0;
if (_root.enemigo1 == 'Larris') {
_root.extralarris = 1;
_root.escudolarris = 0;
} else {
_root.extralarris = 0;
_root.escudolarris = 0;
}
}
frame 4 {
_root.transin.gotoAndStop(1);
}
frame 4 {
_root.mainm.stop();
_root.battle.play();
_root.victorym.stop();
_root.defeatm.stop();
}
movieClip 887 {
frame 1 {
if (_root.enemigo1 == 'Larris') {
gotoAndStop(1);
}
}
frame 2 {
if (_root.enemigo1 == 'Larris') {
gotoAndStop(1);
}
}
frame 3 {
if (_root.enemigo1 == 'Larris') {
gotoAndStop(1);
}
}
frame 3644 {
gotoAndPlay(2);
}
}
movieClip 890 {
frame 1 {
if (_root.enemigo1 != 'Larris') {
gotoAndStop(1);
}
}
frame 2 {
if (_root.enemigo1 != 'Larris') {
gotoAndStop(1);
}
}
frame 3 {
if (_root.enemigo1 != 'Larris') {
gotoAndStop(1);
}
}
frame 4313 {
gotoAndPlay(2);
}
}
movieClip 892 {
frame 2 {
_root.battle.stop();
}
frame 195 {
_root.battle.stop();
}
frame 419 {
stop();
}
}
movieClip 894 {
frame 2 {
_root.battle.stop();
}
frame 542 {
stop();
}
}
button 896 {
on (release) {
getURL('http://armor.ag/MoreGames', '_blank');
}
}
movieClip 917 {
}
instance of movieClip 917 {
onClipEvent (enterFrame) {
if (_root.posicion == 3 or _root.posicion == 5 or _root.posicion == 6 or _root.posicion == 7) {
gotoAndStop(1);
} else {
if (_root.posicion == 9 or _root.posicion == 8 or _root.posicion == 10 or _root.posicion == 1) {
gotoAndStop(2);
} else {
if (_root.posicion == 12) {
gotoAndStop(3);
} else {
if (_root.posicion == 18 or _root.posicion == 25) {
gotoAndStop(4);
} else {
if (_root.posicion == 17 or _root.posicion == 19 or _root.posicion == 20 or _root.posicion == 21 or _root.posicion == 23 or _root.posicion == 24 or _root.posicion == 26 or _root.posicion == 27 or _root.posicion == 28) {
gotoAndStop(5);
} else {
if (_root.posicion == 29) {
gotoAndStop(6);
} else {
if (_root.posicion == 22) {
gotoAndStop(7);
} else {
if (_root.posicion == 37 or _root.posicion == 42 or _root.posicion == 43 or _root.posicion == 44 or _root.posicion == 45 or _root.posicion == 47) {
gotoAndStop(8);
} else {
if (_root.posicion == 38 or _root.posicion == 39) {
gotoAndStop(9);
} else {
if (_root.posicion == 46) {
gotoAndStop(10);
} else {
if (_root.posicion == 41) {
gotoAndStop(11);
} else {
if (_root.posicion == 49) {
gotoAndStop(12);
} else {
if (_root.posicion == 50) {
gotoAndStop(13);
} else {
if (_root.posicion == 55 or _root.posicion == 59 or _root.posicion == 60 or _root.posicion == 64 or _root.posicion == 65) {
gotoAndStop(14);
} else {
if (_root.posicion == 56 or _root.posicion == 58 or _root.posicion == 61 or _root.posicion == 63 or _root.posicion == 66 or _root.posicion == 67) {
gotoAndStop(13);
} else {
if (_root.posicion == 62) {
gotoAndStop(15);
} else {
if (_root.posicion == 68) {
gotoAndStop(16);
} else {
if (_root.posicion == 76 or _root.posicion == 75 or _root.posicion == 83 or _root.posicion == 85 or _root.posicion == 86) {
gotoAndStop(17);
} else {
if (_root.posicion == 77 or _root.posicion == 78 or _root.posicion == 80 or _root.posicion == 81 or _root.posicion == 74) {
gotoAndStop(20);
} else {
if (_root.posicion == 84) {
gotoAndStop(18);
} else {
if (_root.posicion == 79) {
gotoAndStop(19);
} else {
if (_root.posicion == 87) {
gotoAndStop(21);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
movieClip 921 {
}
movieClip 922 {
}
instance of movieClip 922 {
onClipEvent (load) {
percentloaded = 0;
lastone = 1;
}
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.player1life / _root.player1lifetotal) * 100);
this.gotoAndStop(percentloaded + 1);
}
}
movieClip 924 {
}
movieClip 925 {
}
movieClip 932 {
}
instance of movieClip 932 {
onClipEvent (enterFrame) {
if (_root.player2 == 'Ridge') {
this.gotoAndStop(1);
} else {
if (_root.player2 == 'Vance') {
this.gotoAndStop(2);
} else {
if (_root.player2 == 'Nesyss') {
this.gotoAndStop(3);
} else {
if (_root.player2 == 'Wyvern') {
this.gotoAndStop(4);
} else {
if (_root.player2 == 'Cog') {
this.gotoAndStop(5);
} else {
if (_root.player2 == 'Tindra') {
this.gotoAndStop(6);
}
}
}
}
}
}
}
}
instance of movieClip 922 {
onClipEvent (load) {
percentloaded = 0;
lastone = 1;
}
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.player2life / _root.player2lifetotal) * 100);
this.gotoAndStop(percentloaded + 1);
}
}
movieClip 942 {
}
movieClip 944 {
}
instance of movieClip 944 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.player2orbs + 1);
}
}
instance of movieClip 944 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.player1orbs + 1);
}
}
instance of movieClip 932 {
onClipEvent (enterFrame) {
if (_root.player1 == 'Ridge') {
this.gotoAndStop(1);
} else {
if (_root.player1 == 'Vance') {
this.gotoAndStop(2);
} else {
if (_root.player1 == 'Nesyss') {
this.gotoAndStop(3);
} else {
if (_root.player1 == 'Wyvern') {
this.gotoAndStop(4);
} else {
if (_root.player1 == 'Cog') {
this.gotoAndStop(5);
} else {
if (_root.player1 == 'Tindra') {
this.gotoAndStop(6);
}
}
}
}
}
}
}
}
movieClip 947 {
}
movieClip 950 {
}
// unknown tag 88 length 62
movieClip 985 {
instance of movieClip 922 {
onClipEvent (load) {
percentloaded = 0;
lastone = 1;
}
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.enemigo1vida / _root.enemigo1vidatotal) * 100);
this.gotoAndStop(percentloaded + 1);
}
}
instance of movieClip 944 {
onClipEvent (enterFrame) {
if (_root.extralarris == 1) {
gotoAndStop(5);
} else {
gotoAndStop(1);
}
}
}
}
movieClip 987 {
frame 1 {
stop();
}
instance of movieClip 922 {
onClipEvent (load) {
percentloaded = 0;
lastone = 1;
}
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.enemigo1vida / _root.enemigo1vidatotal) * 100);
this.gotoAndStop(percentloaded + 1);
}
}
}
movieClip 993 {
}
movieClip 1001 {
}
movieClip 1008 {
frame 24 {
stop();
}
}
movieClip 1013 {
frame 5 {
stop();
}
}
movieClip 1022 {
frame 17 {
stop();
}
}
movieClip 1024 {
frame 1 {
stop();
}
}
movieClip 1032 {
}
movieClip 1044 {
frame 19 {
stop();
}
}
movieClip 1049 {
frame 5 {
stop();
}
}
movieClip 1056 {
frame 13 {
stop();
}
}
movieClip 1058 {
}
movieClip 1069 {
}
movieClip 1078 {
frame 13 {
stop();
}
}
movieClip 1083 {
frame 7 {
stop();
}
}
movieClip 1089 {
frame 11 {
stop();
}
}
movieClip 1091 {
}
movieClip 1097 {
}
movieClip 1107 {
frame 15 {
stop();
}
}
movieClip 1112 {
frame 6 {
stop();
}
}
movieClip 1121 {
frame 13 {
stop();
}
}
movieClip 1123 {
}
movieClip 1129 {
}
movieClip 1141 {
frame 19 {
stop();
}
}
movieClip 1146 {
frame 5 {
stop();
}
}
movieClip 1153 {
frame 13 {
stop();
}
}
movieClip 1155 {
}
movieClip 1160 {
frame 1 {
stop();
this.gotoAndStop(_root.cabeza1);
}
}
movieClip 1166 {
}
movieClip 1177 {
}
movieClip 1178 {
frame 40 {
stop();
}
}
movieClip 1192 {
frame 24 {
stop();
}
}
movieClip 1198 {
frame 5 {
stop();
}
}
movieClip 1207 {
frame 11 {
stop();
}
}
movieClip 1209 {
}
movieClip 1215 {
}
movieClip 1222 {
frame 10 {
stop();
}
}
movieClip 1234 {
frame 17 {
stop();
}
}
movieClip 1240 {
frame 8 {
stop();
}
}
movieClip 1246 {
frame 11 {
stop();
}
}
movieClip 1248 {
}
movieClip 1256 {
}
movieClip 1267 {
frame 17 {
stop();
}
}
movieClip 1272 {
frame 5 {
stop();
}
}
movieClip 1278 {
frame 11 {
stop();
}
}
movieClip 1280 {
}
movieClip 1283 {
}
movieClip 1289 {
}
movieClip 1300 {
frame 16 {
stop();
}
}
movieClip 1306 {
frame 6 {
stop();
}
}
movieClip 1314 {
}
movieClip 1321 {
frame 24 {
stop();
}
}
movieClip 1323 {
}
movieClip 1332 {
}
movieClip 1346 {
}
movieClip 1362 {
frame 15 {
stop();
}
}
movieClip 1370 {
frame 4 {
stop();
}
}
movieClip 1380 {
frame 10 {
stop();
}
}
movieClip 1394 {
frame 14 {
stop();
}
}
movieClip 1410 {
frame 15 {
stop();
}
}
movieClip 1413 {
}
movieClip 1419 {
}
movieClip 1430 {
frame 17 {
stop();
}
}
movieClip 1434 {
frame 3 {
stop();
}
}
movieClip 1440 {
frame 11 {
stop();
}
}
movieClip 1442 {
}
movieClip 1453 {
frame 17 {
stop();
}
}
movieClip 1460 {
}
movieClip 1468 {
frame 15 {
stop();
}
}
movieClip 1477 {
frame 8 {
stop();
}
}
movieClip 1490 {
frame 13 {
stop();
}
}
movieClip 1505 {
frame 23 {
stop();
}
}
movieClip 1522 {
}
movieClip 1539 {
frame 15 {
stop();
}
}
movieClip 1541 {
}
movieClip 1544 {
}
movieClip 1551 {
frame 4 {
stop();
}
}
movieClip 1561 {
frame 17 {
stop();
}
}
movieClip 1571 {
frame 15 {
stop();
}
}
movieClip 1574 {
}
movieClip 1583 {
}
movieClip 1587 {
}
movieClip 1597 {
}
movieClip 1611 {
frame 13 {
stop();
}
}
movieClip 1632 {
frame 11 {
stop();
}
}
movieClip 1648 {
frame 18 {
stop();
}
}
movieClip 1656 {
frame 4 {
stop();
}
}
movieClip 1659 {
}
movieClip 1667 {
}
movieClip 1678 {
frame 11 {
stop();
}
}
movieClip 1683 {
frame 5 {
stop();
}
}
movieClip 1690 {
frame 13 {
stop();
}
}
movieClip 1692 {
}
movieClip 1698 {
}
movieClip 1709 {
frame 18 {
stop();
}
}
movieClip 1714 {
frame 4 {
stop();
}
}
movieClip 1721 {
frame 12 {
stop();
}
}
movieClip 1723 {
}
movieClip 1729 {
}
movieClip 1740 {
frame 16 {
stop();
}
}
movieClip 1743 {
}
movieClip 1744 {
}
movieClip 1752 {
frame 21 {
stop();
}
}
movieClip 1757 {
frame 4 {
stop();
}
}
movieClip 1764 {
frame 13 {
stop();
}
}
movieClip 1766 {
}
movieClip 1772 {
}
movieClip 1784 {
frame 15 {
stop();
}
}
movieClip 1789 {
frame 5 {
stop();
}
}
movieClip 1795 {
frame 11 {
stop();
}
}
movieClip 1797 {
}
movieClip 1800 {
}
movieClip 1802 {
}
movieClip 1810 {
}
movieClip 1812 {
}
movieClip 1819 {
frame 17 {
stop();
}
}
movieClip 1821 {
}
movieClip 1822 {
frame 10 {
stop();
}
}
movieClip 1824 {
frame 10 {
stop();
}
}
movieClip 1826 {
}
movieClip 1834 {
}
movieClip 1843 {
frame 100 {
stop();
}
}
movieClip 1851 {
}
movieClip 1852 {
frame 40 {
stop();
}
}
movieClip 1870 {
frame 22 {
stop();
}
}
movieClip 1875 {
frame 5 {
stop();
}
}
movieClip 1886 {
frame 13 {
stop();
}
}
movieClip 1888 {
}
movieClip 1897 {
}
movieClip 1900 {
}
movieClip 1902 {
}
movieClip 1908 {
}
movieClip 1909 {
frame 13 {
stop();
}
}
movieClip 1913 {
frame 7 {
stop();
}
}
movieClip 1917 {
}
movieClip 1927 {
frame 10 {
stop();
}
}
movieClip 1932 {
frame 4 {
stop();
}
}
movieClip 1939 {
frame 8 {
stop();
}
}
movieClip 1950 {
frame 10 {
stop();
}
}
movieClip 1952 {
}
movieClip 1953 {
}
movieClip 1966 {
}
movieClip 1980 {
}
movieClip 2008 {
frame 18 {
stop();
}
}
movieClip 2016 {
frame 4 {
stop();
}
}
movieClip 2027 {
frame 10 {
stop();
}
}
movieClip 2030 {
}
movieClip 2036 {
}
movieClip 2049 {
frame 17 {
stop();
}
}
movieClip 2054 {
frame 4 {
stop();
}
}
movieClip 2064 {
frame 16 {
stop();
}
}
movieClip 2066 {
}
movieClip 2073 {
}
movieClip 2086 {
frame 16 {
stop();
}
}
movieClip 2091 {
frame 4 {
stop();
}
}
movieClip 2102 {
frame 15 {
stop();
}
}
movieClip 2104 {
}
movieClip 2113 {
}
movieClip 2121 {
}
movieClip 2122 {
frame 1 {
stop();
}
}
movieClip 2125 {
}
movieClip 2135 {
frame 26 {
stop();
}
}
movieClip 2140 {
frame 4 {
stop();
}
}
movieClip 2146 {
frame 10 {
stop();
}
}
movieClip 2148 {
}
movieClip 2154 {
}
movieClip 2164 {
frame 13 {
stop();
}
}
movieClip 2168 {
frame 6 {
stop();
}
}
movieClip 2179 {
frame 20 {
stop();
}
}
movieClip 2181 {
}
movieClip 2183 {
}
movieClip 2191 {
}
movieClip 2202 {
frame 11 {
stop();
}
}
movieClip 2205 {
}
movieClip 2217 {
frame 1 {
stop();
}
}
movieClip 2225 {
frame 27 {
stop();
}
}
movieClip 2233 {
frame 13 {
stop();
}
}
movieClip 2238 {
frame 4 {
stop();
}
}
movieClip 2253 {
frame 18 {
stop();
}
}
movieClip 2258 {
}
movieClip 2261 {
}
movieClip 2263 {
}
movieClip 2269 {
frame 35 {
stop();
_root.enemigo1vida = 1250;
_root.enemigo1vidatotal = 1250;
_root.extralarris = 0;
}
}
movieClip 2277 {
}
movieClip 2293 {
frame 16 {
stop();
}
}
movieClip 2297 {
}
movieClip 2299 {
}
movieClip 2300 {
frame 1 {
stop();
}
}
movieClip 2307 {
frame 14 {
stop();
}
}
movieClip 2312 {
frame 4 {
stop();
}
}
movieClip 2328 {
frame 55 {
stop();
}
}
movieClip 2332 {
}
movieClip 2335 {
frame 6 {
stop();
}
}
movieClip 2336 {
frame 1 {
stop();
}
}
movieClip 2343 {
}
movieClip 2354 {
frame 22 {
stop();
}
}
movieClip 2362 {
}
movieClip 2367 {
frame 4 {
stop();
}
}
movieClip 2376 {
frame 53 {
stop();
}
}
movieClip 2377 {
}
movieClip 2378 {
frame 1 {
if (_root.enemigo1 == 'Goblin') {
stop();
} else {
if (_root.enemigo1 == 'Crossbowgoblin') {
gotoAndStop(2);
} else {
if (_root.enemigo1 == 'Battle Hog') {
gotoAndStop(3);
} else {
if (_root.enemigo1 == 'Goblin Bombsmith') {
gotoAndStop(4);
} else {
if (_root.enemigo1 == 'Goblin Highborn') {
gotoAndStop(5);
} else {
if (_root.enemigo1 == 'Empty') {
gotoAndStop(6);
} else {
if (_root.enemigo1 == 'Swifthold') {
gotoAndStop(7);
} else {
if (_root.enemigo1 == 'Medic') {
gotoAndStop(8);
} else {
if (_root.enemigo1 == 'Brawler') {
gotoAndStop(9);
} else {
if (_root.enemigo1 == 'Golem') {
gotoAndStop(10);
} else {
if (_root.enemigo1 == 'Puddlefin Warrior') {
gotoAndStop(11);
} else {
if (_root.enemigo1 == 'Lyle') {
gotoAndStop(12);
} else {
if (_root.enemigo1 == 'Jevynn') {
gotoAndStop(13);
} else {
if (_root.enemigo1 == 'Thalquin') {
gotoAndStop(14);
} else {
if (_root.enemigo1 == 'Captive Troll') {
gotoAndStop(15);
} else {
if (_root.enemigo1 == 'Kinguard Scout') {
gotoAndStop(16);
} else {
if (_root.enemigo1 == 'Kinguard Knight') {
gotoAndStop(17);
} else {
if (_root.enemigo1 == 'Kinguard Sage') {
gotoAndStop(18);
} else {
if (_root.enemigo1 == 'Mountain Spirit') {
gotoAndStop(19);
} else {
if (_root.enemigo1 == 'Zarr') {
gotoAndStop(20);
} else {
if (_root.enemigo1 == 'Hell') {
gotoAndStop(21);
} else {
if (_root.enemigo1 == 'Servant') {
gotoAndStop(22);
} else {
if (_root.enemigo1 == 'Spawn') {
gotoAndStop(23);
} else {
if (_root.enemigo1 == 'Greshix') {
gotoAndStop(24);
} else {
if (_root.enemigo1 == 'Batheel') {
gotoAndStop(25);
} else {
if (_root.enemigo1 == 'Jor') {
gotoAndStop(26);
} else {
if (_root.enemigo1 == 'Larris') {
gotoAndStop(27);
} else {
if (_root.enemigo1 == 'Thalquin Party') {
gotoAndStop(28);
} else {
if (_root.enemigo1 == 'Blee') {
gotoAndStop(29);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
instance of movieClip 83 {
onClipEvent (enterFrame) {
if (_root.enemigo1vida == 0) {
gotoAndStop(2);
}
}
}
instance enemigo1 of movieClip 1024 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 1058 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 1091 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 1123 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 1155 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 83 {
onClipEvent (enterFrame) {
if (_root.enemigo1vida == 0) {
gotoAndStop(2);
}
}
}
instance of movieClip 1209 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
gotoAndStop(4);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando == 1) {
gotoAndStop(3);
} else {
if (_root.enemigo1atacando == 2) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
}
} else {
gotoAndStop(5);
}
}
}
instance of movieClip 1248 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
gotoAndStop(4);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando == 2) {
gotoAndStop(3);
} else {
if (_root.enemigo1atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
}
} else {
gotoAndStop(5);
}
}
}
instance of movieClip 1280 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 1323 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 1413 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando == 1) {
gotoAndStop(2);
} else {
if (_root.invisible1 == 1) {
gotoAndStop(5);
} else {
if (_root.invisible1 == 0 and _root.saliendo1puddle == 1) {
gotoAndStop(6);
} else {
gotoAndStop(1);
}
}
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 1442 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 1574 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1 and _root.enemigo1vida > 3000 and _root.estadojevynn == 2) {
gotoAndStop(4);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (_root.enemigo1atacado == 1 and _root.enemigo1vida > 0 and _root.estadojevynn == 7) {
gotoAndStop(9);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
gotoAndStop(_root.estadojevynn);
}
}
}
} else {
gotoAndStop(11);
}
}
}
instance of movieClip 83 {
onClipEvent (enterFrame) {
if (_root.enemigo1vida == 0) {
gotoAndStop(2);
}
}
}
instance of movieClip 1659 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
gotoAndStop(5);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando > 0) {
gotoAndStop(_root.enemigo1atacando + 1);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 1692 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 1723 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 1766 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
gotoAndStop(4);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando > 0) {
gotoAndStop(_root.enemigo1atacando + 1);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(5);
}
}
}
instance of movieClip 1826 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando > 0) {
gotoAndStop(_root.enemigo1atacando + 1);
} else {
gotoAndStop(1);
}
}
} else {
gotoAndStop(5);
}
}
}
instance of movieClip 1888 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando > 0) {
gotoAndStop(_root.enemigo1atacando + 1);
} else {
gotoAndStop(1);
}
}
} else {
gotoAndStop(5);
}
}
}
instance of movieClip 1952 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
gotoAndStop(6);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando == 2) {
gotoAndStop(5);
} else {
if (_root.enemigo1atacando == 1) {
gotoAndStop(8);
} else {
if (_root.invisible1 == 1) {
gotoAndStop(2);
} else {
if (_root.invisible1 == 0 and _root.saliendo1puddle == 1) {
gotoAndStop(3);
} else {
gotoAndStop(1);
}
}
}
}
}
}
} else {
gotoAndStop(7);
}
}
}
instance of movieClip 1953 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.totem1 + 1);
}
}
instance of movieClip 2030 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 2066 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 2104 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 2148 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 2181 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 2332 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1 and _root.extralarris == 1) {
gotoAndStop(5);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (_root.enemigo1atacado == 1 and _root.extralarris == 1) {
gotoAndStop(11);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando > 0) {
gotoAndStop(_root.enemigo1atacando);
} else {
if (_root.extralarris == 1) {
gotoAndStop(1);
} else {
if (_root.extralarris == 0) {
gotoAndStop(8);
}
}
}
}
}
}
} else {
if (_root.extralarris == 0) {
gotoAndStop(12);
} else {
gotoAndStop(_root.enemigo1atacando);
}
}
}
}
instance of movieClip 2336 {
onClipEvent (enterFrame) {
if (_root.escudolarris == 0) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
}
}
instance of movieClip 83 {
onClipEvent (enterFrame) {
if (_root.enemigo1vida == 0) {
gotoAndStop(2);
}
}
}
instance ikNode_1 of movieClip 2377 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
if (_root.enemigo1atacado == 1) {
gotoAndStop(2);
lepegaroncooldown = 5;
_root.enemigo1atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo1atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(3);
}
}
}
}
movieClip 2383 {
frame 1 {
stop();
}
}
movieClip 2388 {
frame 1 {
stop();
}
}
movieClip 2392 {
frame 1 {
stop();
}
}
movieClip 2394 {
}
movieClip 2395 {
frame 1 {
stop();
}
}
movieClip 2402 {
frame 1 {
stop();
}
}
movieClip 2406 {
frame 1 {
stop();
}
}
movieClip 2414 {
frame 1 {
stop();
}
}
movieClip 2425 {
}
movieClip 2426 {
frame 21 {
stop();
}
}
movieClip 2427 {
frame 1 {
stop();
}
frame 34 {
stop();
}
}
movieClip 2435 {
frame 1 {
stop();
}
frame 18 {
stop();
}
}
movieClip 2440 {
frame 1 {
stop();
}
}
movieClip 2441 {
}
movieClip 2465 {
}
movieClip 2471 {
frame 1 {
stop();
}
}
movieClip 2479 {
frame 1 {
stop();
}
}
movieClip 2481 {
}
movieClip 2482 {
frame 1 {
stop();
}
}
movieClip 2484 {
}
movieClip 2485 {
frame 1 {
stop();
}
}
movieClip 2487 {
frame 1 {
stop();
}
}
movieClip 2492 {
frame 1 {
stop();
}
}
movieClip 2499 {
}
movieClip 2508 {
}
movieClip 2516 {
}
movieClip 2517 {
}
movieClip 2523 {
frame 19 {
stop();
}
}
movieClip 2534 {
frame 25 {
stop();
}
}
movieClip 2539 {
frame 5 {
stop();
}
}
movieClip 2555 {
}
movieClip 2556 {
frame 26 {
stop();
}
}
movieClip 2558 {
}
movieClip 2560 {
}
movieClip 2566 {
}
movieClip 2580 {
frame 15 {
stop();
}
}
movieClip 2594 {
frame 24 {
stop();
}
}
movieClip 2599 {
frame 5 {
stop();
}
}
movieClip 2606 {
frame 13 {
stop();
}
}
movieClip 2608 {
}
movieClip 2614 {
}
movieClip 2615 {
}
movieClip 2622 {
frame 23 {
stop();
}
}
movieClip 2630 {
frame 10 {
stop();
}
}
movieClip 2635 {
frame 4 {
stop();
}
}
movieClip 2645 {
frame 15 {
stop();
}
}
movieClip 2651 {
frame 10 {
stop();
}
}
movieClip 2653 {
}
movieClip 2664 {
}
movieClip 2681 {
frame 12 {
stop();
}
}
movieClip 2688 {
frame 4 {
stop();
}
}
movieClip 2697 {
frame 10 {
stop();
}
}
movieClip 2711 {
frame 13 {
stop();
}
}
movieClip 2724 {
frame 12 {
stop();
}
}
movieClip 2727 {
}
movieClip 2733 {
}
movieClip 2736 {
}
movieClip 2744 {
frame 19 {
stop();
}
}
movieClip 2749 {
}
movieClip 2755 {
frame 15 {
stop();
}
}
movieClip 2756 {
frame 7 {
stop();
}
}
movieClip 2761 {
frame 4 {
stop();
}
}
movieClip 2771 {
frame 14 {
stop();
}
}
movieClip 2773 {
}
movieClip 2774 {
frame 1 {
stop();
if (_root.enemigo2 == 'Goblin') {
stop();
} else {
if (_root.enemigo2 == 'Crossbowgoblin') {
gotoAndStop(2);
} else {
if (_root.enemigo2 == 'Battle Hog') {
gotoAndStop(3);
} else {
if (_root.enemigo2 == 'Goblin Bombsmith') {
gotoAndStop(4);
} else {
if (_root.enemigo2 == 'Goblin Highborn') {
gotoAndStop(5);
} else {
if (_root.enemigo2 == 'Empty' or _root.enemigo2 == 'Secreto') {
gotoAndStop(6);
} else {
if (_root.enemigo2 == 'Goblin King') {
gotoAndStop(7);
} else {
if (_root.enemigo2 == 'Swifthold') {
gotoAndStop(8);
} else {
if (_root.enemigo2 == 'Medic') {
gotoAndStop(9);
} else {
if (_root.enemigo2 == 'Brawler') {
gotoAndStop(10);
} else {
if (_root.enemigo2 == 'Hadrick') {
gotoAndStop(11);
} else {
if (_root.enemigo2 == 'Puddlefin Warrior') {
gotoAndStop(12);
} else {
if (_root.enemigo2 == 'Puddlefin Oracle') {
gotoAndStop(13);
} else {
if (_root.enemigo2 == 'Puddlefin Shaman') {
gotoAndStop(14);
} else {
if (_root.enemigo2 == 'Kinguard Knight') {
gotoAndStop(15);
} else {
if (_root.enemigo2 == 'Kinguard Sage') {
gotoAndStop(16);
} else {
if (_root.enemigo2 == 'Captive Troll') {
gotoAndStop(18);
} else {
if (_root.enemigo2 == 'Malachi') {
gotoAndStop(19);
} else {
if (_root.enemigo2 == 'Hell') {
gotoAndStop(20);
} else {
if (_root.enemigo2 == 'Servant') {
gotoAndStop(21);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
instance of movieClip 83 {
onClipEvent (enterFrame) {
if (_root.enemigo2vida == 0) {
gotoAndStop(2);
}
}
}
instance enemigo1 of movieClip 1024 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo2atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo2atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 1058 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo2atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo2atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 1091 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo2atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo2atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 1123 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo2atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo2atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 1155 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo2atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo2atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 2487 {
onClipEvent (enterFrame) {
if (_root.enemigo1 == 'Jevynn') {
gotoAndStop(2);
}
}
}
instance of movieClip 83 {
onClipEvent (enterFrame) {
if (_root.enemigo2vida == 0) {
gotoAndStop(2);
}
}
}
instance of movieClip 2558 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
gotoAndStop(5);
lepegaroncooldown = 5;
_root.enemigo2atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo2atacando == 1) {
gotoAndStop(3);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(6);
}
}
}
instance of movieClip 2560 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
gotoAndStop(4);
lepegaroncooldown = 5;
_root.enemigo2atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo2atacando == 1) {
gotoAndStop(3);
} else {
if (_root.enemigo2atacando == 2) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
}
} else {
gotoAndStop(5);
}
}
}
instance of movieClip 1248 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
gotoAndStop(4);
lepegaroncooldown = 5;
_root.enemigo2atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo2atacando == 2) {
gotoAndStop(3);
} else {
if (_root.enemigo2atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
}
} else {
gotoAndStop(5);
}
}
}
instance of movieClip 1280 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo2atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo2atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 2608 {
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
gotoAndStop(4);
lepegaroncooldown = 5;
_root.enemigo2atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo2atacando == 2) {
gotoAndStop(3);
} else {
if (_root.enemigo2atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
}
} else {
gotoAndStop(5);
}
}
}
instance of movieClip 1413 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo2atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo2atacando == 1) {
gotoAndStop(2);
} else {
if (_root.invisible2 == 1) {
gotoAndStop(5);
} else {
if (_root.invisible2 == 0 and _root.saliendo2puddle == 1) {
gotoAndStop(6);
} else {
gotoAndStop(1);
}
}
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 2487 {
onClipEvent (enterFrame) {
if (_root.enemigo1 == 'Jevynn') {
gotoAndStop(2);
}
}
}
instance of movieClip 2653 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
gotoAndStop(4);
lepegaroncooldown = 5;
_root.enemigo2atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo2atacando == 2) {
gotoAndStop(2);
} else {
if (_root.enemigo2atacando == 1) {
gotoAndStop(3);
} else {
gotoAndStop(1);
}
}
}
}
} else {
gotoAndStop(5);
}
}
}
instance of movieClip 2727 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo2atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo2atacando == 1) {
gotoAndStop(2);
} else {
if (_root.invisible2 == 1) {
gotoAndStop(6);
} else {
if (_root.invisible2 == 0 and _root.saliendo2puddle == 1) {
gotoAndStop(5);
} else {
gotoAndStop(1);
}
}
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 1766 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
gotoAndStop(4);
lepegaroncooldown = 5;
_root.enemigo2atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo2atacando > 0) {
gotoAndStop(_root.enemigo2atacando + 1);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(5);
}
}
}
instance of movieClip 1797 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo2atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo2atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 1826 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo2atacando > 0) {
gotoAndStop(_root.enemigo2atacando + 1);
} else {
gotoAndStop(1);
}
}
} else {
gotoAndStop(5);
}
}
}
instance of movieClip 1692 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo2atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo2atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 2773 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1 and _root.malachiefecto == 0) {
gotoAndStop(4);
lepegaroncooldown = 5;
_root.enemigo2atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo2atacando > 0) {
gotoAndStop(_root.enemigo2atacando + 1);
if (_root.enemigo2atacando == 2) {
_root.malachiefecto = 1;
} else {
_root.malachiefecto = 0;
}
} else {
_root.malachiefecto = 0;
gotoAndStop(1);
}
}
}
} else {
_root.malachiefecto = 0;
gotoAndStop(5);
}
}
}
instance of movieClip 1952 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
gotoAndStop(6);
lepegaroncooldown = 5;
_root.enemigo2atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo2atacando == 2) {
gotoAndStop(5);
} else {
if (_root.enemigo2atacando == 1) {
gotoAndStop(8);
} else {
if (_root.invisible2 == 1) {
gotoAndStop(2);
} else {
if (_root.invisible2 == 0 and _root.saliendo2puddle == 1) {
gotoAndStop(3);
} else {
gotoAndStop(1);
}
}
}
}
}
}
} else {
gotoAndStop(7);
}
}
}
instance of movieClip 1953 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.totem2 + 1);
}
}
instance of movieClip 2030 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo2atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo2atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
}
movieClip 2776 {
instance of movieClip 922 {
onClipEvent (load) {
percentloaded = 0;
lastone = 1;
}
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.enemigo2vida / _root.enemigo2vidatotal) * 100);
this.gotoAndStop(percentloaded + 1);
}
}
}
movieClip 2778 {
instance of movieClip 922 {
onClipEvent (load) {
percentloaded = 0;
lastone = 1;
}
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.enemigo3vida / _root.enemigo3vidatotal) * 100);
this.gotoAndStop(percentloaded + 1);
}
}
}
movieClip 2779 {
frame 1 {
if (_root.enemigo3 == 'Goblin') {
stop();
} else {
if (_root.enemigo3 == 'Crossbowgoblin') {
gotoAndStop(2);
} else {
if (_root.enemigo3 == 'Battle Hog') {
gotoAndStop(3);
} else {
if (_root.enemigo3 == 'Goblin Bombsmith') {
gotoAndStop(4);
} else {
if (_root.enemigo3 == 'Goblin Highborn') {
gotoAndStop(5);
} else {
if (_root.enemigo3 == 'Empty' or _root.enemigo3 == 'Secreto') {
gotoAndStop(6);
} else {
if (_root.enemigo3 == 'Swifthold') {
gotoAndStop(7);
} else {
if (_root.enemigo3 == 'Medic') {
gotoAndStop(8);
} else {
if (_root.enemigo3 == 'Brawler') {
gotoAndStop(9);
} else {
if (_root.enemigo3 == 'Puddlefin Oracle') {
gotoAndStop(10);
} else {
if (_root.enemigo3 == 'Kinguard Knight') {
gotoAndStop(11);
} else {
if (_root.enemigo3 == 'Kinguard Sage') {
gotoAndStop(12);
} else {
if (_root.enemigo3 == 'Hell') {
gotoAndStop(14);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
instance of movieClip 83 {
onClipEvent (enterFrame) {
if (_root.enemigo3vida == 0) {
gotoAndStop(2);
}
}
}
instance enemigo1 of movieClip 1024 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo3vida > 0) {
if (_root.enemigo3atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo3atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo3atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 1058 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo2atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo2atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 1091 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo2atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo2atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 1123 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
if (_root.enemigo2atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo2atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo2atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 1155 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo3vida > 0) {
if (_root.enemigo3atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo3atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo3atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 83 {
onClipEvent (enterFrame) {
if (_root.enemigo3vida == 0) {
gotoAndStop(2);
}
}
}
instance of movieClip 1209 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo3vida > 0) {
if (_root.enemigo3atacado == 1) {
gotoAndStop(4);
lepegaroncooldown = 5;
_root.enemigo3atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo3atacando == 1) {
gotoAndStop(3);
} else {
if (_root.enemigo3atacando == 2) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
}
} else {
gotoAndStop(5);
}
}
}
instance of movieClip 1248 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo3vida > 0) {
if (_root.enemigo3atacado == 1) {
gotoAndStop(4);
lepegaroncooldown = 5;
_root.enemigo3atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo3atacando == 2) {
gotoAndStop(3);
} else {
if (_root.enemigo3atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
}
} else {
gotoAndStop(5);
}
}
}
instance of movieClip 1280 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo3vida > 0) {
if (_root.enemigo3atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo3atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo3atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 2653 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo3vida > 0) {
if (_root.enemigo3atacado == 1) {
gotoAndStop(4);
lepegaroncooldown = 5;
_root.enemigo3atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo3atacando == 2) {
gotoAndStop(2);
} else {
if (_root.enemigo3atacando == 1) {
gotoAndStop(3);
} else {
gotoAndStop(1);
}
}
}
}
} else {
gotoAndStop(5);
}
}
}
instance of movieClip 1766 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo3vida > 0) {
if (_root.enemigo3atacado == 1) {
gotoAndStop(4);
lepegaroncooldown = 5;
_root.enemigo3atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo3atacando > 0) {
gotoAndStop(_root.enemigo3atacando + 1);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(5);
}
}
}
instance of movieClip 1797 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo3vida > 0) {
if (_root.enemigo3atacado == 1) {
gotoAndStop(3);
lepegaroncooldown = 5;
_root.enemigo3atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo3atacando == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
} else {
gotoAndStop(4);
}
}
}
instance of movieClip 1826 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo3vida > 0) {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo3atacando > 0) {
gotoAndStop(_root.enemigo3atacando + 1);
} else {
gotoAndStop(1);
}
}
} else {
gotoAndStop(5);
}
}
}
instance of movieClip 1952 {
onClipEvent (load) {
percentloaded = 0;
lepegaroncooldown = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo3vida > 0) {
if (_root.enemigo3atacado == 1) {
gotoAndStop(6);
lepegaroncooldown = 5;
_root.enemigo3atacado = 0;
} else {
if (lepegaroncooldown > 0) {
lepegaroncooldown -= 1;
} else {
if (_root.enemigo3atacando == 2) {
gotoAndStop(5);
} else {
if (_root.enemigo3atacando == 1) {
gotoAndStop(8);
} else {
if (_root.invisible3 == 1) {
gotoAndStop(2);
} else {
if (_root.invisible3 == 0 and _root.saliendo3puddle == 1) {
gotoAndStop(3);
} else {
gotoAndStop(1);
}
}
}
}
}
}
} else {
gotoAndStop(7);
}
}
}
}
movieClip 2788 {
}
movieClip 2789 {
frame 7 {
stop();
}
}
movieClip 2790 {
}
movieClip 2791 {
instance of movieClip 985 {
onClipEvent (enterFrame) {
if (_root.enemigo1 == 'Goblin') {
gotoAndStop(1);
} else {
if (_root.enemigo1 == 'Crossbowgoblin') {
gotoAndStop(2);
} else {
if (_root.enemigo1 == 'Battle Hog') {
gotoAndStop(3);
} else {
if (_root.enemigo1 == 'Goblin Bombsmith') {
gotoAndStop(4);
} else {
if (_root.enemigo1 == 'Goblin Highborn') {
gotoAndStop(5);
} else {
if (_root.enemigo1 == 'Empty') {
gotoAndStop(6);
} else {
if (_root.enemigo1 == 'Swifthold') {
gotoAndStop(8);
} else {
if (_root.enemigo1 == 'Medic') {
gotoAndStop(9);
} else {
if (_root.enemigo1 == 'Brawler') {
gotoAndStop(10);
} else {
if (_root.enemigo1 == 'Golem') {
gotoAndStop(12);
} else {
if (_root.enemigo1 == 'Puddlefin Warrior') {
gotoAndStop(13);
} else {
if (_root.enemigo1 == 'Puddlefin Oracle') {
gotoAndStop(14);
} else {
if (_root.enemigo1 == 'Lyle') {
gotoAndStop(16);
} else {
if (_root.enemigo1 == 'Jevynn') {
gotoAndStop(17);
} else {
if (_root.enemigo1 == 'Thalquin' or _root.enemigo1 == 'Thalquin Party') {
gotoAndStop(19);
} else {
if (_root.enemigo1 == 'Kinguard Scout') {
gotoAndStop(20);
} else {
if (_root.enemigo1 == 'Secreto') {
gotoAndStop(18);
} else {
if (_root.enemigo1 == 'Puddlefin Oracle') {
gotoAndStop(14);
} else {
if (_root.enemigo1 == 'Kinguard Scout') {
gotoAndStop(20);
} else {
if (_root.enemigo1 == 'Kinguard Knight') {
gotoAndStop(21);
} else {
if (_root.enemigo1 == 'Kinguard Sage') {
gotoAndStop(23);
} else {
if (_root.enemigo1 == 'Captive Troll') {
gotoAndStop(22);
} else {
if (_root.enemigo1 == 'Mountain Spirit') {
gotoAndStop(24);
} else {
if (_root.enemigo1 == 'Zarr') {
gotoAndStop(25);
} else {
if (_root.enemigo1 == 'Hell') {
gotoAndStop(27);
} else {
if (_root.enemigo1 == 'Servant') {
gotoAndStop(28);
} else {
if (_root.enemigo1 == 'Spawn') {
gotoAndStop(29);
} else {
if (_root.enemigo1 == 'Greshix') {
gotoAndStop(30);
} else {
if (_root.enemigo1 == 'Batheel') {
gotoAndStop(31);
} else {
if (_root.enemigo1 == 'Jor') {
gotoAndStop(32);
} else {
if (_root.enemigo1 == 'Larris') {
gotoAndStop(33);
} else {
if (_root.enemigo1 == 'Blee') {
gotoAndStop(34);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
instance of movieClip 987 {
onClipEvent (enterFrame) {
if (_root.enemigo1 == 'Larris') {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 985 {
onClipEvent (enterFrame) {
if (_root.enemigo1 == 'Goblin') {
gotoAndStop(1);
} else {
if (_root.enemigo1 == 'Crossbowgoblin') {
gotoAndStop(2);
} else {
if (_root.enemigo1 == 'Battle Hog') {
gotoAndStop(3);
} else {
if (_root.enemigo1 == 'Goblin Bombsmith') {
gotoAndStop(4);
} else {
if (_root.enemigo1 == 'Goblin Highborn') {
gotoAndStop(5);
} else {
if (_root.enemigo1 == 'Empty') {
gotoAndStop(6);
} else {
if (_root.enemigo1 == 'Swifthold') {
gotoAndStop(8);
} else {
if (_root.enemigo1 == 'Swifthold') {
gotoAndStop(8);
} else {
if (_root.enemigo1 == 'Medic') {
gotoAndStop(9);
} else {
if (_root.enemigo1 == 'Brawler') {
gotoAndStop(10);
} else {
if (_root.enemigo1 == 'Puddlefin Warrior') {
gotoAndStop(13);
} else {
if (_root.enemigo1 == 'Puddlefin Oracle') {
gotoAndStop(14);
} else {
if (_root.enemigo1 == 'Jevynn') {
gotoAndStop(17);
} else {
if (_root.enemigo1 == 'Secreto') {
gotoAndStop(18);
} else {
if (_root.enemigo1 == 'Puddlefin Oracle') {
gotoAndStop(14);
} else {
if (_root.enemigo1 == 'Kinguard Scout') {
gotoAndStop(20);
} else {
if (_root.enemigo1 == 'Kinguard Knight') {
gotoAndStop(21);
} else {
if (_root.enemigo1 == 'Kinguard Sage') {
gotoAndStop(23);
} else {
if (_root.enemigo1 == 'Captive Troll') {
gotoAndStop(22);
} else {
if (_root.enemigo1 == 'Mountain Spirit') {
gotoAndStop(24);
} else {
if (_root.enemigo1 == 'Zarr') {
gotoAndStop(25);
} else {
if (_root.enemigo1 == 'Hell') {
gotoAndStop(27);
} else {
if (_root.enemigo1 == 'Servant') {
gotoAndStop(28);
} else {
if (_root.enemigo1 == 'Spawn') {
gotoAndStop(29);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
instance of movieClip 985 {
onClipEvent (enterFrame) {
if (_root.enemigo2 == 'Goblin') {
gotoAndStop(1);
} else {
if (_root.enemigo2 == 'Crossbowgoblin') {
gotoAndStop(2);
} else {
if (_root.enemigo2 == 'Battle Hog') {
gotoAndStop(3);
} else {
if (_root.enemigo2 == 'Goblin Bombsmith') {
gotoAndStop(4);
} else {
if (_root.enemigo2 == 'Goblin Highborn') {
gotoAndStop(5);
} else {
if (_root.enemigo2 == 'Empty') {
gotoAndStop(6);
} else {
if (_root.enemigo2 == 'Swifthold') {
gotoAndStop(8);
} else {
if (_root.enemigo2 == 'Medic') {
gotoAndStop(9);
} else {
if (_root.enemigo2 == 'Brawler') {
gotoAndStop(10);
} else {
if (_root.enemigo2 == 'Hadrick') {
gotoAndStop(11);
} else {
if (_root.enemigo2 == 'Puddlefin Warrior') {
gotoAndStop(13);
} else {
if (_root.enemigo2 == 'Puddlefin Oracle') {
gotoAndStop(14);
} else {
if (_root.enemigo2 == 'Puddlefin Shaman') {
gotoAndStop(15);
} else {
if (_root.enemigo2 == 'Secreto') {
gotoAndStop(18);
} else {
if (_root.enemigo2 == 'Kinguard Scout') {
gotoAndStop(20);
} else {
if (_root.enemigo2 == 'Kinguard Knight') {
gotoAndStop(21);
} else {
if (_root.enemigo2 == 'Kinguard Sage') {
gotoAndStop(23);
} else {
if (_root.enemigo2 == 'Captive Troll') {
gotoAndStop(22);
} else {
if (_root.enemigo2 == 'Mountain Spirit') {
gotoAndStop(24);
} else {
if (_root.enemigo2 == 'Malachi') {
gotoAndStop(26);
} else {
if (_root.enemigo2 == 'Secreto') {
gotoAndStop(18);
} else {
if (_root.enemigo2 == 'Hell') {
gotoAndStop(27);
} else {
if (_root.enemigo2 == 'Servant') {
gotoAndStop(28);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
instance of movieClip 985 {
onClipEvent (enterFrame) {
if (_root.enemigo1 == 'Goblin') {
gotoAndStop(1);
} else {
if (_root.enemigo1 == 'Crossbowgoblin') {
gotoAndStop(2);
} else {
if (_root.enemigo1 == 'Battle Hog') {
gotoAndStop(3);
} else {
if (_root.enemigo1 == 'Goblin Bombsmith') {
gotoAndStop(4);
} else {
if (_root.enemigo1 == 'Goblin Highborn') {
gotoAndStop(5);
} else {
if (_root.enemigo1 == 'Empty') {
gotoAndStop(6);
} else {
if (_root.enemigo1 == 'Swifthold') {
gotoAndStop(8);
} else {
if (_root.enemigo1 == 'Medic') {
gotoAndStop(9);
} else {
if (_root.enemigo1 == 'Brawler') {
gotoAndStop(10);
} else {
if (_root.enemigo1 == 'Hadrick') {
gotoAndStop(11);
} else {
if (_root.enemigo1 == 'Puddlefin Warrior') {
gotoAndStop(13);
} else {
if (_root.enemigo1 == 'Secreto') {
gotoAndStop(18);
} else {
if (_root.enemigo1 == 'Puddlefin Oracle') {
gotoAndStop(14);
} else {
if (_root.enemigo1 == 'Kinguard Scout') {
gotoAndStop(20);
} else {
if (_root.enemigo1 == 'Kinguard Knight') {
gotoAndStop(21);
} else {
if (_root.enemigo1 == 'Kinguard Sage') {
gotoAndStop(23);
} else {
if (_root.enemigo1 == 'Captive Troll') {
gotoAndStop(22);
} else {
if (_root.enemigo1 == 'Mountain Spirit') {
gotoAndStop(24);
} else {
if (_root.enemigo1 == 'Zarr') {
gotoAndStop(25);
} else {
if (_root.enemigo1 == 'Hell') {
gotoAndStop(27);
} else {
if (_root.enemigo1 == 'Servant') {
gotoAndStop(28);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
instance of movieClip 985 {
onClipEvent (enterFrame) {
if (_root.enemigo2 == 'Goblin') {
gotoAndStop(1);
} else {
if (_root.enemigo2 == 'Crossbowgoblin') {
gotoAndStop(2);
} else {
if (_root.enemigo2 == 'Battle Hog') {
gotoAndStop(3);
} else {
if (_root.enemigo2 == 'Goblin Bombsmith') {
gotoAndStop(4);
} else {
if (_root.enemigo2 == 'Goblin Highborn') {
gotoAndStop(5);
} else {
if (_root.enemigo2 == 'Empty') {
gotoAndStop(6);
} else {
if (_root.enemigo2 == 'Goblin King') {
gotoAndStop(7);
} else {
if (_root.enemigo2 == 'Swifthold') {
gotoAndStop(8);
} else {
if (_root.enemigo2 == 'Medic') {
gotoAndStop(9);
} else {
if (_root.enemigo2 == 'Brawler') {
gotoAndStop(10);
} else {
if (_root.enemigo2 == 'Hadrick') {
gotoAndStop(11);
} else {
if (_root.enemigo2 == 'Puddlefin Warrior') {
gotoAndStop(13);
} else {
if (_root.enemigo2 == 'Puddlefin Oracle') {
gotoAndStop(14);
} else {
if (_root.enemigo2 == 'Puddlefin Shaman') {
gotoAndStop(15);
} else {
if (_root.enemigo2 == 'Kinguard Scout') {
gotoAndStop(20);
} else {
if (_root.enemigo2 == 'Kinguard Knight') {
gotoAndStop(21);
} else {
if (_root.enemigo2 == 'Kinguard Sage') {
gotoAndStop(23);
} else {
if (_root.enemigo2 == 'Captive Troll') {
gotoAndStop(22);
} else {
if (_root.enemigo2 == 'Mountain Spirit') {
gotoAndStop(24);
} else {
if (_root.enemigo2 == 'Malachi') {
gotoAndStop(26);
} else {
if (_root.enemigo2 == 'Secreto') {
gotoAndStop(18);
} else {
if (_root.enemigo2 == 'Hell') {
gotoAndStop(27);
} else {
if (_root.enemigo2 == 'Servant') {
gotoAndStop(28);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
instance of movieClip 2378 {
onClipEvent (enterFrame) {
if (_root.enemigo1 == 'Mountain Spirit') {
gotoAndStop(19);
} else {
if (_root.enemigo1 == 'Secret') {
gotoAndStop(6);
}
}
}
}
instance of movieClip 2774 {
onClipEvent (enterFrame) {
if (_root.enemigo2 == 'Mountain Spirit') {
gotoAndStop(17);
} else {
if (_root.enemigo2 == 'Secret') {
gotoAndStop(6);
}
}
}
}
instance of movieClip 985 {
onClipEvent (enterFrame) {
if (_root.enemigo3 == 'Goblin') {
gotoAndStop(1);
} else {
if (_root.enemigo3 == 'Crossbowgoblin') {
gotoAndStop(2);
} else {
if (_root.enemigo3 == 'Battle Hog') {
gotoAndStop(3);
} else {
if (_root.enemigo3 == 'Goblin Bombsmith') {
gotoAndStop(4);
} else {
if (_root.enemigo3 == 'Goblin Highborn') {
gotoAndStop(5);
} else {
if (_root.enemigo3 == 'Empty') {
gotoAndStop(6);
} else {
if (_root.enemigo3 == 'Swifthold') {
gotoAndStop(8);
} else {
if (_root.enemigo3 == 'Medic') {
gotoAndStop(9);
} else {
if (_root.enemigo3 == 'Brawler') {
gotoAndStop(10);
} else {
if (_root.enemigo3 == 'Hadrick') {
gotoAndStop(11);
} else {
if (_root.enemigo3 == 'Puddlefin Warrior') {
gotoAndStop(13);
} else {
if (_root.enemigo3 == 'Puddlefin Oracle') {
gotoAndStop(14);
} else {
if (_root.enemigo3 == 'Puddlefin Shaman') {
gotoAndStop(15);
} else {
if (_root.enemigo3 == 'Kinguard Scout') {
gotoAndStop(20);
} else {
if (_root.enemigo3 == 'Kinguard Knight') {
gotoAndStop(21);
} else {
if (_root.enemigo3 == 'Kinguard Sage') {
gotoAndStop(23);
} else {
if (_root.enemigo3 == 'Captive Troll') {
gotoAndStop(22);
} else {
if (_root.enemigo3 == 'Mountain Spirit') {
gotoAndStop(24);
} else {
if (_root.enemigo3 == 'Malachi') {
gotoAndStop(26);
} else {
if (_root.enemigo3 == 'Secreto') {
gotoAndStop(18);
} else {
if (_root.enemigo3 == 'Hell') {
gotoAndStop(27);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
instance of movieClip 2779 {
onClipEvent (enterFrame) {
if (_root.enemigo3 == 'Mountain Spirit') {
gotoAndStop(13);
} else {
if (_root.enemigo3 == 'Secret') {
gotoAndStop(6);
}
}
}
}
instance of movieClip 2790 {
onClipEvent (enterFrame) {
gotoAndStop(_root.goblinshieldesta + 1);
if (_root.enemigo1vida < 1 and _root.enemigo3vida < 1) {
_root.goblinshieldesta = 0;
}
}
}
}
instance cantidadenemigos of movieClip 2791 {
onClipEvent (enterFrame) {
if (_root.enemigo3 != 'Empty') {
gotoAndStop(3);
} else {
if (_root.enemigo2 != 'Empty') {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
}
movieClip 2793 {
}
movieClip 2794 {
frame 1 {
stop();
}
}
movieClip 2807 {
}
movieClip 2809 {
}
movieClip 2812 {
}
movieClip 2814 {
frame 1 {
stop();
}
}
movieClip 2815 {
instance of movieClip 2807 {
onClipEvent (load) {
percentloaded = 0;
lastone = 1;
}
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.qcooldone / _root.qcooldown) * 100);
this.gotoAndStop(percentloaded);
}
}
instance of movieClip 2814 {
onClipEvent (load) {
lastone = 0;
}
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.qcooldone / _root.qcooldown) * 100);
if (percentloaded == 100) {
if (lastone == 0) {
lastone = 1;
this.gotoAndPlay(2);
}
} else {
lastone = 0;
}
}
}
}
movieClip 2817 {
instance of movieClip 2807 {
onClipEvent (load) {
percentloaded = 0;
lastone = 1;
}
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.wcooldone / _root.wcooldown) * 100);
this.gotoAndStop(percentloaded);
}
}
instance of movieClip 2814 {
onClipEvent (load) {
lastone = 0;
}
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.wcooldone / _root.wcooldown) * 100);
if (percentloaded == 100) {
if (lastone == 0) {
lastone = 1;
this.gotoAndPlay(2);
}
} else {
lastone = 0;
}
}
}
}
movieClip 2820 {
instance of movieClip 2807 {
onClipEvent (load) {
percentloaded = 0;
lastone = 1;
}
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.ecooldone / _root.ecooldown) * 100);
this.gotoAndStop(percentloaded);
}
}
instance of movieClip 2814 {
onClipEvent (load) {
lastone = 0;
}
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.ecooldone / _root.ecooldown) * 100);
if (percentloaded == 100) {
if (lastone == 0) {
lastone = 1;
this.gotoAndPlay(2);
}
} else {
lastone = 0;
}
}
}
}
movieClip 2822 {
instance of movieClip 2807 {
onClipEvent (load) {
percentloaded = 0;
lastone = 1;
}
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.acooldone / _root.acooldown) * 100);
this.gotoAndStop(percentloaded);
}
}
instance of movieClip 2814 {
onClipEvent (load) {
lastone = 0;
}
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.acooldone / _root.acooldown) * 100);
if (percentloaded == 100) {
if (lastone == 0) {
lastone = 1;
this.gotoAndPlay(2);
}
} else {
lastone = 0;
}
}
}
}
movieClip 2825 {
instance of movieClip 2807 {
onClipEvent (load) {
percentloaded = 0;
lastone = 1;
}
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.scooldone / _root.scooldown) * 100);
this.gotoAndStop(percentloaded);
}
}
instance of movieClip 2814 {
onClipEvent (load) {
lastone = 0;
}
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.scooldone / _root.scooldown) * 100);
if (percentloaded == 100) {
if (lastone == 0) {
lastone = 1;
this.gotoAndPlay(2);
}
} else {
lastone = 0;
}
}
}
}
movieClip 2827 {
instance of movieClip 2807 {
onClipEvent (load) {
percentloaded = 0;
lastone = 1;
}
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.dcooldone / _root.dcooldown) * 100);
this.gotoAndStop(percentloaded);
}
}
instance of movieClip 2814 {
onClipEvent (load) {
lastone = 0;
}
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.dcooldone / _root.dcooldown) * 100);
if (percentloaded == 100) {
if (lastone == 0) {
lastone = 1;
this.gotoAndPlay(2);
}
} else {
lastone = 0;
}
}
}
}
movieClip 2829 {
instance of movieClip 2807 {
onClipEvent (load) {
percentloaded = 0;
lastone = 1;
}
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.bcooldone / _root.bcooldown) * 100);
this.gotoAndStop(percentloaded);
}
}
}
movieClip 2831 {
instance of movieClip 2817 {
onClipEvent (enterFrame) {
if (_root.player1lvl > 3) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
}
}
instance of movieClip 2820 {
onClipEvent (enterFrame) {
if (_root.player1lvl > 7) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
}
}
instance of movieClip 2825 {
onClipEvent (enterFrame) {
if (_root.player2lvl > 3) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
}
}
instance of movieClip 2827 {
onClipEvent (enterFrame) {
if (_root.player2lvl > 7) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
}
}
instance of movieClip 2817 {
onClipEvent (enterFrame) {
if (_root.player1lvl > 3) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
}
}
instance of movieClip 2820 {
onClipEvent (enterFrame) {
if (_root.player1lvl > 7) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
}
}
}
instance of movieClip 2831 {
onClipEvent (enterFrame) {
if (_root.cogberzerker == 0) {
gotoAndStop(1);
} else {
if (_root.cogberzerker == 1) {
gotoAndStop(2);
} else {
if (_root.cogberzerker == 2) {
gotoAndStop(3);
}
}
}
}
}
movieClip 2833 {
}
movieClip 2835 {
}
movieClip 2836 {
frame 1 {
stop();
}
frame 13 {
stop();
}
}
movieClip 2837 {
instance cogw of movieClip 2836 {
onClipEvent (enterFrame) {
if (_root.player1life < 1) {
gotoAndStop(1);
}
}
}
}
instance player1a of movieClip 2837 {
onClipEvent (enterFrame) {
if (_root.player1 == 'Ridge') {
gotoAndStop(1);
} else {
if (_root.player1 == 'Vance') {
gotoAndStop(2);
} else {
if (_root.player1 == 'Nesyss') {
gotoAndStop(3);
} else {
if (_root.player1 == 'Wyvern') {
gotoAndStop(4);
} else {
if (_root.player1 == 'Cog') {
gotoAndStop(5);
} else {
gotoAndStop(6);
}
}
}
}
}
}
}
movieClip 2838 {
instance cogw of movieClip 2836 {
onClipEvent (enterFrame) {
if (_root.player2life < 1) {
gotoAndStop(1);
}
}
}
}
instance player2a of movieClip 2838 {
onClipEvent (enterFrame) {
if (_root.player2 == 'Ridge') {
gotoAndStop(1);
} else {
if (_root.player2 == 'Vance') {
gotoAndStop(2);
} else {
if (_root.player2 == 'Nesyss') {
gotoAndStop(3);
} else {
if (_root.player2 == 'Wyvern') {
gotoAndStop(4);
} else {
if (_root.player2 == 'Cog') {
gotoAndStop(5);
} else {
gotoAndStop(6);
}
}
}
}
}
}
}
movieClip 2840 {
frame 1 {
stop();
if (_root.posicion < 13) {
gotoAndStop(2);
}
}
}
movieClip 2843 {
}
movieClip 2844 {
frame 1 {
stop();
}
}
movieClip 2845 {
instance of movieClip 2844 {
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
}
}
instance of movieClip 2844 {
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
}
}
instance of movieClip 2844 {
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
}
}
instance of movieClip 2844 {
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
}
}
instance of movieClip 2844 {
onClipEvent (enterFrame) {
if (_root.enemigo3vida > 0) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
}
}
instance of movieClip 2844 {
onClipEvent (enterFrame) {
if (_root.enemigo1vida > 0) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
}
}
instance of movieClip 2844 {
onClipEvent (enterFrame) {
if (_root.enemigo2vida > 0) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
}
}
}
instance of movieClip 2845 {
onClipEvent (load) {
downpresionado = 0;
uppresionado = 0;
}
onClipEvent (enterFrame) {
if (_root.enemigo1 != 'Larris') {
if (Key.isDown(38)) {
if (uppresionado == 0) {
if (_root.pegara > 1 and _root.enemigo2vida > 0) {
_root.pegara -= 1;
} else {
_root.pegara = 1;
}
uppresionado = 1;
}
} else {
uppresionado = 0;
}
if (Key.isDown(40)) {
if (downpresionado == 0) {
downpresionado = 1;
if (_root.pegara < 3) {
_root.pegara += 1;
}
}
} else {
downpresionado = 0;
}
if (_root.enemigo3 != 'Empty') {
if (_root.enemigo3 != 'Mountain Spirit' and _root.enemigo1 != 'Mountain Spirit' and _root.enemigo2 != 'Mountain Spirit') {
if (_root.pegara == 1 and _root.enemigo1vida < 1) {
_root.pegara = 2;
}
if (_root.pegara == 2 and _root.enemigo2vida < 1) {
_root.pegara = 3;
}
if (_root.pegara == 3 and _root.enemigo3vida < 1) {
_root.pegara = 1;
}
}
gotoAndStop(_root.pegara + 3);
} else {
if (_root.enemigo2 != 'Empty') {
if (_root.pegara == 1 and _root.enemigo1vida < 1) {
_root.pegara = 2;
}
if (_root.pegara == 2 and _root.enemigo2vida < 1) {
_root.pegara = 1;
}
if (_root.pegara > 2) {
_root.pegara = 2;
}
if (_root.enemigo1 != 'Jevynn') {
gotoAndStop(_root.pegara);
} else {
gotoAndStop(_root.pegara + 6);
}
} else {
gotoAndStop(3);
if (_root.pegara > 1) {
_root.pegara = 1;
}
}
}
} else {
gotoAndStop(9);
}
}
}
movieClip 2846 {
frame 1 {
if (_root.guardian2 == 'Ferralas') {
gotoAndStop(2);
} else {
if (_root.guardian2 == 'ShellKin') {
gotoAndStop(3);
} else {
if (_root.guardian2 == 'LifeWing') {
gotoAndStop(4);
} else {
gotoAndStop(1);
}
}
}
}
instance of movieClip 35 {
onClipEvent (enterFrame) {
if (_root.player2life == 0) {
this.gotoAndStop(3);
} else {
if (_root.ferralasenaccion == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 61 {
onClipEvent (enterFrame) {
if (_root.player2life == 0) {
this.gotoAndStop(3);
} else {
if (_root.shellkinenaccion == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 78 {
onClipEvent (enterFrame) {
if (_root.player2life == 0) {
this.gotoAndStop(3);
} else {
if (_root.lifewingenaccion == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
}
movieClip 2850 {
frame 1 {
stop();
}
frame 18 {
stop();
}
}
movieClip 2851 {
frame 1 {
stop();
}
}
// unknown tag 88 length 60
movieClip 2855 {
}
movieClip 2856 {
frame 7 {
stop();
}
}
movieClip 2857 {
frame 1 {
stop();
}
}
instance of movieClip 2857 {
onClipEvent (enterFrame) {
gotoAndStop(_root.shieldwyvern + 1);
if (_root.shieldwyvernlast > 0) {
_root.shieldwyvernlast -= 1;
} else {
_root.shieldwyvern = 0;
}
}
}
movieClip 2866 {
frame 1 {
stop();
}
}
movieClip 2867 {
frame 1 {
stop();
}
}
movieClip 2868 {
frame 1 {
stop();
}
}
movieClip 2873 {
frame 1 {
stop();
}
}
movieClip 2879 {
frame 1 {
stop();
}
}
movieClip 2880 {
frame 1 {
stop();
}
}
movieClip 2886 {
frame 1 {
stop();
}
}
movieClip 2888 {
}
movieClip 2889 {
frame 1 {
stop();
}
}
movieClip 2890 {
}
movieClip 2891 {
frame 1 {
stop();
}
}
movieClip 2893 {
}
movieClip 2894 {
frame 1 {
stop();
}
}
movieClip 2897 {
}
movieClip 2899 {
}
movieClip 2901 {
}
movieClip 2902 {
frame 1 {
stop();
}
frame 32 {
stop();
}
}
instance of movieClip 2902 {
onClipEvent (load) {
pausa = 25;
inicio = 0;
}
onClipEvent (enterFrame) {
if (_root.player1life < 1) {
_root.player1exptoload = 0;
}
if (_root.player2life < 1) {
_root.player2exptoload = 0;
}
if (_root.player1life < 1 and _root.player2life < 1) {
if (inicio == 0) {
play();
inicio = 1;
_root.defeatm.play();
}
if (pausa < 0) {
if (Key.isDown(81)) {
pausa = 30;
if (_root.recall < 15) {
_root.ira = 6;
} else {
if (_root.recall < 35) {
_root.ira = 9;
} else {
if (_root.recall < 53) {
_root.ira = 10;
} else {
if (_root.recall < 72) {
_root.ira = 11;
} else {
_root.ira = 12;
}
}
}
}
_root.resetearposicion = 1;
_root.transin.gotoAndPlay(1);
}
} else {
pausa -= 1;
}
}
}
}
movieClip 2903 {
}
movieClip 2907 {
frame 6 {
stop();
}
}
movieClip 2915 {
}
movieClip 2917 {
frame 1 {
stop();
}
}
movieClip 2919 {
}
movieClip 2920 {
frame 1 {
stop();
}
}
movieClip 2921 {
frame 1 {
stop();
}
}
movieClip 2922 {
frame 1 {
stop();
}
}
movieClip 2923 {
frame 1 {
stop();
}
}
movieClip 2925 {
}
movieClip 2926 {
frame 1 {
stop();
}
}
movieClip 2927 {
instance of movieClip 2917 {
onClipEvent (enterFrame) {
if (_root.player1 == 'Vance') {
if (_root.player1life < 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 2920 {
onClipEvent (enterFrame) {
if (_root.player1 == 'Nesyss') {
if (_root.player1life < 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 2921 {
onClipEvent (enterFrame) {
if (_root.player1 == 'Wyvern') {
if (_root.player1life < 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 2922 {
onClipEvent (enterFrame) {
if (_root.player1 == 'Cog') {
if (_root.player1life < 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 2923 {
onClipEvent (enterFrame) {
if (_root.player1 == 'Tindra') {
if (_root.player1life < 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 2926 {
onClipEvent (enterFrame) {
if (_root.player1 == 'Ridge') {
if (_root.player1life < 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
}
movieClip 2933 {
}
movieClip 2940 {
}
movieClip 2944 {
}
movieClip 2953 {
}
movieClip 2956 {
frame 1 {
_root.darpet = 1;
_root.dartipopet = 3;
stop();
}
instance of movieClip 2907 {
onClipEvent (load) {
pausa = 24;
}
onClipEvent (enterFrame) {
if (pausa > 0) {
pausa -= 1;
} else {
if (Key.isDown(39)) {
_root.irpickpet = 2;
} else {
if (Key.isDown(81)) {
_root.darpet = 1;
_root.irpickpet = 3;
}
}
}
}
}
instance of movieClip 2915 {
onClipEvent (enterFrame) {
if (_root.player1 == 'Ridge') {
this.gotoAndStop(1);
} else {
if (_root.player1 == 'Vance') {
this.gotoAndStop(2);
} else {
if (_root.player1 == 'Nesyss') {
this.gotoAndStop(3);
} else {
if (_root.player1 == 'Wyvern') {
this.gotoAndStop(4);
} else {
if (_root.player1 == 'Cog') {
this.gotoAndStop(5);
} else {
if (_root.player1 == 'Tindra') {
this.gotoAndStop(6);
}
}
}
}
}
}
}
}
instance of movieClip 2927 {
onClipEvent (enterFrame) {
if (_root.player1 == 'Ridge') {
gotoAndStop(7);
} else {
if (_root.player1 == 'Vance') {
gotoAndStop(2);
} else {
if (_root.player1 == 'Nesyss') {
gotoAndStop(3);
} else {
if (_root.player1 == 'Wyvern') {
gotoAndStop(4);
} else {
if (_root.player1 == 'Cog') {
gotoAndStop(5);
} else {
if (_root.player1 == 'Tindra') {
gotoAndStop(6);
}
}
}
}
}
}
}
}
instance of movieClip 2915 {
onClipEvent (enterFrame) {
if (_root.player2 == 'Ridge') {
this.gotoAndStop(1);
} else {
if (_root.player2 == 'Vance') {
this.gotoAndStop(2);
} else {
if (_root.player2 == 'Nesyss') {
this.gotoAndStop(3);
} else {
if (_root.player2 == 'Wyvern') {
this.gotoAndStop(4);
} else {
if (_root.player2 == 'Cog') {
this.gotoAndStop(5);
} else {
if (_root.player2 == 'Tindra') {
this.gotoAndStop(6);
}
}
}
}
}
}
}
}
instance of movieClip 2927 {
onClipEvent (enterFrame) {
if (_root.player2 == 'Ridge') {
gotoAndStop(7);
} else {
if (_root.player2 == 'Vance') {
gotoAndStop(2);
} else {
if (_root.player2 == 'Nesyss') {
gotoAndStop(3);
} else {
if (_root.player2 == 'Wyvern') {
gotoAndStop(4);
} else {
if (_root.player2 == 'Cog') {
gotoAndStop(5);
} else {
if (_root.player2 == 'Tindra') {
gotoAndStop(6);
}
}
}
}
}
}
}
}
instance of movieClip 2907 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_root.irpickpet = 1;
} else {
if (Key.isDown(81)) {
_root.darpet = 2;
_root.irpickpet = 3;
}
}
}
}
instance of movieClip 2940 {
onClipEvent (load) {
if (_root.guardian1 == 'LifeWing' or _root.guardian2 == 'LifeWing') {
esta = 2;
} else {
esta = 3;
}
pausado = 1;
}
onClipEvent (enterFrame) {
if (pausado == 0) {
if (Key.isDown(40)) {
pausado = 1;
if (esta > 1) {
esta -= 1;
if (_root.guardian1 == 'ShellKin' or _root.guardian2 == 'ShellKin') {
if (esta == 2) {
esta = 1;
}
}
if (_root.guardian1 == 'Ferralas' or _root.guardian2 == 'Ferralas') {
if (esta == 1) {
esta = 2;
}
}
}
} else {
if (Key.isDown(38)) {
pausado = 1;
if (esta < 3) {
esta += 1;
if (_root.guardian1 == 'LifeWing' or _root.guardian2 == 'LifeWing') {
if (esta == 3) {
esta = 2;
}
}
if (_root.guardian1 == 'ShellKin' or _root.guardian2 == 'ShellKin') {
if (esta == 2) {
esta = 3;
}
}
}
} else {
if (Key.isDown(81)) {
pausado = 1;
_root.dartipopet = esta;
if (_root.dartipopet == 1) {
_root.irpickpet = 4;
} else {
if (_root.dartipopet == 2) {
_root.irpickpet = 5;
} else {
_root.irpickpet = 6;
}
}
}
}
}
} else {
if (Key.isDown(40) or Key.isDown(38) or Key.isDown(81)) {
} else {
pausado = 0;
}
}
gotoAndStop(esta);
}
}
instance of movieClip 2915 {
onClipEvent (enterFrame) {
if (_root.darpet == 2) {
if (_root.player2 == 'Ridge') {
gotoAndStop(1);
} else {
if (_root.player2 == 'Vance') {
gotoAndStop(2);
} else {
if (_root.player2 == 'Nesyss') {
gotoAndStop(3);
} else {
if (_root.player2 == 'Wyvern') {
gotoAndStop(4);
} else {
if (_root.player2 == 'Cog') {
gotoAndStop(5);
} else {
if (_root.player2 == 'Tindra') {
gotoAndStop(6);
}
}
}
}
}
}
} else {
if (_root.darpet == 1) {
if (_root.player1 == 'Ridge') {
gotoAndStop(1);
} else {
if (_root.player1 == 'Vance') {
gotoAndStop(2);
} else {
if (_root.player1 == 'Nesyss') {
gotoAndStop(3);
} else {
if (_root.player1 == 'Wyvern') {
gotoAndStop(4);
} else {
if (_root.player1 == 'Cog') {
gotoAndStop(5);
} else {
if (_root.player1 == 'Tindra') {
gotoAndStop(6);
}
}
}
}
}
}
}
}
}
}
instance of movieClip 2927 {
onClipEvent (enterFrame) {
if (_root.darpet == 2) {
if (_root.player2 == 'Ridge') {
gotoAndStop(7);
} else {
if (_root.player2 == 'Vance') {
gotoAndStop(2);
} else {
if (_root.player2 == 'Nesyss') {
gotoAndStop(3);
} else {
if (_root.player2 == 'Wyvern') {
gotoAndStop(4);
} else {
if (_root.player2 == 'Cog') {
gotoAndStop(5);
} else {
if (_root.player2 == 'Tindra') {
gotoAndStop(6);
}
}
}
}
}
}
} else {
if (_root.darpet == 1) {
if (_root.player1 == 'Ridge') {
gotoAndStop(1);
} else {
if (_root.player1 == 'Vance') {
gotoAndStop(2);
} else {
if (_root.player1 == 'Nesyss') {
gotoAndStop(3);
} else {
if (_root.player1 == 'Wyvern') {
gotoAndStop(4);
} else {
if (_root.player1 == 'Cog') {
gotoAndStop(5);
} else {
if (_root.player1 == 'Tindra') {
gotoAndStop(6);
}
}
}
}
}
}
}
}
}
}
instance of movieClip 2940 {
onClipEvent (load) {
esta = 3;
pausado = 1;
}
onClipEvent (enterFrame) {
gotoAndStop(_root.dartipopet + 3);
}
}
instance of movieClip 2944 {
onClipEvent (load) {
esta = 1;
pausa = 24;
}
onClipEvent (enterFrame) {
gotoAndStop(esta);
if (pausa > 0) {
pausa -= 1;
} else {
if (Key.isDown(40)) {
esta = 2;
} else {
if (Key.isDown(38)) {
esta = 1;
} else {
if (Key.isDown(81)) {
if (esta == 1) {
if (_root.darpet == 1) {
if (_root.dartipopet == 1) {
_root.guardian1 = 'Ferralas';
} else {
if (_root.dartipopet == 2) {
_root.guardian1 = 'ShellKin';
} else {
_root.guardian1 = 'LifeWing';
}
}
} else {
if (_root.darpet == 2) {
if (_root.dartipopet == 1) {
_root.guardian2 = 'Ferralas';
} else {
if (_root.dartipopet == 2) {
_root.guardian2 = 'ShellKin';
} else {
_root.guardian2 = 'LifeWing';
}
}
}
}
_root.enemigo1vida = 0;
} else {
_root.irpickpet = 1;
}
}
}
}
}
}
}
instance of movieClip 2927 {
onClipEvent (enterFrame) {
if (_root.guardian1 == 'VacÃo') {
_root.darpet = 1;
if (_root.player1 == 'Ridge') {
gotoAndStop(7);
} else {
if (_root.player1 == 'Vance') {
gotoAndStop(2);
} else {
if (_root.player1 == 'Nesyss') {
gotoAndStop(3);
} else {
if (_root.player1 == 'Wyvern') {
gotoAndStop(4);
} else {
if (_root.player1 == 'Cog') {
gotoAndStop(5);
} else {
if (_root.player1 == 'Tindra') {
gotoAndStop(6);
}
}
}
}
}
}
} else {
_root.darpet = 2;
if (_root.player2 == 'Ridge') {
gotoAndStop(1);
} else {
if (_root.player2 == 'Vance') {
gotoAndStop(2);
} else {
if (_root.player2 == 'Nesyss') {
gotoAndStop(3);
} else {
if (_root.player2 == 'Wyvern') {
gotoAndStop(4);
} else {
if (_root.player2 == 'Cog') {
gotoAndStop(5);
} else {
if (_root.player2 == 'Tindra') {
gotoAndStop(6);
}
}
}
}
}
}
}
}
}
frame 8 {
_root.player1orbs = 4;
_root.player2orbs = 4;
}
}
movieClip 2957 {
frame 1 {
stop();
}
frame 2 {
if (_root.guardian1 == 'VacÃo' and _root.guardian2 == 'VacÃo') {
_root.irpickpet = 1;
} else {
if (_root.enemigo1 == 'Thalquin Party') {
_root.irpickpet = 8;
} else {
_root.irpickpet = 7;
}
}
}
instance of movieClip 2956 {
onClipEvent (enterFrame) {
if (Key.isDown(81)) {
if (_root.irpickpet == 7) {
_root.irpickpet = 3;
} else {
if (_root.irpickpet == 8) {
if (_root.posicion < 15) {
_root.ira = 6;
} else {
if (_root.posicion < 35) {
_root.ira = 9;
} else {
if (_root.posicion < 53) {
_root.ira = 10;
} else {
if (_root.posicion < 72) {
_root.ira = 11;
} else {
_root.ira = 12;
}
}
}
}
_root.transin.play();
}
}
}
this.gotoAndStop(_root.irpickpet);
}
}
frame 7 {
stop();
if (_root.guardian1 == 'VacÃo' and _root.guardian2 == 'VacÃo') {
_root.irpickpet = 1;
} else {
if (_root.enemigo1 == 'Thalquin Party') {
_root.irpickpet = 8;
} else {
_root.irpickpet = 7;
}
}
}
}
instance pickpet of movieClip 2957 {
onClipEvent (load) {
cargo = 0;
espera = 120;
}
onClipEvent (enterFrame) {
if (_root.enemigo1 == 'Thalquin' and _root.enemigo1vida == 500 and cargo == 0) {
play();
stopAllSounds();
cargo = 1;
} else {
if (_root.enemigo1 == 'Thalquin Party' and cargo == 0 and espera == 0) {
if (_root.posicion != 75 or _root.nodosestados[75] != 5) {
play();
cargo = 1;
_root.bcooldone = 1;
_root.qcooldone = 1;
_root.wcooldone = 1;
_root.ecooldone = 1;
_root.acooldone = 1;
_root.scooldone = 1;
_root.dcooldone = 1;
}
} else {
if (_root.enemigo1 == 'Thalquin Party' and cargo == 0) {
espera -= 1;
_root.bcooldone = 1;
_root.qcooldone = 1;
_root.wcooldone = 1;
_root.ecooldone = 1;
_root.acooldone = 1;
_root.scooldone = 1;
_root.dcooldone = 1;
}
}
}
}
}
movieClip 2958 {
}
// unknown tag 88 length 145
movieClip 2962 {
frame 1 {
stop();
if (_root.enemigo1 == 'Mountain Spirit' or _root.enemigo2 == 'Mountain Spirit' or _root.enemigo3 == 'Mountain Spirit') {
gotoAndStop(2);
}
}
}
movieClip 2966 {
}
movieClip 2970 {
}
movieClip 2971 {
frame 12 {
stop();
}
}
movieClip 2972 {
}
movieClip 2976 {
frame 1 {
stop();
}
frame 20 {
stop();
}
}
movieClip 2977 {
}
movieClip 2978 {
instance of movieClip 2917 {
onClipEvent (enterFrame) {
if (_root.player2 == 'Vance') {
if (_root.player2life < 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 2920 {
onClipEvent (enterFrame) {
if (_root.player2 == 'Nesyss') {
if (_root.player2life < 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 2977 {
onClipEvent (enterFrame) {
if (_root.player2 == 'Wyvern') {
if (_root.player2life < 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 2922 {
onClipEvent (enterFrame) {
if (_root.player2 == 'Cog') {
if (_root.player2life < 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 2923 {
onClipEvent (enterFrame) {
if (_root.player2 == 'Tindra') {
if (_root.player2life < 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 2926 {
onClipEvent (enterFrame) {
if (_root.player2 == 'Ridge') {
if (_root.player2life < 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
}
movieClip 2981 {
}
movieClip 2983 {
}
movieClip 2984 {
frame 20 {
stop();
}
}
movieClip 2985 {
frame 1 {
stop();
}
}
movieClip 2989 {
}
movieClip 2991 {
frame 1 {
stop();
}
}
movieClip 2994 {
instance of movieClip 2972 {
onClipEvent (enterFrame) {
if (_root.player1orbsanteriores == 0 and _root.player1orbs > 0) {
this.gotoAndStop(2);
} else {
if (_root.player1orbs > 0) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 2972 {
onClipEvent (enterFrame) {
if (_root.player1orbsanteriores == 1 and _root.player1orbs > 1) {
this.gotoAndStop(2);
} else {
if (_root.player1orbs > 1) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 2972 {
onClipEvent (enterFrame) {
if (_root.player1orbsanteriores == 2 and _root.player1orbs > 2) {
this.gotoAndStop(2);
} else {
if (_root.player1orbs > 2) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 2972 {
onClipEvent (enterFrame) {
if (_root.player1orbsanteriores == 3 and _root.player1orbs > 3) {
this.gotoAndStop(2);
} else {
if (_root.player1orbs > 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
}
}
instance showq of movieClip 2976 {
onClipEvent (enterFrame) {
if (_root.animateshowq == 1) {
_root.animateshowq = 2;
this.gotoAndPlay(2);
}
if (_root.animateshowq == 2) {
if (Key.isDown(81)) {
_root.transin.play();
if (_root.enemigo1 == 'Larris') {
_root.ira = 14;
} else {
if (_root.posicion < 15) {
_root.ira = 6;
} else {
if (_root.posicion < 35) {
_root.ira = 9;
} else {
if (_root.posicion < 53) {
_root.ira = 10;
} else {
if (_root.posicion < 72) {
_root.ira = 11;
} else {
_root.ira = 12;
}
}
}
}
}
}
}
}
}
instance of movieClip 2972 {
onClipEvent (enterFrame) {
if (_root.player2orbsanteriores == 0 and _root.player2orbs > 0) {
this.gotoAndStop(2);
} else {
if (_root.player2orbs > 0) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 2972 {
onClipEvent (enterFrame) {
if (_root.player2orbsanteriores == 1 and _root.player2orbs > 1) {
this.gotoAndStop(2);
} else {
if (_root.player2orbs > 1) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 2972 {
onClipEvent (enterFrame) {
if (_root.player2orbsanteriores == 2 and _root.player2orbs > 2) {
this.gotoAndStop(2);
} else {
if (_root.player2orbs > 2) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 2972 {
onClipEvent (enterFrame) {
if (_root.player2orbsanteriores == 3 and _root.player2orbs > 3) {
this.gotoAndStop(2);
} else {
if (_root.player2orbs > 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 2915 {
onClipEvent (enterFrame) {
if (_root.player1 == 'Ridge') {
this.gotoAndStop(1);
} else {
if (_root.player1 == 'Vance') {
this.gotoAndStop(2);
} else {
if (_root.player1 == 'Nesyss') {
this.gotoAndStop(3);
} else {
if (_root.player1 == 'Wyvern') {
this.gotoAndStop(4);
} else {
if (_root.player1 == 'Cog') {
this.gotoAndStop(5);
} else {
if (_root.player1 == 'Tindra') {
this.gotoAndStop(6);
}
}
}
}
}
}
}
}
instance of movieClip 2915 {
onClipEvent (enterFrame) {
if (_root.player2 == 'Ridge') {
this.gotoAndStop(1);
} else {
if (_root.player2 == 'Vance') {
this.gotoAndStop(2);
} else {
if (_root.player2 == 'Nesyss') {
this.gotoAndStop(3);
} else {
if (_root.player2 == 'Wyvern') {
this.gotoAndStop(4);
} else {
if (_root.player2 == 'Cog') {
this.gotoAndStop(5);
} else {
if (_root.player2 == 'Tindra') {
this.gotoAndStop(6);
}
}
}
}
}
}
}
}
instance of movieClip 2927 {
onClipEvent (enterFrame) {
if (_root.player1 == 'Ridge') {
gotoAndStop(7);
} else {
if (_root.player1 == 'Vance') {
gotoAndStop(2);
} else {
if (_root.player1 == 'Nesyss') {
gotoAndStop(3);
} else {
if (_root.player1 == 'Wyvern') {
gotoAndStop(4);
} else {
if (_root.player1 == 'Cog') {
gotoAndStop(5);
} else {
if (_root.player1 == 'Tindra') {
gotoAndStop(6);
}
}
}
}
}
}
}
}
instance of movieClip 2978 {
onClipEvent (enterFrame) {
if (_root.player2 == 'Ridge') {
gotoAndStop(7);
} else {
if (_root.player2 == 'Vance') {
gotoAndStop(2);
} else {
if (_root.player2 == 'Nesyss') {
gotoAndStop(3);
} else {
if (_root.player2 == 'Wyvern') {
gotoAndStop(4);
} else {
if (_root.player2 == 'Cog') {
gotoAndStop(5);
} else {
if (_root.player2 == 'Tindra') {
gotoAndStop(6);
}
}
}
}
}
}
}
}
instance victory3a of movieClip 2985 {
onClipEvent (enterFrame) {
if (_root.animatelvlup1 > 0) {
_root.animatelvlup1 = 0;
this.gotoAndStop(2);
}
}
}
instance victory3b of movieClip 2985 {
onClipEvent (enterFrame) {
if (_root.animatelvlup2 > 0) {
_root.animatelvlup2 = 0;
this.gotoAndStop(2);
}
}
}
instance of movieClip 2991 {
onClipEvent (load) {
percentloaded = 0;
lastone = 1;
avanzade = _root.player1exptoload / 72;
espera = 36;
}
onClipEvent (enterFrame) {
if (espera == 0) {
if (_root.player1exptoload > 0) {
_root.player1exp += avanzade;
_root.player1exptoload -= avanzade;
} else {
_root.player1exptoload = 0;
}
percentloaded = Math.ceil((_root.player1exp / _root.player1lvl * 4) * 100);
if (_root.player1lvl < 20) {
this.gotoAndStop(percentloaded + 1);
} else {
gotoAndStop(101);
}
if (_root.player1exp >= _root.player1lvl * 4 and _root.player1lvl < 20) {
_root.player1lvl += 1;
_root.player1exp = 0;
_root.player1freeexp += 2;
_root.animatelvlup1 = 1;
if (_root.player1 == 'Cog') {
if (_root.playsonidonivel == 1) {
_root.playsonidonivel = 2;
_root.sonidolvlup.gotoAndStop(2);
} else {
_root.playsonidonivel = 1;
_root.sonidolvlup.gotoAndStop(3);
}
} else {
if (_root.player1 == 'Nesyss') {
if (_root.playsonidonivel == 1) {
_root.playsonidonivel = 2;
_root.sonidolvlup.gotoAndStop(4);
} else {
_root.playsonidonivel = 1;
_root.sonidolvlup.gotoAndStop(5);
}
} else {
if (_root.player1 == 'Ridge') {
if (_root.playsonidonivel == 1) {
_root.playsonidonivel = 2;
_root.sonidolvlup.gotoAndStop(6);
} else {
_root.playsonidonivel = 1;
_root.sonidolvlup.gotoAndStop(7);
}
} else {
if (_root.player1 == 'Tindra') {
if (_root.playsonidonivel == 1) {
_root.playsonidonivel = 2;
_root.sonidolvlup.gotoAndStop(8);
} else {
_root.playsonidonivel = 1;
_root.sonidolvlup.gotoAndStop(9);
}
} else {
if (_root.player1 == 'Vance') {
if (_root.playsonidonivel == 1) {
_root.playsonidonivel = 2;
_root.sonidolvlup.gotoAndStop(10);
} else {
_root.playsonidonivel = 1;
_root.sonidolvlup.gotoAndStop(11);
}
} else {
if (_root.player1 == 'Wyvern') {
if (_root.playsonidonivel == 1) {
_root.playsonidonivel = 2;
_root.sonidolvlup.gotoAndStop(12);
} else {
_root.playsonidonivel = 1;
_root.sonidolvlup.gotoAndStop(13);
}
}
}
}
}
}
}
}
} else {
espera -= 1;
}
}
}
instance of movieClip 2991 {
onClipEvent (load) {
percentloaded = 0;
lastone = 1;
avanzade = _root.player2exptoload / 72;
espera = 36;
}
onClipEvent (enterFrame) {
if (espera == 0) {
if (_root.player1exptoload < 0.5) {
if (_root.player2exptoload > 0) {
_root.player2exp += avanzade;
_root.player2exptoload -= avanzade;
} else {
if (_root.animateshowq == 0) {
_root.animateshowq = 1;
}
}
} else {}
percentloaded = Math.ceil((_root.player2exp / _root.player2lvl * 4) * 100);
if (_root.player2lvl < 20) {
this.gotoAndStop(percentloaded + 1);
} else {
gotoAndStop(101);
}
if (_root.player2exp >= _root.player2lvl * 4 and _root.player2lvl < 20) {
_root.player2lvl += 1;
_root.player2exp = 0;
_root.player2freeexp += 2;
_root.animatelvlup2 = 1;
if (_root.player2 == 'Cog') {
if (_root.playsonidonivel == 1) {
_root.sonidolvlup.gotoAndStop(2);
} else {
_root.sonidolvlup.gotoAndStop(3);
}
} else {
if (_root.player2 == 'Nesyss') {
if (_root.playsonidonivel == 1) {
_root.sonidolvlup.gotoAndStop(4);
} else {
_root.sonidolvlup.gotoAndStop(5);
}
} else {
if (_root.player2 == 'Ridge') {
if (_root.playsonidonivel == 1) {
_root.playsonidonivel = 2;
_root.sonidolvlup.gotoAndStop(6);
} else {
_root.playsonidonivel = 1;
_root.sonidolvlup.gotoAndStop(7);
}
} else {
if (_root.player2 == 'Tindra') {
if (_root.playsonidonivel == 1) {
_root.sonidolvlup.gotoAndStop(8);
} else {
_root.sonidolvlup.gotoAndStop(9);
}
} else {
if (_root.player2 == 'Vance') {
if (_root.playsonidonivel == 1) {
_root.sonidolvlup.gotoAndStop(10);
} else {
_root.sonidolvlup.gotoAndStop(11);
}
} else {
if (_root.player2 == 'Wyvern') {
if (_root.playsonidonivel == 1) {
_root.sonidolvlup.gotoAndStop(12);
} else {
_root.sonidolvlup.gotoAndStop(13);
}
}
}
}
}
}
}
}
} else {
espera -= 1;
}
}
}
}
movieClip 2997 {
}
movieClip 2998 {
}
movieClip 2999 {
frame 1 {
_root.animatelvlup1 = 0;
_root.animatelvlup2 = 0;
_root.animateshowq = 0;
if (_root.player1life < 1) {
_root.player1exptoload = 0;
}
if (_root.player2life < 1) {
_root.player2exptoload = 0;
}
}
frame 1 {
stop();
}
frame 2 {
if (_root.player1exp == 0 and _root.player1lvl == 1) {
_root.player1exptoload += 4;
}
if (_root.player2exp == 0 and _root.player2lvl == 1) {
_root.player2exptoload += 4;
}
_root.battle.stop();
_root.victorym.play();
}
frame 7 {
stop();
_root.battle.stop();
if (_root.enemigo1 == 'Mountain Spirit' or _root.enemigo2 == 'Mountain Spirit' or _root.enemigo3 == 'Mountain Spirit') {
_root.victory.spirit.gotoAndStop(2);
}
_root.player1orbsanteriores = _root.player1orbs;
puedeconseguir = Math.round(random(4));
if (puedeconseguir == 1 and _root.posicion > 35) {
_root.player1orbs += 1;
}
puedeconseguir = Math.round(random(4));
_root.player2orbsanteriores = _root.player2orbs;
if (puedeconseguir == 1 and _root.posicion > 35) {
_root.player2orbs += 1;
}
_root.nodosestados[_root.posicion] = 5;
}
}
instance victory of movieClip 2999 {
onClipEvent (load) {
mostrovictory = 0;
espera = 60;
}
onClipEvent (enterFrame) {
if (mostrovictory == 0) {
if (_root.enemigo1vida == 0 and _root.enemigo1 != 'Thalquin Party') {
if (_root.enemigo2vida == 0) {
if (_root.enemigo3vida == 0) {
if (_root.extralarris == 0) {
if (espera == 0) {
mostrovictory = 1;
this.gotoAndPlay(2);
} else {
espera -= 1;
}
}
}
}
}
}
}
}
movieClip 3013 {
frame 1 {
stop();
}
}
movieClip 3015 {
}
movieClip 3016 {
}
movieClip 3019 {
}
movieClip 3021 {
}
movieClip 3022 {
}
movieClip 3023 {
frame 1 {
_root.ready.adentro.stop();
}
frame 6 {
if (_root.mostrametutorial > 0 or _root.dialogosmostrar >= 0) {
stop();
}
}
frame 7 {
_root.ready.adentro.play();
}
frame 66 {
stop();
_root.iniciapelea = 1;
}
}
movieClip 3027 {
}
movieClip 3030 {
}
movieClip 3031 {
frame 10 {
stop();
}
}
movieClip 3033 {
frame 232 {
stop();
}
}
movieClip 3037 {
frame 196 {
stop();
}
}
movieClip 3039 {
frame 156 {
stop();
}
}
movieClip 3040 {
}
movieClip 3044 {
frame 180 {
stop();
}
}
movieClip 3046 {
frame 161 {
stop();
}
}
movieClip 3047 {
}
movieClip 3051 {
frame 178 {
stop();
}
}
movieClip 3053 {
frame 203 {
stop();
}
}
movieClip 3055 {
frame 278 {
stop();
}
}
movieClip 3056 {
frame 3 {
stop();
}
}
movieClip 3060 {
frame 154 {
stop();
}
}
movieClip 3065 {
frame 171 {
stop();
}
}
movieClip 3067 {
frame 194 {
stop();
}
}
movieClip 3068 {
}
movieClip 3072 {
frame 194 {
stop();
}
}
movieClip 3074 {
frame 142 {
stop();
}
}
movieClip 3075 {
}
movieClip 3079 {
frame 253 {
stop();
}
}
movieClip 3081 {
frame 225 {
stop();
}
}
movieClip 3082 {
}
movieClip 3086 {
frame 237 {
stop();
}
}
movieClip 3088 {
frame 173 {
stop();
}
}
movieClip 3089 {
}
movieClip 3093 {
frame 65 {
stop();
}
}
movieClip 3095 {
frame 136 {
stop();
}
}
movieClip 3096 {
}
movieClip 3100 {
frame 159 {
stop();
}
}
movieClip 3102 {
frame 168 {
stop();
}
}
movieClip 3104 {
frame 201 {
stop();
}
}
movieClip 3105 {
}
movieClip 3108 {
frame 220 {
stop();
}
}
movieClip 3111 {
frame 172 {
stop();
}
}
movieClip 3114 {
frame 146 {
stop();
}
}
movieClip 3117 {
frame 163 {
stop();
}
}
movieClip 3118 {
instance of movieClip 3031 {
onClipEvent (load) {
pausaq = 24;
}
onClipEvent (enterFrame) {
if (pausaq > 0) {
pausaq -= 1;
} else {
if (Key.isDown(81)) {
_root.dialogosmostrar -= 1;
pausaq = 24;
}
}
}
}
instance of movieClip 3040 {
onClipEvent (enterFrame) {
gotoAndStop(3 - _root.dialogosmostrar);
}
}
instance of movieClip 3047 {
onClipEvent (enterFrame) {
gotoAndStop(3 - _root.dialogosmostrar);
}
}
instance of movieClip 3031 {
onClipEvent (load) {
pausaq = 24;
}
onClipEvent (enterFrame) {
if (pausaq > 0) {
pausaq -= 1;
} else {
if (Key.isDown(81)) {
if (_root.dialogosmostrar == 2) {
_root.dialogosmostrar -= 1;
} else {
_root.dialogosmostrar = 0;
}
pausaq = 24;
}
}
}
}
instance of movieClip 3056 {
onClipEvent (enterFrame) {
gotoAndStop(3 - _root.dialogosmostrar);
}
}
instance of movieClip 3031 {
onClipEvent (load) {
pausaq = 24;
}
onClipEvent (enterFrame) {
if (pausaq > 0) {
pausaq -= 1;
} else {
if (Key.isDown(81)) {
_root.dialogosmostrar -= 1;
pausaq = 24;
}
}
}
}
instance of movieClip 3031 {
onClipEvent (load) {
pausaq = 24;
}
onClipEvent (enterFrame) {
if (pausaq > 0) {
pausaq -= 1;
} else {
if (Key.isDown(81)) {
_root.dialogosmostrar -= 1;
pausaq = 24;
if (_root.dialogosmostrar == 0) {
_root.transin.play();
if (_root.posicion < 15) {
_root.ira = 6;
} else {
if (_root.posicion < 35) {
_root.ira = 9;
} else {
if (_root.posicion < 53) {
_root.ira = 10;
} else {
if (_root.posicion < 72) {
_root.ira = 11;
} else {
_root.ira = 12;
}
}
}
}
_root.nodosestados[_root.posicion] = 5;
}
}
}
}
}
instance of movieClip 3068 {
onClipEvent (enterFrame) {
gotoAndStop(3 - _root.dialogosmostrar);
}
}
instance of movieClip 3031 {
onClipEvent (load) {
pausaq = 24;
}
onClipEvent (enterFrame) {
if (pausaq > 0) {
pausaq -= 1;
} else {
if (Key.isDown(81)) {
_root.dialogosmostrar -= 1;
pausaq = 24;
}
}
}
}
instance of movieClip 3075 {
onClipEvent (enterFrame) {
gotoAndStop(3 - _root.dialogosmostrar);
}
}
instance of movieClip 3082 {
onClipEvent (enterFrame) {
gotoAndStop(3 - _root.dialogosmostrar);
}
}
instance of movieClip 3089 {
onClipEvent (enterFrame) {
gotoAndStop(3 - _root.dialogosmostrar);
}
}
instance of movieClip 3096 {
onClipEvent (enterFrame) {
gotoAndStop(3 - _root.dialogosmostrar);
}
}
instance of movieClip 3105 {
onClipEvent (enterFrame) {
gotoAndStop(4 - _root.dialogosmostrar);
}
}
}
movieClip 3119 {
frame 1 {
stop();
}
instance of movieClip 3118 {
onClipEvent (load) {
gotoAndStop(_root.dialogosmostrara);
}
}
frame 7 {
stop();
}
}
instance of movieClip 3119 {
onClipEvent (load) {
mando = 0;
}
onClipEvent (enterFrame) {
if (_root.dialogosmostrar < 1) {
gotoAndStop(1);
_root.dialogosmostrar = -1;
} else {
if (mando == 0) {
gotoAndPlay(2);
mando = 1;
}
}
}
}
movieClip 3121 {
}
instance of movieClip 3121 {
onClipEvent (load) {
var delay = 0;
}
onClipEvent (enterFrame) {
++delay;
if (delay == 24) {
delay = 0;
++_root.tiempojugado[2];
if (_root.tiempojugado[2] > 59) {
_root.tiempojugado[2] = 0;
++_root.tiempojugado[1];
if (_root.tiempojugado[1] > 59) {
++_root.tiempojugado[0];
_root.tiempojugado[1] = 0;
}
}
}
}
}
movieClip 3125 {
}
movieClip 3133 {
}
movieClip 3136 {
}
movieClip 3138 {
}
movieClip 3161 {
frame 1 {
stop();
}
}
instance of movieClip 3161 {
onClipEvent (load) {
levanto = 0;
mandoplay = 0;
}
onClipEvent (enterFrame) {
if (_root.tutoriales[1] == 0) {
_root.mostrametutorial = 2;
} else {
if (_root.tutoriales[2] == 0) {
_root.mostrametutorial = 3;
} else {
if (_root.tutoriales[3] == 0) {
_root.mostrametutorial = 4;
}
}
}
if (_root.tutoriales[5] == 0 and _root.player1orbs > 0) {
} else {
if (_root.tutoriales[5] == 0 and _root.player2orbs > 0) {
}
}
if (_root.tutoriales[6] == 0 and _root.player1lvl > 3 and _root.enemigo1vida > 0) {
_root.mostrametutorial = 7;
} else {
if (_root.tutoriales[7] == 0 and _root.player2lvl > 3 and _root.enemigo1vida > 0) {
_root.mostrametutorial = 8;
}
}
if (_root.tutoriales[8] == 0) {
if (_root.player1lvl > 11 and _root.player1orbs > 3 and _root.enemigo1vida > 0) {
_root.mostrametutorial = 9;
} else {
if (_root.player2lvl > 11 and _root.player2orbs > 3 and _root.enemigo1vida > 0) {
_root.mostrametutorial = 9;
}
}
}
if (_root.dialogosmostrar == -1) {
gotoAndStop(_root.mostrametutorial + 1);
}
if (mandoplay == 0 and _root.mostrametutorial == 0 and _root.dialogosmostrar == -1) {
_root.ready.play();
mandoplay = 1;
}
if (Key.isDown(81)) {
if (levanto == 1) {
levanto = 0;
if (_root.mostrametutorial > 0) {
if (_root.mostrametutorial == 4) {
_root.ready.play();
}
if (_root.mostrametutorial < 5) {
_root.tutoriales[_root.mostrametutorial - 1] = 1;
} else {
if (_root.mostrametutorial == 7) {
_root.tutoriales[6] = 1;
} else {
if (_root.mostrametutorial == 8) {
_root.tutoriales[7] = 1;
} else {
if (_root.mostrametutorial == 9) {
_root.tutoriales[8] = 1;
}
}
}
}
_root.mostrametutorial = 0;
}
}
} else {
levanto = 1;
}
}
}
frame 5 {
_root.menuestax = 0;
_root.menuestay = 0;
if (_root.misiones[1][1] > 5) {
_root.misiones[1][1] = 5;
}
_root.textoquest1 = 'Kill ' + _root.misiones[1][1] + '/5 Goblin Marksmen';
if (_root.misiones[2][1] > 5) {
_root.misiones[2][1] = 5;
}
_root.textoquest2 = 'Kill ' + _root.misiones[2][1] + '/5 Goblin Highborns';
if (_root.misiones[5][1] > 10) {
_root.misiones[5][1] = 10;
}
_root.textoquest5 = 'Kill ' + _root.misiones[5][1] + '/10 Swifthold Brawlers';
if (_root.misiones[9][1] > 15) {
_root.misiones[9][1] = 15;
}
_root.textoquest9 = 'Kill ' + _root.misiones[9][1] + '/15 Puddlefin Oracles';
if (_root.misiones[14][1] > 25) {
_root.misiones[14][1] = 25;
}
_root.textoquest14 = 'Kill ' + _root.misiones[14][1] + '/25 Kinguard Knight';
if (_root.misiones[17][1] > 10) {
_root.misiones[17][1] = 10;
}
_root.textoquest17 = 'Kill ' + _root.misiones[17][1] + '/10 Bestial Spawns';
if (_root.misiones[21][1] > 15) {
_root.misiones[21][1] = 15;
}
_root.textoquest21 = 'Kill ' + _root.misiones[21][1] + '/15 Buccaneers';
}
frame 5 {
_root.transout.gotoAndPlay(1);
_root.transin.gotoAndStop(1);
}
frame 5 {
_root.mainm.stop();
if (_root.posicion > 13 and _root.posicion < 72) {
_root.mapa.play();
}
if (_root.posicion > 71) {
_root.finalmapa.play();
}
if (_root.posicion < 14) {
_root.primeromapa.play();
}
}
movieClip 3163 {
frame 2812 {
gotoAndPlay(2);
}
}
movieClip 3165 {
frame 2402 {
gotoAndPlay(2);
}
}
movieClip 3167 {
frame 1631 {
gotoAndPlay(2);
}
}
movieClip 3170 {
}
movieClip 3173 {
}
movieClip 3175 {
}
movieClip 3177 {
}
movieClip 3179 {
}
movieClip 3181 {
}
movieClip 3186 {
frame 1 {
stop();
}
}
movieClip 3190 {
frame 5 {
stop();
}
}
movieClip 3191 {
}
movieClip 3192 {
}
movieClip 3193 {
}
movieClip 3196 {
}
movieClip 3197 {
}
movieClip 3198 {
}
movieClip 3199 {
}
movieClip 3200 {
}
movieClip 3201 {
frame 4 {
gotoAndPlay(2);
}
}
// unknown tag 88 length 179
movieClip 3209 {
}
movieClip 3210 {
frame 12 {
stop();
}
}
movieClip 3212 {
}
movieClip 3217 {
frame 1 {
stop();
}
}
movieClip 3220 {
frame 8 {
stop();
}
}
movieClip 3221 {
}
movieClip 3227 {
}
movieClip 3228 {
}
movieClip 3229 {
}
movieClip 3235 {
frame 1 {
stop();
}
}
movieClip 3238 {
}
movieClip 3241 {
}
// unknown tag 88 length 70
// unknown tag 88 length 51
movieClip 3342 {
}
movieClip 3349 {
}
movieClip 3355 {
frame 1 {
stop();
}
}
movieClip 3358 {
}
movieClip 3359 {
}
movieClip 3362 {
frame 1 {
stop();
}
}
movieClip 3368 {
}
movieClip 3369 {
}
movieClip 3370 {
frame 1 {
stop();
}
}
movieClip 3406 {
instance barraquest of movieClip 3362 {
onClipEvent (load) {
percentloaded = 0;
lastone = 1;
mostrartexto = 'Error';
}
onClipEvent (enterFrame) {
totalquestdone = _root.misiones[0] + _root.misiones[1][0] + _root.misiones[2][0] + _root.misiones[3] + _root.misiones[4] + _root.misiones[5][0] + _root.misiones[6] + _root.misiones[7] + _root.misiones[8] + _root.misiones[9][0] + _root.misiones[10] + _root.misiones[11] + _root.misiones[12] + _root.misiones[13] + _root.misiones[14][0] + _root.misiones[15] + _root.misiones[16] + _root.misiones[17][0] + _root.misiones[18] + _root.misiones[19][0] + _root.misiones[20] + _root.misiones[21][0] + _root.misiones[22] + _root.misiones[23];
percentloaded = Math.round((totalquestdone / 24) * 100);
if (totalquestdone > 0) {
_root.menumenu.listaquest.barraquest.gotoAndStop(percentloaded);
} else {
_root.menumenu.listaquest.barraquest.gotoAndStop(1);
}
mostrartexto = '' + totalquestdone + ' OF 24 COMPLETE';
_root.menumenu.listaquest.barraquest.questenteras.text = mostrartexto;
}
}
instance of movieClip 3370 {
onClipEvent (enterFrame) {
if (_root.misiones[0] == 1) {
gotoAndStop(3);
}
}
}
instance of movieClip 3370 {
onClipEvent (enterFrame) {
if (_root.misiones[1][0] == 1) {
gotoAndStop(3);
}
}
}
instance of movieClip 3370 {
onClipEvent (enterFrame) {
if (_root.misiones[2][0] == 1) {
gotoAndStop(3);
}
}
}
instance of movieClip 3370 {
onClipEvent (enterFrame) {
if (_root.misiones[4] == 1) {
gotoAndStop(3);
}
}
}
instance of movieClip 3370 {
onClipEvent (enterFrame) {
if (_root.misiones[3] == 1) {
gotoAndStop(3);
}
}
}
instance of movieClip 3370 {
onClipEvent (enterFrame) {
if (_root.misiones[5][0] == 1) {
gotoAndStop(3);
}
}
}
instance of movieClip 3370 {
onClipEvent (enterFrame) {
if (_root.misiones[6] == 1) {
gotoAndStop(3);
}
}
}
instance of movieClip 3370 {
onClipEvent (enterFrame) {
if (_root.misiones[7] == 1) {
gotoAndStop(3);
}
}
}
instance of movieClip 3370 {
onClipEvent (enterFrame) {
if (_root.misiones[8] == 1) {
gotoAndStop(3);
}
}
}
instance of movieClip 3370 {
onClipEvent (enterFrame) {
if (_root.misiones[9][0] == 1) {
gotoAndStop(3);
}
}
}
instance of movieClip 3370 {
onClipEvent (enterFrame) {
if (_root.misiones[10] == 1) {
gotoAndStop(3);
}
}
}
instance of movieClip 3370 {
onClipEvent (enterFrame) {
if (_root.misiones[11] == 1) {
gotoAndStop(3);
}
}
}
instance of movieClip 3370 {
onClipEvent (enterFrame) {
if (_root.misiones[12] == 1) {
gotoAndStop(3);
}
}
}
instance of movieClip 3370 {
onClipEvent (enterFrame) {
if (_root.misiones[13] == 1) {
gotoAndStop(3);
}
}
}
instance of movieClip 3370 {
onClipEvent (enterFrame) {
if (_root.misiones[14][0] == 1) {
gotoAndStop(3);
}
}
}
instance of movieClip 3370 {
onClipEvent (enterFrame) {
if (_root.misiones[15] == 1) {
gotoAndStop(3);
}
}
}
instance of movieClip 3370 {
onClipEvent (enterFrame) {
if (_root.misiones[16] == 1) {
gotoAndStop(3);
}
}
}
instance of movieClip 3370 {
onClipEvent (enterFrame) {
if (_root.misiones[17][1] >= 10) {
_root.misiones[17][0] = 1;
gotoAndStop(3);
}
}
}
instance of movieClip 3370 {
onClipEvent (enterFrame) {
if (_root.misiones[18] == 1) {
gotoAndStop(3);
}
}
}
instance of movieClip 3370 {
onClipEvent (enterFrame) {
if (_root.misiones[19][0] == 1) {
gotoAndStop(3);
}
}
}
instance of movieClip 3370 {
onClipEvent (enterFrame) {
if (_root.misiones[20] == 1) {
gotoAndStop(3);
}
}
}
instance of movieClip 3370 {
onClipEvent (enterFrame) {
if (_root.misiones[21][0] == 1) {
gotoAndStop(3);
}
}
}
instance of movieClip 3370 {
onClipEvent (enterFrame) {
if (_root.misiones[22] == 1) {
gotoAndStop(3);
}
}
}
instance of movieClip 3370 {
onClipEvent (enterFrame) {
if (_root.misiones[23] == 1) {
gotoAndStop(3);
}
}
}
}
movieClip 3417 {
}
movieClip 3420 {
frame 1 {
_root.presionadoalgo = 0;
_root.hpanterior = _root.player1healthp;
_root.apanterior = _root.player1damagep;
_root.cpanterior = _root.player1cdp;
_root.pagina = 1;
stop();
}
instance of movieClip 3177 {
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.player1exp / _root.player1lvl * 4) * 100);
if (_root.player1lvl < 20) {
this.gotoAndStop(percentloaded + 1);
} else {
gotoAndStop(100);
}
}
}
instance of movieClip 3186 {
onClipEvent (enterFrame) {
if (_root.menuestax == 0) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3193 {
onClipEvent (enterFrame) {
if (_root.menuestax == 0 and _root.menuestay == 0) {
gotoAndStop(1);
if (_root.presionadoalgo == 0) {
if (Key.isDown(40)) {
_root.presionadoalgo = 1;
_root.menuestay = 1;
} else {
if (Key.isDown(39)) {
_root.presionadoalgo = 1;
_root.menuestax = 1;
_root.menumenu.gotoAndStop(4);
}
}
}
} else {
gotoAndStop(6);
}
if (_root.presionadoalgo == 1) {
if (Key.isDown(40)) {
_root.presionadoalgo = 1;
} else {
if (Key.isDown(38)) {
_root.presionadoalgo = 1;
} else {
if (Key.isDown(39)) {
_root.presionadoalgo = 1;
} else {
if (Key.isDown(37)) {
_root.presionadoalgo = 1;
} else {
if (Key.isDown(81)) {
} else {
_root.presionadoalgo = 0;
}
}
}
}
}
}
}
}
instance of movieClip 3186 {
onClipEvent (enterFrame) {
if (_root.menuestax == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3186 {
onClipEvent (enterFrame) {
if (_root.menuestax == 2) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3199 {
onClipEvent (enterFrame) {
if (_root.player1life < 1) {
gotoAndStop(3);
} else {
if (_root.player1 == 'Ridge') {
gotoAndStop(8);
} else {
if (_root.player1 == 'Vance') {
gotoAndStop(2);
} else {
if (_root.player1 == 'Nesyss') {
gotoAndStop(4);
} else {
if (_root.player1 == 'Wyvern') {
gotoAndStop(5);
} else {
if (_root.player1 == 'Cog') {
gotoAndStop(6);
} else {
if (_root.player1 == 'Tindra') {
gotoAndStop(7);
}
}
}
}
}
}
}
}
}
instance arrow2 of movieClip 3200 {
onClipEvent (enterFrame) {
if (_root.player1 == 'Ridge') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 150;
} else {
if (_root.player1 == 'Vance') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 95;
} else {
if (_root.player1 == 'Nesyss') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 80;
} else {
if (_root.player1 == 'Wyvern') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 110;
} else {
if (_root.player1 == 'Cog') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 3 + 170;
} else {
if (_root.player1 == 'Tindra') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 100;
}
}
}
}
}
}
if (_root.guardian1 == 'ShellKin') {
_root.player1lifetotal += 150;
}
if (_root.menuestay == 2) {
this.gotoAndStop(5);
if (_root.presionadoalgo == 0) {
if (Key.isDown(40)) {
_root.presionadoalgo = 1;
_root.menuestay = 3;
_root.menumenu.arrow2.arrowarrow.gotoAndPlay(1);
} else {
if (Key.isDown(38)) {
_root.presionadoalgo = 1;
_root.menuestay = 1;
} else {
if (Key.isDown(81)) {
if (_root.player1freeexp > 0) {
if (_root.player1healthp < 16) {
_root.upsfx.play();
_root.player1freeexp -= 1;
_root.presionadoalgo = 1;
_root.player1healthp += 1;
if (_root.player1 != 'Cog') {
_root.player1life += _root.player1lvl * 2;
} else {
_root.player1life += _root.player1lvl * 3;
}
}
}
}
}
}
}
} else {
if (_root.menuestay == 3) {
this.gotoAndStop(2);
if (_root.presionadoalgo == 0) {
if (Key.isDown(40)) {
_root.presionadoalgo = 1;
_root.menuestay = 4;
_root.menumenu.arrow2.arrowarrow.gotoAndPlay(1);
} else {
if (Key.isDown(38)) {
_root.presionadoalgo = 1;
_root.menuestay = 2;
_root.menumenu.arrow2.arrowarrow.gotoAndPlay(1);
} else {
if (Key.isDown(81)) {
if (_root.player1freeexp > 0) {
if (_root.player1damagep < 16) {
_root.upsfx.play();
_root.player1freeexp -= 1;
_root.presionadoalgo = 1;
_root.player1damagep += 1;
}
}
}
}
}
}
} else {
if (_root.menuestay == 4) {
this.gotoAndStop(3);
if (_root.presionadoalgo == 0) {
if (Key.isDown(40)) {
_root.presionadoalgo = 1;
_root.menuestay = 5;
_root.menumenu.arrow2.arrowarrow.gotoAndPlay(1);
} else {
if (Key.isDown(38)) {
_root.presionadoalgo = 1;
_root.menuestay = 3;
_root.menumenu.arrow2.arrowarrow.gotoAndPlay(1);
} else {
if (Key.isDown(81)) {
if (_root.player1freeexp > 0) {
if (_root.player1cdp < 16) {
_root.upsfx.play();
_root.player1freeexp -= 1;
_root.presionadoalgo = 1;
_root.player1cdp += 1;
}
}
}
}
}
}
} else {
if (_root.menuestay == 5) {
this.gotoAndStop(4);
if (_root.presionadoalgo == 0) {
if (Key.isDown(40)) {
} else {
if (Key.isDown(38)) {
_root.presionadoalgo = 1;
_root.menuestay = 4;
_root.menumenu.arrow2.arrowarrow.gotoAndPlay(1);
} else {
if (Key.isDown(81)) {
_root.presionadoalgo = 1;
if (_root.orbgratis > 0) {
getURL('http://www.facebook.com/HappyGhostStudio', '_blank');
_root.player1orbs += 1;
if (_root.player1orbs > 4) {
_root.player1orbs = 4;
}
_root.player2orbs += 1;
if (_root.player2orbs > 4) {
_root.player2orbs = 4;
}
_root.orbgratis = 0;
}
}
}
}
}
} else {
this.gotoAndStop(1);
}
}
}
}
}
}
instance of movieClip 3201 {
onClipEvent (enterFrame) {
if (_root.player1freeexp > 0) {
play();
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 1) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1healthp >= 1 and _root.player1healthp > _root.hpanterior) {
_root.hpanterior = _root.player1healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 9) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1healthp >= 9 and _root.player1healthp > _root.hpanterior) {
_root.hpanterior = _root.player1healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 2) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1healthp >= 2 and _root.player1healthp > _root.hpanterior) {
_root.hpanterior = _root.player1healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 10) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1healthp >= 10 and _root.player1healthp > _root.hpanterior) {
_root.hpanterior = _root.player1healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 3) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1healthp >= 3 and _root.player1healthp > _root.hpanterior) {
_root.hpanterior = _root.player1healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 11) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1healthp >= 11 and _root.player1healthp > _root.hpanterior) {
_root.hpanterior = _root.player1healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 4) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1healthp >= 4 and _root.player1healthp > _root.hpanterior) {
_root.hpanterior = _root.player1healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 12) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1healthp >= 12 and _root.player1healthp > _root.hpanterior) {
_root.hpanterior = _root.player1healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 5) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1healthp >= 5 and _root.player1healthp > _root.hpanterior) {
_root.hpanterior = _root.player1healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 13) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1healthp >= 13 and _root.player1healthp > _root.hpanterior) {
_root.hpanterior = _root.player1healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 6) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1healthp >= 6 and _root.player1healthp > _root.hpanterior) {
_root.hpanterior = _root.player1healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 14) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1healthp >= 14 and _root.player1healthp > _root.hpanterior) {
_root.hpanterior = _root.player1healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 7) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1healthp >= 7 and _root.player1healthp > _root.hpanterior) {
_root.hpanterior = _root.player1healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 15) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1healthp >= 15 and _root.player1healthp > _root.hpanterior) {
_root.hpanterior = _root.player1healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 8) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1healthp >= 8 and _root.player1healthp > _root.hpanterior) {
_root.hpanterior = _root.player1healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 16) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1healthp >= 16 and _root.player1healthp > _root.hpanterior) {
_root.hpanterior = _root.player1healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 1) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1damagep >= 1 and _root.player1damagep > _root.apanterior) {
_root.apanterior = _root.player1damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 9) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1damagep >= 9 and _root.player1damagep > _root.apanterior) {
_root.apanterior = _root.player1damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 2) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1damagep >= 2 and _root.player1damagep > _root.apanterior) {
_root.apanterior = _root.player1damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 10) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1damagep >= 10 and _root.player1damagep > _root.apanterior) {
_root.apanterior = _root.player1damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 3) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1damagep >= 3 and _root.player1damagep > _root.apanterior) {
_root.apanterior = _root.player1damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 11) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1damagep >= 11 and _root.player1damagep > _root.apanterior) {
_root.apanterior = _root.player1damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 4) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1damagep >= 4 and _root.player1damagep > _root.apanterior) {
_root.apanterior = _root.player1damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 12) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1damagep >= 12 and _root.player1damagep > _root.apanterior) {
_root.apanterior = _root.player1damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 5) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1damagep >= 5 and _root.player1damagep > _root.apanterior) {
_root.apanterior = _root.player1damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 13) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1damagep >= 13 and _root.player1damagep > _root.apanterior) {
_root.apanterior = _root.player1damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 6) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1damagep >= 6 and _root.player1damagep > _root.apanterior) {
_root.apanterior = _root.player1damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 14) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1damagep >= 14 and _root.player1damagep > _root.apanterior) {
_root.apanterior = _root.player1damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 7) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1damagep >= 7 and _root.player1damagep > _root.apanterior) {
_root.apanterior = _root.player1damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 15) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1damagep >= 15 and _root.player1damagep > _root.apanterior) {
_root.apanterior = _root.player1damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 8) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1damagep >= 8 and _root.player1damagep > _root.apanterior) {
_root.apanterior = _root.player1damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 16) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1damagep >= 16 and _root.player1damagep > _root.apanterior) {
_root.apanterior = _root.player1damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 1) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1cdp >= 1 and _root.player1cdp > _root.cpanterior) {
_root.cpanterior = _root.player1cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 9) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1cdp >= 9 and _root.player1cdp > _root.cpanterior) {
_root.cpanterior = _root.player1cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 2) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1cdp >= 2 and _root.player1cdp > _root.cpanterior) {
_root.cpanterior = _root.player1cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 10) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1cdp >= 10 and _root.player1cdp > _root.cpanterior) {
_root.cpanterior = _root.player1cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 3) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1cdp >= 3 and _root.player1cdp > _root.cpanterior) {
_root.cpanterior = _root.player1cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 11) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1cdp >= 11 and _root.player1cdp > _root.cpanterior) {
_root.cpanterior = _root.player1cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 4) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1cdp >= 4 and _root.player1cdp > _root.cpanterior) {
_root.cpanterior = _root.player1cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 12) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1cdp >= 12 and _root.player1cdp > _root.cpanterior) {
_root.cpanterior = _root.player1cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 5) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1cdp >= 5 and _root.player1cdp > _root.cpanterior) {
_root.cpanterior = _root.player1cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 13) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1cdp >= 13 and _root.player1cdp > _root.cpanterior) {
_root.cpanterior = _root.player1cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 6) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1cdp >= 6 and _root.player1cdp > _root.cpanterior) {
_root.cpanterior = _root.player1cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 14) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1cdp >= 14 and _root.player1cdp > _root.cpanterior) {
_root.cpanterior = _root.player1cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 7) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1cdp >= 7 and _root.player1cdp > _root.cpanterior) {
_root.cpanterior = _root.player1cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 15) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1cdp >= 15 and _root.player1cdp > _root.cpanterior) {
_root.cpanterior = _root.player1cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 8) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1cdp >= 8 and _root.player1cdp > _root.cpanterior) {
_root.cpanterior = _root.player1cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 16) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player1cdp >= 16 and _root.player1cdp > _root.cpanterior) {
_root.cpanterior = _root.player1cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3217 {
onClipEvent (enterFrame) {
if (_root.player1orbs > 3) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 3217 {
onClipEvent (enterFrame) {
if (_root.player1orbs > 2) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 3217 {
onClipEvent (enterFrame) {
if (_root.player1orbs > 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 3217 {
onClipEvent (enterFrame) {
if (_root.player1orbs > 0) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 3201 {
onClipEvent (enterFrame) {
if (_root.player2freeexp > 0) {
play();
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3221 {
onClipEvent (enterFrame) {
if (_root.menuestay == 1) {
if (_root.pagina == 1) {
gotoAndStop(3);
if (_root.presionadoalgo == 0) {
if (Key.isDown(40)) {
_root.presionadoalgo = 1;
_root.menuestay = 2;
} else {
if (Key.isDown(38)) {
_root.presionadoalgo = 1;
_root.menuestay = 0;
} else {
if (Key.isDown(39)) {
_root.menumenu.gotoAndStop(2);
_root.pagina = 2;
_root.presionadoalgo = 1;
}
}
}
}
} else {
gotoAndStop(2);
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3229 {
onClipEvent (enterFrame) {
if (_root.player1freeexp == 0) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
}
}
instance of movieClip 3235 {
onClipEvent (enterFrame) {
if (_root.player1 == 'Ridge') {
gotoAndStop(1);
} else {
if (_root.player1 == 'Vance') {
gotoAndStop(2);
} else {
if (_root.player1 == 'Nesyss') {
gotoAndStop(3);
} else {
if (_root.player1 == 'Wyvern') {
gotoAndStop(4);
} else {
if (_root.player1 == 'Cog') {
gotoAndStop(5);
} else {
if (_root.player1 == 'Tindra') {
gotoAndStop(6);
}
}
}
}
}
}
}
}
instance of movieClip 3235 {
onClipEvent (enterFrame) {
if (_root.player2 == 'Ridge') {
gotoAndStop(1);
} else {
if (_root.player2 == 'Vance') {
gotoAndStop(2);
} else {
if (_root.player2 == 'Nesyss') {
gotoAndStop(3);
} else {
if (_root.player2 == 'Wyvern') {
gotoAndStop(4);
} else {
if (_root.player2 == 'Cog') {
gotoAndStop(5);
} else {
if (_root.player2 == 'Tindra') {
gotoAndStop(6);
}
}
}
}
}
}
}
}
instance of movieClip 3241 {
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.player1life / _root.player1lifetotal) * 100);
this.gotoAndStop(percentloaded + 1);
_root.textodelabarra = _root.player1life + '/' + _root.player1lifetotal;
}
}
instance of movieClip 3186 {
onClipEvent (enterFrame) {
if (_root.menuestax == 2) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3186 {
onClipEvent (enterFrame) {
if (_root.menuestax == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3201 {
onClipEvent (enterFrame) {
if (_root.player2freeexp > 0) {
play();
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3201 {
onClipEvent (enterFrame) {
if (_root.player1freeexp > 0) {
play();
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3342 {
onClipEvent (enterFrame) {
if (_root.player1 == 'Ridge') {
if (_root.player1lvl > 11) {
gotoAndStop(4);
} else {
if (_root.player1lvl > 7) {
gotoAndStop(3);
} else {
if (_root.player1lvl > 3) {
gotoAndStop(2);
} else {
gotoAndStop(25);
}
}
}
} else {
if (_root.player1 == 'Vance') {
if (_root.player1lvl > 11) {
gotoAndStop(8);
} else {
if (_root.player1lvl > 7) {
gotoAndStop(7);
} else {
if (_root.player1lvl > 3) {
gotoAndStop(6);
} else {
gotoAndStop(5);
}
}
}
} else {
if (_root.player1 == 'Nesyss') {
if (_root.player1lvl > 11) {
gotoAndStop(12);
} else {
if (_root.player1lvl > 7) {
gotoAndStop(11);
} else {
if (_root.player1lvl > 3) {
gotoAndStop(10);
} else {
gotoAndStop(9);
}
}
}
} else {
if (_root.player1 == 'Wyvern') {
if (_root.player1lvl > 11) {
gotoAndStop(16);
} else {
if (_root.player1lvl > 7) {
gotoAndStop(15);
} else {
if (_root.player1lvl > 3) {
gotoAndStop(14);
} else {
gotoAndStop(13);
}
}
}
} else {
if (_root.player1 == 'Cog') {
if (_root.player1lvl > 11) {
gotoAndStop(20);
} else {
if (_root.player1lvl > 7) {
gotoAndStop(19);
} else {
if (_root.player1lvl > 3) {
gotoAndStop(18);
} else {
gotoAndStop(17);
}
}
}
} else {
if (_root.player1 == 'Tindra') {
if (_root.player1lvl > 11) {
gotoAndStop(24);
} else {
if (_root.player1lvl > 7) {
gotoAndStop(23);
} else {
if (_root.player1lvl > 3) {
gotoAndStop(22);
} else {
gotoAndStop(21);
}
}
}
}
}
}
}
}
}
}
}
instance of movieClip 3349 {
onClipEvent (enterFrame) {
if (_root.guardian1 == 'Ferralas') {
gotoAndStop(4);
} else {
if (_root.guardian1 == 'ShellKin') {
gotoAndStop(2);
} else {
if (_root.guardian1 == 'LifeWing') {
gotoAndStop(3);
} else {
gotoAndStop(1);
}
}
}
}
}
instance of movieClip 3221 {
onClipEvent (enterFrame) {
if (_root.menuestay == 1) {
if (_root.pagina == 1) {
gotoAndStop(3);
if (_root.presionadoalgo == 0) {
if (Key.isDown(38)) {
_root.presionadoalgo = 1;
_root.menuestay = 0;
} else {
if (Key.isDown(39)) {
_root.menumenu.gotoAndStop(2);
_root.pagina = 2;
_root.presionadoalgo = 1;
} else {
if (Key.isDown(37)) {
_root.menumenu.gotoAndStop(1);
_root.pagina = 1;
_root.presionadoalgo = 1;
}
}
}
}
} else {
if (_root.presionadoalgo == 0) {
if (Key.isDown(38)) {
_root.presionadoalgo = 1;
_root.menuestay = 0;
} else {
if (Key.isDown(37)) {
_root.menumenu.gotoAndStop(1);
_root.pagina = 1;
_root.presionadoalgo = 1;
}
}
}
gotoAndStop(2);
}
} else {
gotoAndStop(1);
}
}
}
frame 3 {
_root.zakk1 = 'Empty';
_root.zakk2 = 'Empty';
_root.zakk3 = 'Empty';
if (_root.misiones[0] == 0) {
_root.zakk1 = 'Explore Groggen Bay';
}
if (_root.misiones[1][0] == 0) {
if (_root.zakk1 == 'Empty') {
_root.zakk1 = 'Kill ' + _root.misiones[1][1] + '/5 Goblin Highborn';
} else {
_root.zakk2 = 'Kill ' + _root.misiones[1][1] + '/5 Goblin Highborn';
}
}
if (_root.misiones[2][0] == 0) {
if (_root.zakk1 == 'Empty') {
_root.zakk1 = 'Kill ' + _root.misiones[2][1] + '/7 Goblin Marksmen';
} else {
if (_root.zakk2 == 'Empty') {
_root.zakk2 = 'Kill ' + _root.misiones[2][1] + '/7 Goblin Marksmen';
} else {
if (_root.zakk3 == 'Empty') {
_root.zakk3 = 'Kill ' + _root.misiones[2][1] + '/7 Goblin Marksmen';
}
}
}
}
if (_root.misiones[3] == 0) {
if (_root.zakk1 == 'Empty') {
_root.zakk1 = 'Defeat the Earth Golem';
} else {
if (_root.zakk2 == 'Empty') {
_root.zakk2 = 'Defeat the Earth Golem';
} else {
if (_root.zakk3 == 'Empty') {
_root.zakk3 = 'Defeat the Earth Golem';
}
}
}
}
_root.menumenu.quest1.text = _root.zakk1;
_root.menumenu.quest2.text = _root.zakk2;
_root.menumenu.quest3.text = _root.zakk3;
}
instance of movieClip 3355 {
onClipEvent (enterFrame) {
if (_root.player1lvl > 19 and _root.player2lvl > 19) {
gotoAndStop(3);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3355 {
onClipEvent (enterFrame) {
gotoAndStop(1);
}
}
instance of movieClip 3355 {
onClipEvent (enterFrame) {
if (_root.nodosestados[87] == 4 or _root.nodosestados[87] == 5) {
gotoAndStop(3);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3355 {
onClipEvent (enterFrame) {
gotoAndStop(1);
}
}
instance of movieClip 3186 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance of movieClip 3193 {
onClipEvent (enterFrame) {
if (_root.menuestax == 2 and _root.menuestay == 0) {
gotoAndStop(1);
if (_root.presionadoalgo == 0) {
if (Key.isDown(37)) {
_root.presionadoalgo = 1;
_root.menuestax = 1;
_root.menumenu.gotoAndStop(4);
} else {
if (Key.isDown(40)) {
_root.presionadoalgo = 1;
_root.menuestay = 1;
}
}
}
} else {
gotoAndStop(6);
}
if (_root.presionadoalgo == 1) {
if (Key.isDown(40)) {
_root.presionadoalgo = 1;
} else {
if (Key.isDown(38)) {
_root.presionadoalgo = 1;
} else {
if (Key.isDown(39)) {
_root.presionadoalgo = 1;
} else {
if (Key.isDown(37)) {
_root.presionadoalgo = 1;
} else {
if (Key.isDown(81)) {
} else {
_root.presionadoalgo = 0;
}
}
}
}
}
}
}
}
instance of movieClip 3201 {
onClipEvent (enterFrame) {
if (_root.player1freeexp > 0) {
play();
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3201 {
onClipEvent (enterFrame) {
if (_root.player2freeexp > 0) {
play();
} else {
gotoAndStop(1);
}
}
}
instance listaquest of movieClip 3406 {
onClipEvent (load) {
esta = 2;
}
onClipEvent (enterFrame) {
if (_root.menuestay == 0) {
gotoAndStop(1);
} else {
gotoAndStop(esta);
if (_root.presionadoalgo == 0) {
if (Key.isDown(37)) {
esta -= 1;
_root.presionadoalgo = 1;
if (esta < 2) {
esta = 2;
}
} else {
if (Key.isDown(39)) {
esta += 1;
_root.presionadoalgo = 1;
if (esta > 7) {
esta = 7;
}
} else {
if (Key.isDown(38)) {
_root.menuestay = 0;
_root.presionadoalgo = 1;
}
}
}
}
}
if (_root.presionadoalgo == 1) {
if (Key.isDown(40)) {
_root.presionadoalgo = 1;
} else {
if (Key.isDown(38)) {
_root.presionadoalgo = 1;
} else {
if (Key.isDown(39)) {
_root.presionadoalgo = 1;
} else {
if (Key.isDown(37)) {
_root.presionadoalgo = 1;
} else {
if (Key.isDown(81)) {
} else {
_root.presionadoalgo = 0;
}
}
}
}
}
}
}
}
frame 4 {
_root.hpanterior = _root.player2healthp;
_root.apanterior = _root.player2damagep;
_root.cpanterior = _root.player2cdp;
_root.pagina = 1;
}
instance of movieClip 3177 {
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.player2exp / _root.player2lvl * 4) * 100);
if (_root.player2lvl < 20) {
this.gotoAndStop(percentloaded + 1);
} else {
gotoAndStop(100);
}
}
}
instance of movieClip 3186 {
onClipEvent (enterFrame) {
if (_root.menuestax == 0) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3186 {
onClipEvent (enterFrame) {
if (_root.menuestax == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3186 {
onClipEvent (enterFrame) {
if (_root.menuestax == 2) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3199 {
onClipEvent (enterFrame) {
if (_root.player2life < 1) {
gotoAndStop(3);
} else {
if (_root.player2 == 'Ridge') {
gotoAndStop(8);
} else {
if (_root.player2 == 'Vance') {
gotoAndStop(2);
} else {
if (_root.player2 == 'Nesyss') {
gotoAndStop(4);
} else {
if (_root.player2 == 'Wyvern') {
gotoAndStop(5);
} else {
if (_root.player2 == 'Cog') {
gotoAndStop(6);
} else {
if (_root.player2 == 'Tindra') {
gotoAndStop(7);
}
}
}
}
}
}
}
}
}
instance arrow2 of movieClip 3200 {
onClipEvent (enterFrame) {
if (_root.player2 == 'Ridge') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 150;
} else {
if (_root.player2 == 'Vance') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 95;
} else {
if (_root.player2 == 'Nesyss') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 80;
} else {
if (_root.player2 == 'Wyvern') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 110;
} else {
if (_root.player2 == 'Cog') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 3 + 170;
} else {
if (_root.player2 == 'Tindra') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 100;
}
}
}
}
}
}
if (_root.guardian2 == 'ShellKin') {
_root.player2lifetotal += 150;
}
if (_root.menuestay == 2) {
this.gotoAndStop(5);
if (_root.presionadoalgo == 0) {
if (Key.isDown(40)) {
_root.presionadoalgo = 1;
_root.menuestay = 3;
_root.menumenu.arrow2.arrowarrow.gotoAndPlay(1);
} else {
if (Key.isDown(38)) {
_root.presionadoalgo = 1;
_root.menuestay = 1;
} else {
if (Key.isDown(81)) {
if (_root.player2freeexp > 0) {
if (_root.player2healthp < 16) {
_root.player2freeexp -= 1;
_root.presionadoalgo = 1;
_root.upsfx.play();
_root.player2healthp += 1;
if (_root.player2 != 'Cog') {
_root.player2life += _root.player2lvl * 2;
} else {
_root.player2life += _root.player2lvl * 3;
}
}
}
}
}
}
}
} else {
if (_root.menuestay == 3) {
this.gotoAndStop(2);
if (_root.presionadoalgo == 0) {
if (Key.isDown(40)) {
_root.presionadoalgo = 1;
_root.menuestay = 4;
_root.menumenu.arrow2.arrowarrow.gotoAndPlay(1);
} else {
if (Key.isDown(38)) {
_root.presionadoalgo = 1;
_root.menumenu.arrow2.arrowarrow.gotoAndPlay(1);
_root.menuestay = 2;
} else {
if (Key.isDown(81)) {
if (_root.player2freeexp > 0) {
if (_root.player2damagep < 16) {
_root.upsfx.play();
_root.player2freeexp -= 1;
_root.presionadoalgo = 1;
_root.player2damagep += 1;
}
}
}
}
}
}
} else {
if (_root.menuestay == 4) {
this.gotoAndStop(3);
if (_root.presionadoalgo == 0) {
if (Key.isDown(40)) {
_root.presionadoalgo = 1;
_root.menuestay = 5;
_root.menumenu.arrow2.arrowarrow.gotoAndPlay(1);
} else {
if (Key.isDown(38)) {
_root.presionadoalgo = 1;
_root.menumenu.arrow2.arrowarrow.gotoAndPlay(1);
_root.menuestay = 3;
} else {
if (Key.isDown(81)) {
if (_root.player2freeexp > 0) {
if (_root.player2cdp < 16) {
_root.player2freeexp -= 1;
_root.presionadoalgo = 1;
_root.player2cdp += 1;
_root.upsfx.play();
}
}
}
}
}
}
} else {
if (_root.menuestay == 5) {
this.gotoAndStop(4);
if (_root.presionadoalgo == 0) {
if (Key.isDown(40)) {
} else {
if (Key.isDown(38)) {
_root.presionadoalgo = 1;
_root.menuestay = 4;
_root.menumenu.arrow2.arrowarrow.gotoAndPlay(1);
} else {
if (Key.isDown(81)) {
_root.presionadoalgo = 1;
if (_root.orbgratis > 0) {
getURL('http://www.facebook.com/HappyGhostStudio', '_blank');
_root.player1orbs += 1;
if (_root.player1orbs > 4) {
_root.player1orbs = 4;
}
_root.player2orbs += 1;
if (_root.player2orbs > 4) {
_root.player2orbs = 4;
}
_root.orbgratis = 0;
}
}
}
}
}
} else {
this.gotoAndStop(1);
}
}
}
}
}
}
instance of movieClip 3193 {
onClipEvent (enterFrame) {
if (_root.menuestax == 1 and _root.menuestay == 0) {
gotoAndStop(1);
if (_root.presionadoalgo == 0) {
if (Key.isDown(40)) {
_root.presionadoalgo = 1;
_root.menuestay = 1;
} else {
if (Key.isDown(37)) {
_root.presionadoalgo = 1;
_root.menuestax = 0;
_root.menumenu.gotoAndStop(1);
} else {
if (Key.isDown(39)) {
_root.presionadoalgo = 1;
_root.menuestax = 2;
_root.menumenu.gotoAndStop(3);
}
}
}
}
} else {
gotoAndStop(6);
}
if (_root.presionadoalgo == 1) {
if (Key.isDown(40)) {
_root.presionadoalgo = 1;
} else {
if (Key.isDown(38)) {
_root.presionadoalgo = 1;
} else {
if (Key.isDown(39)) {
_root.presionadoalgo = 1;
} else {
if (Key.isDown(37)) {
_root.presionadoalgo = 1;
} else {
if (Key.isDown(81)) {
} else {
_root.presionadoalgo = 0;
}
}
}
}
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 1) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2healthp >= 1 and _root.player2healthp > _root.hpanterior) {
_root.hpanterior = _root.player2healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 9) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2healthp >= 9 and _root.player2healthp > _root.hpanterior) {
_root.hpanterior = _root.player2healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 2) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2healthp >= 2 and _root.player2healthp > _root.hpanterior) {
_root.hpanterior = _root.player2healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 10) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2healthp >= 10 and _root.player2healthp > _root.hpanterior) {
_root.hpanterior = _root.player2healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 3) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2healthp >= 3 and _root.player2healthp > _root.hpanterior) {
_root.hpanterior = _root.player2healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 11) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2healthp >= 11 and _root.player2healthp > _root.hpanterior) {
_root.hpanterior = _root.player2healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 4) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2healthp >= 4 and _root.player2healthp > _root.hpanterior) {
_root.hpanterior = _root.player2healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 12) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2healthp >= 12 and _root.player2healthp > _root.hpanterior) {
_root.hpanterior = _root.player2healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 5) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2healthp >= 5 and _root.player5healthp > _root.hpanterior) {
_root.hpanterior = _root.player2healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 13) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2healthp >= 13 and _root.player2healthp > _root.hpanterior) {
_root.hpanterior = _root.player2healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 6) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2healthp >= 6 and _root.player2healthp > _root.hpanterior) {
_root.hpanterior = _root.player2healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 14) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2healthp >= 14 and _root.player2healthp > _root.hpanterior) {
_root.hpanterior = _root.player2healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 7) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2healthp >= 7 and _root.player2healthp > _root.hpanterior) {
_root.hpanterior = _root.player2healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 15) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2healthp >= 15 and _root.player2healthp > _root.hpanterior) {
_root.hpanterior = _root.player2healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 8) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2healthp >= 8 and _root.player2healthp > _root.hpanterior) {
_root.hpanterior = _root.player2healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.hpanterior >= 16) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2healthp >= 16 and _root.player2healthp > _root.hpanterior) {
_root.hpanterior = _root.player2healthp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 1) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2damagep >= 1 and _root.player2damagep > _root.apanterior) {
_root.apanterior = _root.player2damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 9) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2damagep >= 9 and _root.player2damagep > _root.apanterior) {
_root.apanterior = _root.player2damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 2) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2damagep >= 2 and _root.player2damagep > _root.apanterior) {
_root.apanterior = _root.player2damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 10) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2damagep >= 10 and _root.player2damagep > _root.apanterior) {
_root.apanterior = _root.player2damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 3) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2damagep >= 3 and _root.player2damagep > _root.apanterior) {
_root.apanterior = _root.player2damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 11) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2damagep >= 11 and _root.player2damagep > _root.apanterior) {
_root.apanterior = _root.player2damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 4) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2damagep >= 4 and _root.player2damagep > _root.apanterior) {
_root.apanterior = _root.player2damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 12) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2damagep >= 12 and _root.player2damagep > _root.apanterior) {
_root.apanterior = _root.player2damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 5) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2damagep >= 5 and _root.player2damagep > _root.apanterior) {
_root.apanterior = _root.player2damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 13) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2damagep >= 13 and _root.player2damagep > _root.apanterior) {
_root.apanterior = _root.player2damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 6) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2damagep >= 6 and _root.player2damagep > _root.apanterior) {
_root.apanterior = _root.player2damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 14) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2damagep >= 14 and _root.player2damagep > _root.apanterior) {
_root.apanterior = _root.player2damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 7) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2damagep >= 7 and _root.player2damagep > _root.apanterior) {
_root.apanterior = _root.player2damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 15) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2damagep >= 15 and _root.player2damagep > _root.apanterior) {
_root.apanterior = _root.player2damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 8) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2damagep >= 8 and _root.player2damagep > _root.apanterior) {
_root.apanterior = _root.player2damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.apanterior >= 16) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2damagep >= 16 and _root.player2damagep > _root.apanterior) {
_root.apanterior = _root.player2damagep;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 1) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2cdp >= 1 and _root.player2cdp > _root.cpanterior) {
_root.cpanterior = _root.player2cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 9) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2cdp >= 9 and _root.player2cdp > _root.cpanterior) {
_root.cpanterior = _root.player2cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 2) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2cdp >= 2 and _root.player2cdp > _root.cpanterior) {
_root.cpanterior = _root.player2cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 10) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2cdp >= 10 and _root.player2cdp > _root.cpanterior) {
_root.cpanterior = _root.player2cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 3) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2cdp >= 3 and _root.player2cdp > _root.cpanterior) {
_root.cpanterior = _root.player2cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 11) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2cdp >= 11 and _root.player2cdp > _root.cpanterior) {
_root.cpanterior = _root.player2cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 4) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2cdp >= 4 and _root.player2cdp > _root.cpanterior) {
_root.cpanterior = _root.player2cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 12) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2cdp >= 12 and _root.player2cdp > _root.cpanterior) {
_root.cpanterior = _root.player2cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 5) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2cdp >= 5 and _root.player2cdp > _root.cpanterior) {
_root.cpanterior = _root.player2cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 13) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2cdp >= 13 and _root.player2cdp > _root.cpanterior) {
_root.cpanterior = _root.player2cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 6) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2cdp >= 6 and _root.player2cdp > _root.cpanterior) {
_root.cpanterior = _root.player2cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 14) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2cdp >= 14 and _root.player2cdp > _root.cpanterior) {
_root.cpanterior = _root.player2cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 7) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2cdp >= 7 and _root.player2cdp > _root.cpanterior) {
_root.cpanterior = _root.player2cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 15) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2cdp >= 15 and _root.player2cdp > _root.cpanterior) {
_root.cpanterior = _root.player2cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 8) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2cdp >= 8 and _root.player2cdp > _root.cpanterior) {
_root.cpanterior = _root.player2cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3212 {
onClipEvent (load) {
pausa = 12;
}
onClipEvent (enterFrame) {
pausa += 1;
if (_root.cpanterior >= 16) {
if (pausa > 12) {
this.gotoAndStop(3);
}
} else {
if (_root.player2cdp >= 16 and _root.player2cdp > _root.cpanterior) {
_root.cpanterior = _root.player2cdp;
pausa = 0;
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3217 {
onClipEvent (enterFrame) {
if (_root.player2orbs > 3) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 3217 {
onClipEvent (enterFrame) {
if (_root.player2orbs > 2) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 3217 {
onClipEvent (enterFrame) {
if (_root.player2orbs > 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 3217 {
onClipEvent (enterFrame) {
if (_root.player2orbs > 0) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 3221 {
onClipEvent (enterFrame) {
if (_root.menuestay == 1) {
if (_root.pagina == 1) {
gotoAndStop(3);
if (_root.presionadoalgo == 0) {
if (Key.isDown(40)) {
_root.presionadoalgo = 1;
_root.menuestay = 2;
} else {
if (Key.isDown(38)) {
_root.presionadoalgo = 1;
_root.menuestay = 0;
} else {
if (Key.isDown(39)) {
_root.menumenu.gotoAndStop(5);
_root.pagina = 2;
_root.presionadoalgo = 1;
}
}
}
}
} else {
gotoAndStop(2);
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3417 {
onClipEvent (enterFrame) {
if (_root.player2freeexp == 0) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
}
}
instance of movieClip 3241 {
onClipEvent (enterFrame) {
percentloaded = Math.ceil((_root.player2life / _root.player2lifetotal) * 100);
this.gotoAndStop(percentloaded + 1);
_root.textodelabarra = _root.player2life + '/' + _root.player2lifetotal;
}
}
instance of movieClip 3186 {
onClipEvent (enterFrame) {
if (_root.menuestax == 2) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3186 {
onClipEvent (enterFrame) {
if (_root.menuestax == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3342 {
onClipEvent (enterFrame) {
if (_root.player2 == 'Ridge') {
if (_root.player2lvl > 11) {
gotoAndStop(4);
} else {
if (_root.player2lvl > 7) {
gotoAndStop(3);
} else {
if (_root.player2lvl > 3) {
gotoAndStop(2);
} else {
gotoAndStop(25);
}
}
}
} else {
if (_root.player2 == 'Vance') {
if (_root.player2lvl > 11) {
gotoAndStop(8);
} else {
if (_root.player2lvl > 7) {
gotoAndStop(7);
} else {
if (_root.player2lvl > 3) {
gotoAndStop(6);
} else {
gotoAndStop(5);
}
}
}
} else {
if (_root.player2 == 'Nesyss') {
if (_root.player2lvl > 11) {
gotoAndStop(12);
} else {
if (_root.player2lvl > 7) {
gotoAndStop(11);
} else {
if (_root.player2lvl > 3) {
gotoAndStop(10);
} else {
gotoAndStop(9);
}
}
}
} else {
if (_root.player2 == 'Wyvern') {
if (_root.player2lvl > 11) {
gotoAndStop(16);
} else {
if (_root.player2lvl > 7) {
gotoAndStop(15);
} else {
if (_root.player2lvl > 3) {
gotoAndStop(14);
} else {
gotoAndStop(13);
}
}
}
} else {
if (_root.player2 == 'Cog') {
if (_root.player2lvl > 11) {
gotoAndStop(20);
} else {
if (_root.player2lvl > 7) {
gotoAndStop(19);
} else {
if (_root.player2lvl > 3) {
gotoAndStop(18);
} else {
gotoAndStop(17);
}
}
}
} else {
if (_root.player2 == 'Tindra') {
if (_root.player2lvl > 11) {
gotoAndStop(24);
} else {
if (_root.player2lvl > 7) {
gotoAndStop(23);
} else {
if (_root.player2lvl > 3) {
gotoAndStop(22);
} else {
gotoAndStop(21);
}
}
}
}
}
}
}
}
}
}
}
instance of movieClip 3349 {
onClipEvent (enterFrame) {
if (_root.guardian2 == 'Ferralas') {
gotoAndStop(4);
} else {
if (_root.guardian2 == 'ShellKin') {
gotoAndStop(2);
} else {
if (_root.guardian2 == 'LifeWing') {
gotoAndStop(3);
} else {
gotoAndStop(1);
}
}
}
}
}
instance of movieClip 3221 {
onClipEvent (enterFrame) {
if (_root.menuestay == 1) {
if (_root.pagina == 1) {
gotoAndStop(1);
if (_root.presionadoalgo == 0) {
if (Key.isDown(38)) {
_root.presionadoalgo = 1;
_root.menuestay = 0;
} else {
if (Key.isDown(39)) {
_root.menumenu.gotoAndStop(5);
_root.pagina = 2;
_root.presionadoalgo = 1;
} else {
if (Key.isDown(37)) {
_root.menumenu.gotoAndStop(4);
_root.pagina = 1;
_root.presionadoalgo = 1;
}
}
}
}
} else {
if (_root.presionadoalgo == 0) {
if (Key.isDown(38)) {
_root.presionadoalgo = 1;
_root.menuestay = 0;
} else {
if (Key.isDown(37)) {
_root.menumenu.gotoAndStop(4);
_root.pagina = 1;
_root.presionadoalgo = 1;
}
}
}
gotoAndStop(2);
}
} else {
gotoAndStop(3);
}
}
}
instance of movieClip 3221 {
onClipEvent (enterFrame) {
if (_root.menuestay == 1) {
if (_root.pagina == 1) {
gotoAndStop(3);
if (_root.presionadoalgo == 0) {
if (Key.isDown(40)) {
_root.presionadoalgo = 1;
_root.menuestay = 2;
} else {
if (Key.isDown(38)) {
_root.presionadoalgo = 1;
_root.menuestay = 0;
} else {
if (Key.isDown(39)) {
_root.menumenu.gotoAndStop(5);
_root.pagina = 2;
_root.presionadoalgo = 1;
}
}
}
}
} else {
gotoAndStop(2);
}
} else {
gotoAndStop(1);
}
}
}
}
instance menumenu of movieClip 3420 {
onClipEvent (load) {
var pausa = 24;
}
onClipEvent (enterFrame) {
pausa -= 1;
if (pausa < 0) {
if (Key.isDown(77)) {
if (_root.posicion < 15) {
_root.ira = 6;
} else {
if (_root.posicion < 36) {
_root.ira = 9;
} else {
if (_root.posicion < 53) {
_root.ira = 10;
} else {
if (_root.posicion < 72) {
_root.ira = 11;
} else {
_root.ira = 12;
}
}
}
}
_root.transin.play();
}
}
}
}
movieClip 3423 {
frame 1 {
stop();
}
}
instance of movieClip 3161 {
onClipEvent (enterFrame) {
gotoAndStop(1);
}
}
frame 6 {
stop();
_root.battle.stop();
if (_root.misiones[0] == 0) {
if (_root.nodosestados[1] == 4 or _root.nodosestados[1] == 5) {
if (_root.nodosestados[3] == 4 or _root.nodosestados[3] == 5) {
if (_root.nodosestados[5] == 4 or _root.nodosestados[5] == 5) {
if (_root.nodosestados[7] == 4 or _root.nodosestados[7] == 5) {
if (_root.nodosestados[8] == 4 or _root.nodosestados[8] == 5) {
if (_root.nodosestados[9] == 4 or _root.nodosestados[9] == 5) {
if (_root.nodosestados[10] == 4 or _root.nodosestados[10] == 5) {
_root.misiones[0] = 1;
}
}
}
}
}
}
}
}
if (_root.nodosestados[12] == 4 or _root.nodosestados[12] == 5) {
_root.misiones[4] = 1;
}
if (_root.nodosestados[3] == 2 and _root.nodosestados[5] == 2) {
_root.dialogos = 2;
}
k = 0;
while (k < 500) {
removeMovieClip('snow' + k);
++k;
}
if (_root.resetearposicion == 1) {
_root.posicion = _root.recall;
_root.resetearposicion = 0;
}
_root.borrarnieve = 1;
_root.mapaestax = 1;
_root.caminando = 0;
_root.lugar = 1;
_root.llego1 = 1;
_root.llego2 = 1;
_root.velocidadchibix = 0;
_root.velocidadchibiy = 0;
_root.velocidadchibix2 = 0;
_root.velocidadchibiy2 = 0;
_root.mostrandocartel = 2;
_root.mostrarcartel = 0;
_root.pausadelaq = 24;
}
frame 6 {
_root.transout.gotoAndPlay(1);
_root.transin.gotoAndStop(1);
}
frame 6 {
_root.primeromapa.play();
_root.mainm.stop();
_root.mapa.stop();
_root.battle.stop();
_root.finalmapa.stop();
}
movieClip 3426 {
}
movieClip 3431 {
}
movieClip 3432 {
}
movieClip 3434 {
}
movieClip 3436 {
}
movieClip 3439 {
}
movieClip 3442 {
}
movieClip 3443 {
}
movieClip 3445 {
}
movieClip 3446 {
}
movieClip 3447 {
}
movieClip 3448 {
}
movieClip 3449 {
instance of movieClip 3439 {
onClipEvent (enterFrame) {
if (_root.nodosestados[12] == 4 or _root.nodosestados[12] == 5) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
}
movieClip 3461 {
frame 1 {
stop();
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[4]);
if (_root.posicion == 1 and _root.caminando == 0 and _root.nodosestados[1] == 2) {
_root.nodosestados[1] = 3;
} else {
if (_root.nodosestados[1] == 4 and _root.posicion == 1 and _root.caminando == 0) {
_root.nodosestados[1] = 5;
} else {
if (_root.posicion != 1) {
if (_root.nodosestados[1] == 4 or _root.nodosestados[1] == 5) {
_root.nodosestados[1] = 4;
} else {
_root.nodosestados[1] = 2;
}
}
}
}
if (_root.posicion == 2 and _root.caminando == 0 and _root.nodosestados[2] == 2) {
_root.nodosestados[2] = 3;
} else {
if (_root.nodosestados[2] == 4 and _root.posicion == 2 and _root.caminando == 0) {
_root.nodosestados[2] = 5;
} else {
if (_root.posicion != 2) {
if (_root.nodosestados[2] == 4 or _root.nodosestados[2] == 5) {
_root.nodosestados[2] = 4;
} else {
_root.nodosestados[2] = 2;
}
}
}
}
if (_root.posicion == 3 and _root.caminando == 0 and _root.nodosestados[3] == 2) {
_root.nodosestados[3] = 3;
} else {
if (_root.nodosestados[3] == 4 and _root.posicion == 3 and _root.caminando == 0) {
_root.nodosestados[3] = 5;
} else {
if (_root.posicion != 3) {
if (_root.nodosestados[3] == 4 or _root.nodosestados[3] == 5) {
_root.nodosestados[3] = 4;
} else {
_root.nodosestados[3] = 2;
}
}
}
}
if (_root.posicion == 4 and _root.caminando == 0) {
_root.nodosestados[4] = 1;
}
if (_root.posicion == 5 and _root.caminando == 0 and _root.nodosestados[5] == 2) {
_root.nodosestados[5] = 3;
} else {
if (_root.nodosestados[5] == 4 and _root.posicion == 5 and _root.caminando == 0) {
_root.nodosestados[5] = 5;
} else {
if (_root.posicion != 5) {
if (_root.nodosestados[5] == 4 or _root.nodosestados[5] == 5) {
_root.nodosestados[5] = 4;
} else {
_root.nodosestados[5] = 2;
}
}
}
}
if (_root.posicion == 6 and _root.caminando == 0) {
_root.nodosestados[6] = 9;
} else {
_root.nodosestados[6] = 8;
}
if (_root.posicion == 7 and _root.caminando == 0 and _root.nodosestados[7] == 2) {
_root.nodosestados[7] = 3;
} else {
if (_root.nodosestados[7] == 4 and _root.posicion == 7 and _root.caminando == 0) {
_root.nodosestados[7] = 5;
} else {
if (_root.posicion != 7) {
if (_root.nodosestados[7] == 4 or _root.nodosestados[7] == 5) {
_root.nodosestados[7] = 4;
} else {
_root.nodosestados[7] = 2;
}
}
}
}
if (_root.posicion == 8 and _root.caminando == 0 and _root.nodosestados[8] == 2) {
_root.nodosestados[8] = 3;
} else {
if (_root.nodosestados[8] == 4 and _root.posicion == 8 and _root.caminando == 0) {
_root.nodosestados[8] = 5;
} else {
if (_root.posicion != 8) {
if (_root.nodosestados[8] == 4 or _root.nodosestados[8] == 5) {
_root.nodosestados[8] = 4;
} else {
_root.nodosestados[8] = 2;
}
}
}
}
if (_root.posicion == 9 and _root.caminando == 0 and _root.nodosestados[9] == 2) {
_root.nodosestados[9] = 3;
} else {
if (_root.nodosestados[9] == 4 and _root.posicion == 9 and _root.caminando == 0) {
_root.nodosestados[9] = 5;
} else {
if (_root.posicion != 9) {
if (_root.nodosestados[9] == 4 or _root.nodosestados[9] == 5) {
_root.nodosestados[9] = 4;
} else {
_root.nodosestados[9] = 2;
}
}
}
}
if (_root.posicion == 10 and _root.caminando == 0 and _root.nodosestados[10] == 2) {
_root.nodosestados[10] = 3;
} else {
if (_root.nodosestados[10] == 4 and _root.posicion == 10 and _root.caminando == 0) {
_root.nodosestados[10] = 5;
} else {
if (_root.posicion != 10) {
if (_root.nodosestados[10] == 4 or _root.nodosestados[10] == 5) {
_root.nodosestados[10] = 4;
} else {
_root.nodosestados[10] = 2;
}
}
}
}
if (_root.posicion == 11 and _root.caminando == 0) {
_root.nodosestados[11] = 9;
} else {
_root.nodosestados[11] = 8;
}
if (_root.posicion == 12 and _root.caminando == 0 and _root.nodosestados[12] == 6) {
_root.nodosestados[12] = 7;
} else {
if (_root.nodosestados[12] == 4 and _root.posicion == 12 and _root.caminando == 0) {
_root.nodosestados[12] = 5;
} else {
if (_root.posicion != 12) {
if (_root.nodosestados[12] == 4 or _root.nodosestados[12] == 5) {
_root.nodosestados[12] = 4;
} else {
_root.nodosestados[12] = 6;
}
}
}
}
if (_root.posicion == 13 and _root.caminando == 0) {
_root.nodosestados[13] = 1;
} else {
_root.nodosestados[13] = 1;
}
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[3]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[1]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[5]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[6]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[7]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[8]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[9]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[10]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[11]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[12]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[13]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[2]);
}
}
movieClip 3467 {
}
movieClip 3468 {
}
movieClip 3474 {
}
movieClip 3475 {
}
movieClip 3479 {
}
movieClip 3480 {
}
movieClip 3484 {
}
movieClip 3485 {
}
movieClip 3489 {
}
movieClip 3490 {
}
movieClip 3494 {
}
movieClip 3495 {
}
movieClip 3496 {
}
movieClip 3498 {
}
movieClip 3507 {
}
movieClip 3508 {
}
movieClip 3509 {
instance of movieClip 3468 {
onClipEvent (enterFrame) {
if (_root.llego2 == 0) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
instance of movieClip 3475 {
onClipEvent (enterFrame) {
if (_root.llego2 == 0) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
instance of movieClip 3480 {
onClipEvent (enterFrame) {
if (_root.llego2 == 0) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
instance of movieClip 3485 {
onClipEvent (enterFrame) {
if (_root.llego2 == 0) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
instance of movieClip 3490 {
onClipEvent (enterFrame) {
if (_root.llego2 == 0) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
instance of movieClip 3495 {
onClipEvent (enterFrame) {
if (_root.llego1 == 0) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance personaje2 of movieClip 3509 {
onClipEvent (load) {
var posicionx = 0;
var posiciony = 0;
var velocidadchibix = 0;
var velocidadchibiy = 0;
var mover = 0;
}
onClipEvent (enterFrame) {
if (mover == 0) {
mover = 1;
if (_root.posicion == 33) {
_root.posicion = 34;
}
this._x = _root.posiciones2[_root.posicion - 1][0][0];
this._y = _root.posiciones2[_root.posicion - 1][1][0];
}
velocidadchibix = _root.velocidadchibix2 * 60 / 54;
velocidadchibiy = _root.velocidadchibiy2 * 60 / 54;
if (_root.player2life < 1) {
gotoAndStop(7);
} else {
if (_root.player2 == 'Ridge') {
this.gotoAndStop(1);
} else {
if (_root.player2 == 'Vance') {
this.gotoAndStop(2);
} else {
if (_root.player2 == 'Nesyss') {
this.gotoAndStop(3);
} else {
if (_root.player2 == 'Wyvern') {
this.gotoAndStop(4);
} else {
if (_root.player2 == 'Cog') {
this.gotoAndStop(5);
} else {
if (_root.player2 == 'Tindra') {
this.gotoAndStop(6);
}
}
}
}
}
}
}
if (_root.caminando == 1) {
posicionx = _root.posiciones2[_root.posicion - 1][0][0];
posiciony = _root.posiciones2[_root.posicion - 1][1][0];
if (this._x > posicionx) {
if (this._x - velocidadchibix > posicionx) {
this._x -= velocidadchibix;
} else {
this._x = posicionx;
}
} else {
if (this._x + velocidadchibix < posicionx) {
this._x += velocidadchibix;
} else {
this._x = posicionx;
}
}
if (this._y > posiciony) {
if (this._y - velocidadchibiy > posiciony) {
this._y -= velocidadchibiy;
} else {
this._y = posiciony;
}
} else {
if (this._y + velocidadchibiy < posiciony) {
this._y += velocidadchibiy;
} else {
this._y = posiciony;
}
}
if (this._x == posicionx and this._y == posiciony) {
_root.llego2 = 1;
}
}
}
}
movieClip 3511 {
}
movieClip 3512 {
frame 1 {
stop();
}
frame 10 {
stop();
}
}
movieClip 3513 {
instance of movieClip 3468 {
onClipEvent (enterFrame) {
if (_root.llego1 == 0) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
instance of movieClip 3512 {
onClipEvent (load) {
mostro = 0;
}
onClipEvent (enterFrame) {
if (_root.caminando == 0 and mostro == 0 and _root.mostrandocartel == 2 and _root.posicion != 4 and _root.posicion != 13 and _root.posicion != 16 and _root.posicion != 31 and _root.posicion != 32 and _root.posicion != 30 and _root.posicion != 36 and _root.posicion != 54 and _root.posicion != 73) {
this.gotoAndPlay(2);
mostro = 1;
} else {
if (mostro == 1) {
if (_root.caminando > 0 or _root.mostrandocartel < 2) {
this.gotoAndPlay(12);
mostro = 0;
}
}
}
}
}
instance of movieClip 3475 {
onClipEvent (enterFrame) {
if (_root.llego1 == 0) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
instance of movieClip 3480 {
onClipEvent (enterFrame) {
if (_root.llego1 == 0) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
instance of movieClip 3485 {
onClipEvent (enterFrame) {
if (_root.llego1 == 0) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
instance of movieClip 3490 {
onClipEvent (enterFrame) {
if (_root.llego1 == 0) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
instance of movieClip 3495 {
onClipEvent (enterFrame) {
if (_root.llego1 == 0) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 3513 {
onClipEvent (load) {
var posicionx = 0;
var posiciony = 0;
var mover = 0;
var saveo = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(81) and _root.mostrandocartel == 2 and _root.pausadelaq < 0) {
_root.mostrandocartel = 0;
_root.pausadelaq = 12;
}
_root.pausadelaq -= 1;
if (_root.posicion == 6 and _root.caminando == 0 or _root.posicion == 11 and _root.caminando == 0) {
_root.recall = _root.posicion;
if (saveo == 0) {
saveo = 1;
}
} else {
saveo = 0;
}
if (mover == 0) {
mover = 1;
if (_root.posicion == 33) {
_root.posicion = 34;
}
this._x = _root.posiciones[_root.posicion - 1][0][0];
this._y = _root.posiciones[_root.posicion - 1][1][0];
}
if (_root.caminando == 1) {
_root.mostrandocartel = 0;
}
if (_root.player1life < 1) {
gotoAndStop(7);
} else {
if (_root.player1 == 'Ridge') {
this.gotoAndStop(1);
} else {
if (_root.player1 == 'Vance') {
this.gotoAndStop(2);
} else {
if (_root.player1 == 'Nesyss') {
this.gotoAndStop(3);
} else {
if (_root.player1 == 'Wyvern') {
this.gotoAndStop(4);
} else {
if (_root.player1 == 'Cog') {
this.gotoAndStop(5);
} else {
if (_root.player1 == 'Tindra') {
this.gotoAndStop(6);
}
}
}
}
}
}
}
if (_root.caminando == 0 and _root.tutorialejecutado == 2 and _root.mostrandocartel != 1 and _root.mostrametutorial == 0 and _root.warpactivado == 0) {
if (_root.posicion == 1) {
if (Key.isDown(40)) {
if (_root.nodosestados[1] == 3 and _root.nodosestados[3] == 2) {
} else {
_root.posicion = 3;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[2][0][0] - _root.posiciones[0][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[2][1][0] - _root.posiciones[0][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[2][0][0] - _root.posiciones2[0][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[2][1][0] - _root.posiciones2[0][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[1] == 3 and _root.nodosestados[2] == 2) {
} else {
_root.posicion = 2;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[1][0][0] - _root.posiciones[0][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[1][1][0] - _root.posiciones[0][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[1][0][0] - _root.posiciones2[0][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[1][1][0] - _root.posiciones2[0][1][0]) / 60;
}
} else {
if (Key.isDown(39)) {
if (_root.nodosestados[1] == 3 and _root.nodosestados[7] == 2) {
} else {
_root.posicion = 7;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[6][0][0] - _root.posiciones[0][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[6][1][0] - _root.posiciones[0][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[6][0][0] - _root.posiciones2[0][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[6][1][0] - _root.posiciones2[0][1][0]) / 60;
}
}
}
}
} else {
if (_root.posicion == 2) {
if (Key.isDown(39)) {
if (_root.nodosestados[2] == 3 and _root.nodosestados[1] == 2) {
} else {
_root.posicion = 1;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[0][0][0] - _root.posiciones[1][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[0][1][0] - _root.posiciones[1][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[0][0][0] - _root.posiciones2[1][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[0][1][0] - _root.posiciones2[1][1][0]) / 60;
}
}
} else {
if (_root.posicion == 3) {
if (Key.isDown(38)) {
if (_root.nodosestados[3] == 3 and _root.nodosestados[1] == 2) {
} else {
_root.posicion = 1;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[0][0][0] - _root.posiciones[2][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[0][1][0] - _root.posiciones[2][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[0][0][0] - _root.posiciones2[2][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[0][1][0] - _root.posiciones2[2][1][0]) / 60;
}
} else {
if (Key.isDown(40)) {
if (_root.nodosestados[3] == 3 and _root.nodosestados[4] == 2) {
} else {
_root.posicion = 4;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[3][0][0] - _root.posiciones[2][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[3][1][0] - _root.posiciones[2][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[3][0][0] - _root.posiciones2[2][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[3][1][0] - _root.posiciones2[2][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 4) {
if (Key.isDown(38)) {
if (_root.nodosestados[4] == 3 and _root.nodosestados[3] == 2) {
} else {
_root.posicion = 3;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[2][0][0] - _root.posiciones[3][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[2][1][0] - _root.posiciones[3][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[2][0][0] - _root.posiciones2[3][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[2][1][0] - _root.posiciones2[3][1][0]) / 60;
}
} else {
if (Key.isDown(39)) {
if (_root.nodosestados[4] == 3 and _root.nodosestados[5] == 2) {
} else {
_root.velocidadchibix = Math.abs(_root.posiciones[4][0][0] - _root.posiciones[3][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[4][1][0] - _root.posiciones[3][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[4][0][0] - _root.posiciones2[3][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[4][1][0] - _root.posiciones2[3][1][0]) / 60;
_root.posicion = 5;
_root.caminando = 1;
_root.llego1 = 0;
}
}
}
} else {
if (_root.posicion == 5) {
if (Key.isDown(37)) {
if (_root.nodosestados[5] == 3 and _root.nodosestados[4] == 2) {
} else {
_root.posicion = 4;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[3][0][0] - _root.posiciones[4][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[3][1][0] - _root.posiciones[4][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[3][0][0] - _root.posiciones2[4][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[3][1][0] - _root.posiciones2[4][1][0]) / 60;
}
} else {
if (Key.isDown(39)) {
if (_root.nodosestados[5] == 3 and _root.nodosestados[6] == 2) {
} else {
_root.posicion = 6;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[5][0][0] - _root.posiciones[4][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[5][1][0] - _root.posiciones[4][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[5][0][0] - _root.posiciones2[4][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[5][1][0] - _root.posiciones2[4][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 6) {
if (Key.isDown(38)) {
if (_root.nodosestados[6] == 3 and _root.nodosestados[8] == 2) {
} else {
_root.posicion = 8;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[7][0][0] - _root.posiciones[5][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[7][1][0] - _root.posiciones[5][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[7][0][0] - _root.posiciones2[5][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[7][1][0] - _root.posiciones2[5][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[6] == 3 and _root.nodosestados[5] == 2) {
} else {
_root.posicion = 5;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[4][0][0] - _root.posiciones[5][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[4][1][0] - _root.posiciones[5][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[4][0][0] - _root.posiciones2[5][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[4][1][0] - _root.posiciones2[5][1][0]) / 60;
}
} else {
if (Key.isDown(39)) {
if (_root.nodosestados[6] == 3 and _root.nodosestados[9] == 2) {
} else {
_root.posicion = 9;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[8][0][0] - _root.posiciones[5][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[8][1][0] - _root.posiciones[5][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[8][0][0] - _root.posiciones2[5][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[8][1][0] - _root.posiciones2[5][1][0]) / 60;
}
}
}
}
} else {
if (_root.posicion == 7) {
if (Key.isDown(37)) {
if (_root.nodosestados[7] == 3 and _root.nodosestados[1] == 2) {
} else {
_root.posicion = 1;
_root.velocidadchibix = Math.abs(_root.posiciones[0][0][0] - _root.posiciones[6][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[0][1][0] - _root.posiciones[6][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[0][0][0] - _root.posiciones2[6][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[0][1][0] - _root.posiciones2[6][1][0]) / 60;
_root.caminando = 1;
_root.llego1 = 0;
}
} else {
if (Key.isDown(39)) {
if (_root.nodosestados[7] == 3 and _root.nodosestados[8] == 2) {
} else {
_root.posicion = 8;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[7][0][0] - _root.posiciones[6][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[7][1][0] - _root.posiciones[6][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[7][0][0] - _root.posiciones2[6][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[7][1][0] - _root.posiciones2[6][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 8) {
if (Key.isDown(38)) {
if (_root.nodosestados[8] == 3 and _root.nodosestados[7] == 2) {
} else {
_root.velocidadchibix = Math.abs(_root.posiciones[6][0][0] - _root.posiciones[7][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[6][1][0] - _root.posiciones[7][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[6][0][0] - _root.posiciones2[7][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[6][1][0] - _root.posiciones2[7][1][0]) / 60;
_root.posicion = 7;
_root.caminando = 1;
_root.llego1 = 0;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[8] == 3 and _root.nodosestados[6] == 2) {
} else {
_root.posicion = 6;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[5][0][0] - _root.posiciones[7][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[5][1][0] - _root.posiciones[7][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[5][0][0] - _root.posiciones2[7][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[5][1][0] - _root.posiciones2[7][1][0]) / 60;
}
} else {
if (Key.isDown(39)) {
if (_root.nodosestados[8] == 3 and _root.nodosestados[10] == 2) {
} else {
_root.posicion = 10;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[9][0][0] - _root.posiciones[7][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[9][1][0] - _root.posiciones[7][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[9][0][0] - _root.posiciones2[7][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[9][1][0] - _root.posiciones2[7][1][0]) / 60;
}
}
}
}
} else {
if (_root.posicion == 9) {
if (Key.isDown(37)) {
if (_root.nodosestados[9] == 3 and _root.nodosestados[6] == 2) {
} else {
_root.posicion = 6;
_root.velocidadchibix = Math.abs(_root.posiciones[5][0][0] - _root.posiciones[8][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[5][1][0] - _root.posiciones[8][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[5][0][0] - _root.posiciones2[8][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[5][1][0] - _root.posiciones2[8][1][0]) / 60;
_root.caminando = 1;
_root.llego1 = 0;
}
} else {
if (Key.isDown(39)) {
if (_root.nodosestados[9] == 3 and _root.nodosestados[10] == 2) {
} else {
_root.posicion = 10;
_root.caminando = 1;
_root.velocidadchibix = Math.abs(_root.posiciones[9][0][0] - _root.posiciones[8][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[9][1][0] - _root.posiciones[8][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[9][0][0] - _root.posiciones2[8][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[9][1][0] - _root.posiciones2[8][1][0]) / 60;
_root.llego1 = 0;
}
}
}
} else {
if (_root.posicion == 10) {
if (Key.isDown(37)) {
if (_root.nodosestados[10] == 3 and _root.nodosestados[8] == 2) {
} else {
_root.posicion = 8;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[7][0][0] - _root.posiciones[9][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[7][1][0] - _root.posiciones[9][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[7][0][0] - _root.posiciones2[9][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[7][1][0] - _root.posiciones2[9][1][0]) / 60;
}
} else {
if (Key.isDown(40)) {
if (_root.nodosestados[10] == 3 and _root.nodosestados[9] == 2) {
} else {
_root.posicion = 9;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[8][0][0] - _root.posiciones[9][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[8][1][0] - _root.posiciones[9][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[8][0][0] - _root.posiciones2[9][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[8][1][0] - _root.posiciones2[9][1][0]) / 60;
}
} else {
if (Key.isDown(38)) {
if (_root.nodosestados[10] == 3 and _root.nodosestados[11] == 2) {
} else {
_root.posicion = 11;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[10][0][0] - _root.posiciones[9][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[10][1][0] - _root.posiciones[9][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[10][0][0] - _root.posiciones2[9][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[10][1][0] - _root.posiciones2[9][1][0]) / 60;
}
} else {
if (Key.isDown(39)) {
if (_root.nodosestados[10] == 3 and _root.nodosestados[13] == 2) {
} else {
_root.posicion = 13;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[12][0][0] - _root.posiciones[9][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[12][1][0] - _root.posiciones[9][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[12][0][0] - _root.posiciones2[9][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[12][1][0] - _root.posiciones2[9][1][0]) / 60;
}
}
}
}
}
} else {
if (_root.posicion == 11) {
if (Key.isDown(40)) {
if (_root.nodosestados[11] == 3 and _root.nodosestados[10] == 2) {
} else {
_root.posicion = 10;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[9][0][0] - _root.posiciones[10][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[9][1][0] - _root.posiciones[10][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[9][0][0] - _root.posiciones2[10][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[9][1][0] - _root.posiciones2[10][1][0]) / 60;
}
} else {
if (Key.isDown(39)) {
if (_root.nodosestados[11] == 3 and _root.nodosestados[12] == 2) {
} else {
_root.posicion = 12;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[11][0][0] - _root.posiciones[10][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[11][1][0] - _root.posiciones[10][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[11][0][0] - _root.posiciones2[10][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[11][1][0] - _root.posiciones2[10][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 12) {
if (Key.isDown(37)) {
if (_root.nodosestados[12] == 3 and _root.nodosestados[11] == 2) {
} else {
_root.posicion = 11;
_root.velocidadchibix = Math.abs(_root.posiciones[10][0][0] - _root.posiciones[11][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[10][1][0] - _root.posiciones[11][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[10][0][0] - _root.posiciones2[11][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[10][1][0] - _root.posiciones2[11][1][0]) / 60;
_root.caminando = 1;
_root.llego1 = 0;
}
} else {
if (Key.isDown(40)) {
if (_root.nodosestados[12] == 3 and _root.nodosestados[13] == 2) {
} else {
_root.posicion = 13;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[12][0][0] - _root.posiciones[11][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[12][1][0] - _root.posiciones[11][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[12][0][0] - _root.posiciones2[11][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[12][1][0] - _root.posiciones2[11][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 13) {
if (Key.isDown(37)) {
if (_root.nodosestados[13] == 3 and _root.nodosestados[10] == 2) {
} else {
_root.posicion = 10;
_root.velocidadchibix = Math.abs(_root.posiciones[9][0][0] - _root.posiciones[12][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[9][1][0] - _root.posiciones[12][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[9][0][0] - _root.posiciones2[12][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[9][1][0] - _root.posiciones2[12][1][0]) / 60;
_root.caminando = 1;
_root.llego1 = 0;
}
} else {
if (Key.isDown(39)) {
if (_root.nodosestados[13] == 1 and _root.nodosestados[12] == 6) {
} else {
_root.posicion = 14;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[11][0][0] - _root.posiciones[13][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[11][1][0] - _root.posiciones[13][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[11][0][0] - _root.posiciones2[13][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[11][1][0] - _root.posiciones2[13][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 14) {
_root.ira = 9;
_root.posicion = 15;
_root.transin.play();
} else {
if (_root.posicion == 34) {
_root.posicion = 13;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[33][0][0] - _root.posiciones[12][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[33][1][0] - _root.posiciones[12][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[33][0][0] - _root.posiciones2[12][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[33][1][0] - _root.posiciones2[12][1][0]) / 60;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.llego1 == 0) {
_root.llego2 = 0;
}
} else {
if (_root.caminando == 1) {
posicionx = _root.posiciones[_root.posicion - 1][0][0];
posiciony = _root.posiciones[_root.posicion - 1][1][0];
if (this._x > posicionx) {
if (this._x - _root.velocidadchibix > posicionx) {
this._x -= _root.velocidadchibix;
} else {
this._x = posicionx;
}
} else {
if (this._x + _root.velocidadchibix < posicionx) {
this._x += _root.velocidadchibix;
} else {
this._x = posicionx;
}
}
if (this._y > posiciony) {
if (this._y - _root.velocidadchibiy > posiciony) {
this._y -= _root.velocidadchibiy;
} else {
this._y = posiciony;
}
} else {
if (this._y + _root.velocidadchibiy < posiciony) {
this._y += _root.velocidadchibiy;
} else {
this._y = posiciony;
}
}
if (this._x == posicionx and this._y == posiciony) {
_root.llego1 = 1;
if (_root.llego1 == 1 and _root.llego2 == 1) {
_root.caminando = 0;
_root.mostrandocartel = 2;
}
}
}
}
}
}
movieClip 3516 {
}
movieClip 3531 {
}
instance of movieClip 3531 {
onClipEvent (load) {
solto = 1;
}
onClipEvent (enterFrame) {
if (_root.tutorialejecutado == 0) {
this.gotoAndStop(2);
if (Key.isDown(81) and solto == 0) {
_root.tutorialejecutado = 2;
gotoAndStop(1);
} else {
if (Key.isDown(81)) {
solto = 1;
} else {
solto = 0;
}
}
} else {
gotoAndStop(1);
}
}
}
movieClip 3533 {
}
movieClip 3535 {
frame 7 {
stop();
}
}
movieClip 3537 {
}
movieClip 3542 {
}
movieClip 3546 {
instance of movieClip 3542 {
onClipEvent (enterFrame) {
gotoAndStop(_root.mapaestax);
}
}
}
movieClip 3548 {
frame 7 {
stop();
}
}
movieClip 3550 {
frame 7 {
stop();
}
}
movieClip 3552 {
frame 7 {
stop();
}
}
movieClip 3554 {
frame 1 {
stop();
}
instance of movieClip 3546 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.mostrarcartel);
}
}
frame 6 {
stop();
}
}
instance of movieClip 3554 {
onClipEvent (enterFrame) {
if (_root.firstwater == 0) {
if (_root.posicion == 6 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(5);
_root.mostrarcartel = 4;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
_root.pausadelaq = 12;
_root.savee.play();
_root.mostrandocartel = 2;
}
}
} else {
gotoAndStop(1);
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (enterFrame) {
if (_root.firstwater == 0) {
if (_root.posicion == 11 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(4);
_root.mostrarcartel = 4;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
_root.savee.play();
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
gotoAndStop(1);
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (enterFrame) {
if (_root.posicion == 2 and _root.caminando == 0 and _root.mostrandocartel < 2 and _root.pausadelaq < 0) {
_root.mostrandocartel = 1;
this.gotoAndStop(5);
_root.mostrarcartel = 2;
if (Key.isDown(81)) {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 3 and _root.caminando == 0 and _root.mostrandocartel < 2 and _root.mostrametutorial == 0 and _root.pausadelaq < 0) {
_root.mostrandocartel = 1;
this.gotoAndStop(5);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 5) {
}
if (_root.posicion == 5 and _root.caminando == 0 and _root.mostrandocartel < 2 and _root.mostrametutorial == 0 and _root.pausadelaq < 0) {
_root.mostrandocartel = 1;
this.gotoAndStop(2);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 8 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(2);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 9 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(3);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 1 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(2);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 7 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(4);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 10 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(4);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 12 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(4);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 13 and _root.caminando == 0 and _root.mostrandocartel < 2 and _root.nodosestados[12] == 6) {
_root.mostrandocartel = 1;
this.gotoAndStop(4);
_root.mostrarcartel = 3;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
movieClip 3555 {
}
movieClip 3556 {
frame 1 {
stop();
}
frame 7 {
stop();
}
}
movieClip 3559 {
}
movieClip 3563 {
frame 182 {
stop();
}
}
movieClip 3565 {
frame 84 {
stop();
}
}
movieClip 3567 {
frame 84 {
stop();
}
}
movieClip 3569 {
frame 132 {
stop();
}
}
movieClip 3571 {
frame 228 {
stop();
}
}
movieClip 3573 {
frame 129 {
stop();
}
}
movieClip 3575 {
frame 122 {
stop();
}
}
movieClip 3577 {
frame 248 {
stop();
}
}
movieClip 3579 {
frame 110 {
stop();
}
}
movieClip 3581 {
frame 150 {
stop();
}
}
movieClip 3582 {
}
movieClip 3587 {
frame 171 {
stop();
}
}
movieClip 3589 {
frame 165 {
stop();
}
}
movieClip 3591 {
frame 173 {
stop();
}
}
movieClip 3593 {
frame 298 {
stop();
}
}
movieClip 3595 {
frame 293 {
stop();
}
}
movieClip 3597 {
frame 221 {
stop();
}
}
movieClip 3599 {
frame 230 {
stop();
}
}
movieClip 3601 {
frame 196 {
stop();
}
}
movieClip 3603 {
frame 147 {
stop();
}
}
movieClip 3605 {
frame 233 {
stop();
}
}
movieClip 3606 {
}
movieClip 3611 {
frame 199 {
stop();
}
}
movieClip 3613 {
frame 124 {
stop();
}
}
movieClip 3615 {
frame 139 {
stop();
}
}
movieClip 3617 {
frame 192 {
stop();
}
}
movieClip 3619 {
frame 214 {
stop();
}
}
movieClip 3621 {
frame 265 {
stop();
}
}
movieClip 3623 {
frame 217 {
stop();
}
}
movieClip 3625 {
frame 265 {
stop();
}
}
movieClip 3627 {
frame 149 {
stop();
}
}
movieClip 3629 {
frame 193 {
stop();
}
}
movieClip 3630 {
}
movieClip 3635 {
frame 251 {
stop();
}
}
movieClip 3637 {
frame 107 {
stop();
}
}
movieClip 3639 {
frame 169 {
stop();
}
}
movieClip 3641 {
frame 207 {
stop();
}
}
movieClip 3643 {
frame 285 {
stop();
}
}
movieClip 3645 {
frame 224 {
stop();
}
}
movieClip 3647 {
frame 223 {
stop();
}
}
movieClip 3649 {
frame 298 {
stop();
}
}
movieClip 3651 {
frame 208 {
stop();
}
}
movieClip 3653 {
frame 270 {
stop();
}
}
movieClip 3654 {
}
movieClip 3659 {
frame 307 {
stop();
}
}
movieClip 3661 {
frame 147 {
stop();
}
}
movieClip 3663 {
frame 144 {
stop();
}
}
movieClip 3665 {
frame 160 {
stop();
}
}
movieClip 3667 {
frame 268 {
stop();
}
}
movieClip 3669 {
frame 176 {
stop();
}
}
movieClip 3671 {
frame 173 {
stop();
}
}
movieClip 3673 {
frame 193 {
stop();
}
}
movieClip 3675 {
frame 171 {
stop();
}
}
movieClip 3677 {
frame 169 {
stop();
}
}
movieClip 3678 {
}
movieClip 3681 {
}
movieClip 3682 {
}
movieClip 3687 {
frame 227 {
stop();
}
}
movieClip 3689 {
frame 111 {
stop();
}
}
movieClip 3691 {
frame 213 {
stop();
}
}
movieClip 3693 {
frame 271 {
stop();
}
}
movieClip 3695 {
frame 296 {
stop();
}
}
movieClip 3697 {
frame 280 {
stop();
}
}
movieClip 3699 {
frame 203 {
stop();
}
}
movieClip 3701 {
frame 321 {
stop();
}
}
movieClip 3703 {
frame 160 {
stop();
}
}
movieClip 3705 {
frame 200 {
stop();
}
}
movieClip 3706 {
}
movieClip 3707 {
frame 1 {
if (_root.player1 == 'Ridge') {
_root.dialogo.personaje.gotoAndStop(1);
} else {
if (_root.player1 == 'Vance') {
_root.dialogo.personaje.gotoAndStop(2);
} else {
if (_root.player1 == 'Nesyss') {
_root.dialogo.personaje.gotoAndStop(3);
} else {
if (_root.player1 == 'Cog') {
_root.dialogo.personaje.gotoAndStop(4);
} else {
if (_root.player1 == 'Tindra') {
_root.dialogo.personaje.gotoAndStop(5);
} else {
if (_root.player1 == 'Wyvern') {
_root.dialogo.personaje.gotoAndStop(6);
}
}
}
}
}
}
}
}
movieClip 3708 {
frame 1 {
stop();
}
frame 2 {
if (_root.dialogos == 2) {
if (_root.player1 == 'Ridge') {
_root.dialogo.personaje.gotoAndStop(1);
} else {
if (_root.player1 == 'Vance') {
_root.dialogo.personaje.gotoAndStop(2);
} else {
if (_root.player1 == 'Nesyss') {
_root.dialogo.personaje.gotoAndStop(3);
} else {
if (_root.player1 == 'Cog') {
_root.dialogo.personaje.gotoAndStop(4);
} else {
if (_root.player1 == 'Tindra') {
_root.dialogo.personaje.gotoAndStop(5);
} else {
if (_root.player1 == 'Wyvern') {
_root.dialogo.personaje.gotoAndStop(6);
}
}
}
}
}
}
}
}
frame 4 {
if (_root.dialogos == 2) {
if (_root.player1 == 'Ridge') {
_root.dialogo.personaje.gotoAndStop(1);
} else {
if (_root.player1 == 'Vance') {
_root.dialogo.personaje.gotoAndStop(2);
} else {
if (_root.player1 == 'Nesyss') {
_root.dialogo.personaje.gotoAndStop(3);
} else {
if (_root.player1 == 'Cog') {
_root.dialogo.personaje.gotoAndStop(4);
} else {
if (_root.player1 == 'Tindra') {
_root.dialogo.personaje.gotoAndStop(5);
} else {
if (_root.player1 == 'Wyvern') {
_root.dialogo.personaje.gotoAndStop(6);
}
}
}
}
}
}
}
}
frame 6 {
if (_root.dialogos == 2) {
if (_root.player1 == 'Ridge') {
_root.dialogo.personaje.gotoAndStop(1);
} else {
if (_root.player1 == 'Vance') {
_root.dialogo.personaje.gotoAndStop(2);
} else {
if (_root.player1 == 'Nesyss') {
_root.dialogo.personaje.gotoAndStop(3);
} else {
if (_root.player1 == 'Cog') {
_root.dialogo.personaje.gotoAndStop(4);
} else {
if (_root.player1 == 'Tindra') {
_root.dialogo.personaje.gotoAndStop(5);
} else {
if (_root.player1 == 'Wyvern') {
_root.dialogo.personaje.gotoAndStop(6);
}
}
}
}
}
}
}
}
frame 7 {
stop();
}
}
instance dialogo of movieClip 3708 {
onClipEvent (load) {
cargo = 0;
solto = 1;
}
onClipEvent (enterFrame) {
if (cargo == 0 and _root.dialogos > 0 and _root.tutorialejecutado == 2) {
play();
_root.negro.play();
_root.mostrametutorial = 99;
cargo = 1;
}
if (cargo == 1) {
if (_root.dialogos == 1) {
if (_root.player2 == 'Ridge') {
_root.dialogo.personaje.gotoAndStop(1);
} else {
if (_root.player2 == 'Vance') {
_root.dialogo.personaje.gotoAndStop(2);
} else {
if (_root.player2 == 'Nesyss') {
_root.dialogo.personaje.gotoAndStop(3);
} else {
if (_root.player2 == 'Cog') {
_root.dialogo.personaje.gotoAndStop(4);
} else {
if (_root.player2 == 'Tindra') {
_root.dialogo.personaje.gotoAndStop(5);
} else {
if (_root.player2 == 'Wyvern') {
_root.dialogo.personaje.gotoAndStop(6);
} else {
_root.dialogo.personaje.gotoAndStop(1);
}
}
}
}
}
}
_root.dialogo.personaje.texto.gotoAndStop(2);
} else {
if (_root.dialogos == 2) {
_root.dialogo.personaje.texto.gotoAndStop(1);
} else {
cargo = 2;
_root.mostrametutorial = 1;
_root.negro.play();
gotoAndStop(1);
}
}
if (Key.isDown(81) and solto == 0) {
solto = 1;
_root.dialogos -= 1;
} else {
if (Key.isDown(81)) {
solto = 1;
} else {
solto = 0;
}
}
}
}
}
movieClip 3712 {
}
movieClip 3715 {
frame 1 {
stop();
}
frame 29 {
gotoAndPlay(2);
}
}
instance of movieClip 3715 {
onClipEvent (enterFrame) {
if (_root.player1freeexp > 0) {
play();
} else {
if (_root.player2freeexp > 0) {
play();
} else {
gotoAndStop(1);
}
}
}
}
movieClip 3717 {
}
instance of movieClip 3717 {
onClipEvent (load) {
var pausa = 24;
}
onClipEvent (enterFrame) {
pausa -= 1;
if (pausa < 0) {
if (Key.isDown(77)) {
_root.ira = 5;
_root.transin.play();
} else {
if (Key.isDown(27)) {
_root.ira = 2;
_root.transin.play();
}
}
}
}
}
movieClip 3720 {
}
movieClip 3724 {
}
movieClip 3725 {
frame 1 {
stop();
}
frame 11 {
_root.healsfx.play();
if (_root.player1 == 'Ridge') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 150;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Vance') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 95;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Nesyss') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 80;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Wyvern') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 110;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Cog') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 3 + 170;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Tindra') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 100;
_root.player1life = _root.player1lifetotal;
}
}
}
}
}
}
if (_root.player2 == 'Ridge') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 150;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Vance') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 95;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Nesyss') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 80;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Wyvern') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 110;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Cog') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 3 + 170;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Tindra') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 100;
_root.player2life = _root.player2lifetotal;
}
}
}
}
}
}
if (_root.guardian1 == 'ShellKin') {
_root.player1lifetotal += 150;
_root.player1life += 150;
}
if (_root.guardian2 == 'ShellKin') {
_root.player2lifetotal += 150;
_root.player2life += 150;
}
rejunte = [_root.player1, _root.player2, _root.player1healthp, _root.player2healthp, _root.player1damagep, _root.player2damagep, _root.player1cdp, _root.player2cdp, _root.player1exp, _root.player2exp, _root.player1lvl, _root.player2lvl, _root.player1freeexp, _root.player2freeexp, _root.totalquestdone, _root.player1orbs, _root.player2orbs, _root.nodosestados, _root.orbgratis, _root.tiempojugado, _root.posicion, _root.misiones, _root.tutoriales, _root.guardian1, _root.guardian2];
_root.partidasguardadas[_root.jugandoenslot - 1] = rejunte;
_root.savefile.data.partidasguardadas = _root.partidasguardadas;
_root.savefile.flush(15000);
_root.savefile = SharedObject.getLocal('PrimalChampions');
_root.partidasguardadas = _root.savefile.data.partidasguardadas;
}
}
movieClip 3733 {
frame 2 {
_root.misiones[12] = 1;
}
}
instance of movieClip 3733 {
onClipEvent (load) {
esta = 0;
pausa = 0;
}
onClipEvent (enterFrame) {
if (_root.nodosestados[75] == 4 or _root.nodosestados[75] == 5) {
gotoAndStop(esta + 2);
if (esta == 0) {
_root.warpactivado = 0;
if (pausa == 0) {
if (Key.isDown(87)) {
esta = 1;
pausa = 12;
}
} else {
pausa -= 1;
}
} else {
_root.warpactivado = 1;
if (pausa == 0) {
if (Key.isDown(40)) {
if (esta < 5) {
esta += 1;
pausa = 12;
}
} else {
if (Key.isDown(38)) {
if (esta > 1) {
esta -= 1;
pausa = 12;
}
} else {
if (Key.isDown(87)) {
esta = 0;
pausa = 12;
} else {
if (Key.isDown(81)) {
if (esta == 1) {
} else {
if (esta == 2) {
_root.ira = 9;
_root.posicion = 16;
_root.transin.play();
} else {
if (esta == 3) {
_root.ira = 10;
_root.posicion = 36;
_root.transin.play();
} else {
if (esta == 4) {
_root.ira = 11;
_root.posicion = 54;
_root.transin.play();
} else {
if (esta == 5) {
_root.ira = 12;
_root.posicion = 73;
_root.transin.play();
}
}
}
}
}
esta = 0;
pausa = 24;
}
}
}
}
} else {
pausa -= 1;
}
}
} else {
gotoAndStop(1);
}
}
}
movieClip 3734 {
}
movieClip 3737 {
}
movieClip 3743 {
frame 1 {
stop();
}
}
instance of movieClip 3743 {
onClipEvent (enterFrame) {
if (_root.nodosestados[12] == 4 or _root.nodosestados[12] == 5) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
movieClip 3744 {
}
movieClip 3763 {
frame 1 {
stop();
}
}
movieClip 3764 {
}
movieClip 3765 {
frame 1 {
stop();
}
frame 2 {
_root.transin.gotoAndStop(1);
}
frame 4 {
_root.transin.gotoAndStop(1);
}
instance of movieClip 3763 {
onClipEvent (load) {
elige = Math.round(Math.random() * 1 + 1);
if (elige == 1) {
elige = Math.round(Math.random() * 2 + 1);
if (_root.player1 == 'Ridge') {
gotoAndStop(elige + 1);
} else {
if (_root.player1 == 'Vance') {
gotoAndStop(elige + 4);
} else {
if (_root.player1 == 'Nesyss') {
gotoAndStop(elige + 7);
} else {
if (_root.player1 == 'Wyvern') {
gotoAndStop(elige + 10);
} else {
if (_root.player1 == 'Cog') {
gotoAndStop(elige + 13);
} else {
if (_root.player1 == 'Tindra') {
gotoAndStop(elige + 16);
}
}
}
}
}
}
} else {
elige = Math.round(Math.random() * 2 + 1);
if (_root.player2 == 'Ridge') {
gotoAndStop(elige + 1);
} else {
if (_root.player2 == 'Vance') {
gotoAndStop(elige + 4);
} else {
if (_root.player2 == 'Nesyss') {
gotoAndStop(elige + 7);
} else {
if (_root.player2 == 'Wyvern') {
gotoAndStop(elige + 10);
} else {
if (_root.player2 == 'Cog') {
gotoAndStop(elige + 13);
} else {
if (_root.player2 == 'Tindra') {
gotoAndStop(elige + 16);
}
}
}
}
}
}
}
}
}
frame 12 {
_root.transin.gotoAndStop(1);
}
frame 20 {
stop();
_root.gotoAndStop(4);
}
}
movieClip 3785 {
frame 1 {
stop();
}
}
instance of movieClip 3785 {
onClipEvent (load) {
espera = 0;
lrandom = 0;
}
onClipEvent (enterFrame) {
if (espera == 0) {
if (Key.isDown(49)) {
_root.misiones[22] = 1;
if (_root.player1 == 'Ridge') {
lrandom = Math.round(Math.random() * 2 + 2);
} else {
if (_root.player1 == 'Vance') {
lrandom = Math.round(Math.random() * 2 + 5);
} else {
if (_root.player1 == 'Nesyss') {
lrandom = Math.round(Math.random() * 3 + 8);
} else {
if (_root.player1 == 'Wyvern') {
lrandom = Math.round(Math.random() * 3 + 12);
} else {
if (_root.player1 == 'Cog') {
lrandom = Math.round(Math.random() * 2 + 16);
} else {
if (_root.player1 == 'Tindra') {
lrandom = Math.round(Math.random() * 1 + 19);
}
}
}
}
}
}
gotoAndStop(lrandom);
espera = 240;
} else {
if (Key.isDown(50)) {
if (_root.player2 == 'Ridge') {
lrandom = Math.round(Math.random() * 2 + 2);
} else {
if (_root.player2 == 'Vance') {
lrandom = Math.round(Math.random() * 2 + 5);
} else {
if (_root.player2 == 'Nesyss') {
lrandom = Math.round(Math.random() * 3 + 8);
} else {
if (_root.player2 == 'Wyvern') {
lrandom = Math.round(Math.random() * 3 + 12);
} else {
if (_root.player2 == 'Cog') {
lrandom = Math.round(Math.random() * 2 + 16);
} else {
if (_root.player2 == 'Tindra') {
lrandom = Math.round(Math.random() * 1 + 19);
}
}
}
}
}
}
gotoAndStop(lrandom);
espera = 240;
_root.misiones[22] = 1;
}
}
} else {
espera -= 1;
}
}
}
instance of movieClip 3161 {
onClipEvent (load) {
levanto = 0;
}
onClipEvent (enterFrame) {
if (_root.tutoriales[0] == 0 and _root.tutorialejecutado == 2 and _root.mostrametutorial == 0 and _root.dialogos == 0) {
_root.mostrametutorial = 1;
}
if (_root.mostrametutorial < 99) {
gotoAndStop(_root.mostrametutorial + 1);
}
if (Key.isDown(81) and levanto == 1) {
if (_root.mostrametutorial > 0) {
_root.tutoriales[_root.mostrametutorial - 1] = 1;
_root.mostrametutorial = 0;
_root.pausadelaq = 24;
}
}
if (_root.player1lvl > 1 and _root.player2lvl > 1 and _root.tutoriales[4] == 0) {
_root.mostrametutorial = 5;
}
if (Key.isDown(81) or _root.tutorialejecutado < 2) {
} else {
levanto = 1;
}
}
}
frame 7 {
_root.tutorialejecutado = 0;
_root.nodosestados = ['fruta', 2, 1, 2, 1, 2, 8, 2, 2, 2, 2, 8, 6, 1, 1, 1, 1, 2, 2, 2, 8, 2, 2, 2, 2, 2, 8, 2, 2, 6, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 8, 10, 2, 2, 2, 2, 2, 2, 8, 6, 1, 1, 1, 1, 1, 2, 2, 8, 2, 2, 2, 2, 10, 8, 2, 2, 2, 2, 6, 1, 1, 1, 1, 1, 2, 10, 2, 2, 2, 2, 2, 2, 8, 2, 2, 2, 2, 6];
k = 0;
while (k < 500) {
removeMovieClip('snow' + k);
++k;
}
}
frame 7 {
_root.transout.gotoAndPlay(1);
_root.transin.gotoAndStop(1);
}
frame 7 {
_root.mapa.stop();
_root.mainm.play();
_root.primeromapa.stop();
_root.finalmapa.stop();
}
movieClip 3788 {
}
movieClip 3789 {
}
movieClip 3791 {
}
movieClip 3793 {
frame 6 {
stop();
}
}
// unknown tag 88 length 197
movieClip 3811 {
frame 1 {
stop();
}
}
movieClip 3828 {
}
// unknown tag 88 length 67
movieClip 3877 {
}
movieClip 3886 {
}
movieClip 3896 {
}
movieClip 3899 {
}
movieClip 3900 {
}
movieClip 3910 {
frame 1 {
stop();
_root.box2.box.gotoAndPlay(1);
_root.box2.infos.gotoAndStop(1);
}
instance of movieClip 3811 {
onClipEvent (enterFrame) {
if (_root.player2 == 'Ridge') {
gotoAndStop(2);
} else {
if (_root.player2 == 'Vance') {
gotoAndStop(3);
} else {
if (_root.player2 == 'Nesyss') {
gotoAndStop(4);
} else {
if (_root.player2 == 'Wyvern') {
gotoAndStop(5);
} else {
if (_root.player2 == 'Cog') {
gotoAndStop(6);
} else {
if (_root.player2 == 'Tindra') {
gotoAndStop(7);
} else {
gotoAndStop(1);
}
}
}
}
}
}
}
}
instance of movieClip 3811 {
onClipEvent (enterFrame) {
if (_root.player1 == 'Ridge') {
gotoAndStop(2);
} else {
if (_root.player1 == 'Vance') {
gotoAndStop(3);
} else {
if (_root.player1 == 'Nesyss') {
gotoAndStop(4);
} else {
if (_root.player1 == 'Wyvern') {
gotoAndStop(5);
} else {
if (_root.player1 == 'Cog') {
gotoAndStop(6);
} else {
if (_root.player1 == 'Tindra') {
gotoAndStop(7);
} else {
gotoAndStop(1);
}
}
}
}
}
}
}
}
frame 2 {
_root.box2.box.gotoAndPlay(1);
_root.box2.infos.gotoAndStop(6);
}
frame 3 {
_root.box2.box.gotoAndPlay(1);
_root.box2.infos.gotoAndStop(7);
}
instance of movieClip 3900 {
onClipEvent (load) {
esta = 1;
espera = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(81)) {
if (espera != 1) {
if (esta == 1) {
if (_root.player1 == 'Ridge') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 150;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Vance') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 95;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Nesyss') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 80;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Wyvern') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 110;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Cog') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 3 + 170;
_root.player1life = _root.player1lifetotal;
} else {
if (_root.player1 == 'Tindra') {
_root.player1lifetotal = _root.player1healthp * _root.player1lvl * 2 + 100;
_root.player1life = _root.player1lifetotal;
}
}
}
}
}
}
if (_root.player2 == 'Ridge') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 150;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Vance') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 95;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Nesyss') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 80;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Wyvern') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 110;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Cog') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 3 + 170;
_root.player2life = _root.player2lifetotal;
} else {
if (_root.player2 == 'Tindra') {
_root.player2lifetotal = _root.player2healthp * _root.player2lvl * 2 + 100;
_root.player2life = _root.player2lifetotal;
}
}
}
}
}
}
_root.ira = 6;
_root.transin.play();
} else {
_root.player1 = 'VacÃo';
_root.player2 = 'VacÃo';
}
}
} else {
if (Key.isDown(40)) {
if (esta == 1) {
esta = 2;
}
} else {
if (Key.isDown(38)) {
if (esta == 2) {
esta = 1;
}
} else {
espera = 0;
}
}
}
gotoAndStop(esta);
}
}
frame 4 {
_root.box2.box.gotoAndPlay(1);
_root.box2.infos.gotoAndStop(3);
}
frame 5 {
_root.box2.box.gotoAndPlay(1);
_root.box2.infos.gotoAndStop(2);
}
frame 6 {
_root.box2.box.gotoAndPlay(1);
_root.box2.infos.gotoAndStop(5);
}
frame 7 {
_root.box2.box.gotoAndPlay(1);
_root.box2.infos.gotoAndStop(4);
}
}
instance box2 of movieClip 3910 {
onClipEvent (load) {
esta = 1;
keycd = 0;
}
onClipEvent (enterFrame) {
if (_root.player2 != 'Ridge' and _root.player2 != 'Vance' and _root.player2 != 'Nesyss' and _root.player2 != 'Wyvern' and _root.player2 != 'Cog' and _root.player2 != 'Tindra') {
gotoAndStop(esta);
if (Key.isDown(81)) {
_root.flashthing.play();
if (keycd == 0) {
keycd = 1;
if (esta == 1) {
if (_root.player1 != 'Ridge' and _root.player1 != 'Vance' and _root.player1 != 'Nesyss' and _root.player1 != 'Wyvern' and _root.player1 != 'Cog' and _root.player1 != 'Tindra') {
_root.player1 = 'Ridge';
} else {
if (_root.player1 != 'Ridge') {
_root.player2 = 'Ridge';
}
}
} else {
if (esta == 2) {
if (_root.player1 != 'Ridge' and _root.player1 != 'Vance' and _root.player1 != 'Nesyss' and _root.player1 != 'Wyvern' and _root.player1 != 'Cog' and _root.player1 != 'Tindra') {
_root.player1 = 'Vance';
} else {
if (_root.player1 != 'Vance') {
_root.player2 = 'Vance';
}
}
} else {
if (esta == 4) {
if (_root.player1 != 'Ridge' and _root.player1 != 'Vance' and _root.player1 != 'Nesyss' and _root.player1 != 'Wyvern' and _root.player1 != 'Cog' and _root.player1 != 'Tindra') {
_root.player1 = 'Nesyss';
} else {
if (_root.player1 != 'Nesyss') {
_root.player2 = 'Nesyss';
}
}
} else {
if (esta == 5) {
if (_root.player1 != 'Ridge' and _root.player1 != 'Vance' and _root.player1 != 'Nesyss' and _root.player1 != 'Wyvern' and _root.player1 != 'Cog' and _root.player1 != 'Tindra') {
_root.player1 = 'Wyvern';
} else {
if (_root.player1 != 'Wyvern') {
_root.player2 = 'Wyvern';
}
}
} else {
if (esta == 6) {
if (_root.player1 != 'Ridge' and _root.player1 != 'Vance' and _root.player1 != 'Nesyss' and _root.player1 != 'Wyvern' and _root.player1 != 'Cog' and _root.player1 != 'Tindra') {
_root.player1 = 'Cog';
} else {
if (_root.player1 != 'Cog') {
_root.player2 = 'Cog';
}
}
} else {
if (esta == 7) {
if (_root.player1 != 'Ridge' and _root.player1 != 'Vance' and _root.player1 != 'Nesyss' and _root.player1 != 'Wyvern' and _root.player1 != 'Cog' and _root.player1 != 'Tindra') {
_root.player1 = 'Tindra';
} else {
if (_root.player1 != 'Tindra') {
_root.player2 = 'Tindra';
}
}
}
}
}
}
}
}
}
} else {
if (Key.isDown(39)) {
if (keycd == 0) {
keycd = 1;
if (esta == 1) {
esta = 2;
} else {
if (esta == 2) {
esta = 4;
} else {
if (esta == 5) {
esta = 6;
} else {
if (esta == 6) {
esta = 7;
}
}
}
}
}
} else {
if (Key.isDown(37)) {
if (keycd == 0) {
keycd = 1;
if (esta == 2) {
esta = 1;
} else {
if (esta == 4) {
esta = 2;
} else {
if (esta == 6) {
esta = 5;
} else {
if (esta == 7) {
esta = 6;
}
}
}
}
}
} else {
if (Key.isDown(38)) {
if (keycd == 0) {
keycd = 1;
if (esta == 5) {
esta = 1;
} else {
if (esta == 6) {
esta = 2;
} else {
if (esta == 7) {
esta = 4;
}
}
}
}
} else {
if (Key.isDown(40)) {
if (keycd == 0) {
keycd = 1;
if (esta == 1) {
esta = 5;
} else {
if (esta == 2) {
esta = 6;
} else {
if (esta == 4) {
esta = 7;
}
}
}
}
} else {
keycd = 0;
}
}
}
}
}
} else {
this.gotoAndStop(3);
}
}
}
movieClip 3911 {
}
movieClip 3913 {
}
movieClip 3914 {
frame 1 {
stop();
}
}
instance of movieClip 3161 {
onClipEvent (enterFrame) {
gotoAndStop(1);
}
}
frame 8 {
_root.transin.gotoAndStop(1);
}
frame 8 {
_root.mapa.stop();
_root.primeromapa.stop();
_root.mainm.stop();
_root.finalmapa.stop();
}
movieClip 3917 {
}
movieClip 3919 {
}
movieClip 3921 {
}
movieClip 3923 {
}
movieClip 3925 {
}
movieClip 3926 {
}
movieClip 3927 {
frame 87 {
stop();
_root.ira = 13;
_root.transin.play();
}
}
frame 9 {
_root.battle.stop();
if (_root.misiones[6] == 0) {
if (_root.nodosestados[17] == 4 or _root.nodosestados[17] == 5) {
if (_root.nodosestados[18] == 4 or _root.nodosestados[18] == 5) {
if (_root.nodosestados[19] == 4 or _root.nodosestados[19] == 5) {
if (_root.nodosestados[21] == 4 or _root.nodosestados[21] == 5) {
if (_root.nodosestados[22] == 4 or _root.nodosestados[22] == 5) {
if (_root.nodosestados[23] == 4 or _root.nodosestados[23] == 5) {
if (_root.nodosestados[24] == 4 or _root.nodosestados[24] == 5) {
if (_root.nodosestados[25] == 4 or _root.nodosestados[25] == 5) {
if (_root.nodosestados[27] == 4 or _root.nodosestados[27] == 5) {
if (_root.nodosestados[28] == 4 or _root.nodosestados[28] == 5) {
_root.misiones[6] = 1;
}
}
}
}
}
}
}
}
}
}
}
if (_root.nodosestados[29] == 4 or _root.nodosestados[29] == 5) {
_root.misiones[7] = 1;
}
if (_root.nodosestados[17] == 2) {
_root.dialogos = 2;
}
k = 0;
while (k < 500) {
removeMovieClip('snow' + k);
++k;
}
if (_root.resetearposicion == 1) {
_root.posicion = _root.recall;
_root.resetearposicion = 0;
}
_root.borrarnieve = 1;
_root.mapaestax = 1;
_root.caminando = 0;
_root.lugar = 1;
_root.llego1 = 1;
_root.llego2 = 1;
_root.velocidadchibix = 0;
_root.velocidadchibiy = 0;
_root.velocidadchibix2 = 0;
_root.velocidadchibiy2 = 0;
_root.mostrandocartel = 2;
_root.mostrarcartel = 0;
_root.pausadelaq = 24;
}
frame 9 {
_root.transout.gotoAndPlay(1);
_root.transin.gotoAndStop(1);
}
frame 9 {
_root.mapa.play();
_root.primeromapa.stop();
_root.mainm.stop();
_root.finalmapa.stop();
_root.battle.stop();
}
movieClip 3936 {
}
movieClip 3939 {
}
movieClip 3953 {
}
movieClip 3959 {
}
movieClip 3960 {
}
movieClip 3961 {
}
movieClip 3967 {
}
movieClip 3969 {
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[16]);
if (_root.posicion == 17 and _root.caminando == 0 and _root.nodosestados[17] == 2) {
_root.nodosestados[17] = 3;
} else {
if (_root.nodosestados[17] == 4 and _root.posicion == 17 and _root.caminando == 0) {
_root.nodosestados[17] = 5;
} else {
if (_root.posicion != 17) {
if (_root.nodosestados[17] == 4 or _root.nodosestados[17] == 5) {
_root.nodosestados[17] = 4;
} else {
_root.nodosestados[17] = 2;
}
}
}
}
if (_root.posicion == 18 and _root.caminando == 0 and _root.nodosestados[18] == 2) {
_root.nodosestados[18] = 3;
} else {
if (_root.nodosestados[18] == 4 and _root.posicion == 18 and _root.caminando == 0) {
_root.nodosestados[18] = 5;
} else {
if (_root.posicion != 18) {
if (_root.nodosestados[18] == 4 or _root.nodosestados[18] == 5) {
_root.nodosestados[18] = 4;
} else {
_root.nodosestados[18] = 2;
}
}
}
}
if (_root.posicion == 19 and _root.caminando == 0 and _root.nodosestados[19] == 2) {
_root.nodosestados[19] = 3;
} else {
if (_root.nodosestados[19] == 4 and _root.posicion == 19 and _root.caminando == 0) {
_root.nodosestados[19] = 5;
} else {
if (_root.posicion != 19) {
if (_root.nodosestados[19] == 4 or _root.nodosestados[19] == 5) {
_root.nodosestados[19] = 4;
} else {
_root.nodosestados[19] = 2;
}
}
}
}
if (_root.posicion == 21 and _root.caminando == 0 and _root.nodosestados[21] == 2) {
_root.nodosestados[21] = 3;
} else {
if (_root.nodosestados[21] == 4 and _root.posicion == 21 and _root.caminando == 0) {
_root.nodosestados[21] = 5;
} else {
if (_root.posicion != 21) {
if (_root.nodosestados[21] == 4 or _root.nodosestados[21] == 5) {
_root.nodosestados[21] = 4;
} else {
_root.nodosestados[21] = 2;
}
}
}
}
if (_root.posicion == 22 and _root.caminando == 0 and _root.nodosestados[22] == 2) {
_root.nodosestados[22] = 3;
} else {
if (_root.nodosestados[22] == 4 and _root.posicion == 22 and _root.caminando == 0) {
_root.nodosestados[22] = 5;
} else {
if (_root.posicion != 22) {
if (_root.nodosestados[22] == 4 or _root.nodosestados[22] == 5) {
_root.nodosestados[22] = 4;
} else {
_root.nodosestados[22] = 2;
}
}
}
}
if (_root.posicion == 23 and _root.caminando == 0 and _root.nodosestados[23] == 2) {
_root.nodosestados[23] = 3;
} else {
if (_root.nodosestados[23] == 4 and _root.posicion == 23 and _root.caminando == 0) {
_root.nodosestados[23] = 5;
} else {
if (_root.posicion != 23) {
if (_root.nodosestados[23] == 4 or _root.nodosestados[23] == 5) {
_root.nodosestados[23] = 4;
} else {
_root.nodosestados[23] = 2;
}
}
}
}
if (_root.posicion == 24 and _root.caminando == 0 and _root.nodosestados[24] == 2) {
_root.nodosestados[24] = 3;
} else {
if (_root.nodosestados[24] == 4 and _root.posicion == 24 and _root.caminando == 0) {
_root.nodosestados[24] = 5;
} else {
if (_root.posicion != 24) {
if (_root.nodosestados[24] == 4 or _root.nodosestados[24] == 5) {
_root.nodosestados[24] = 4;
} else {
_root.nodosestados[24] = 2;
}
}
}
}
if (_root.posicion == 25 and _root.caminando == 0 and _root.nodosestados[25] == 2) {
_root.nodosestados[25] = 3;
} else {
if (_root.nodosestados[25] == 4 and _root.posicion == 25 and _root.caminando == 0) {
_root.nodosestados[25] = 5;
} else {
if (_root.posicion != 25) {
if (_root.nodosestados[25] == 4 or _root.nodosestados[25] == 5) {
_root.nodosestados[25] = 4;
} else {
_root.nodosestados[25] = 2;
}
}
}
}
if (_root.posicion == 27 and _root.caminando == 0 and _root.nodosestados[27] == 2) {
_root.nodosestados[27] = 3;
} else {
if (_root.nodosestados[27] == 4 and _root.posicion == 27 and _root.caminando == 0) {
_root.nodosestados[27] = 5;
} else {
if (_root.posicion != 27) {
if (_root.nodosestados[27] == 4 or _root.nodosestados[27] == 5) {
_root.nodosestados[27] = 4;
} else {
_root.nodosestados[27] = 2;
}
}
}
}
if (_root.posicion == 28 and _root.caminando == 0 and _root.nodosestados[28] == 2) {
_root.nodosestados[28] = 3;
} else {
if (_root.nodosestados[28] == 4 and _root.posicion == 28 and _root.caminando == 0) {
_root.nodosestados[28] = 5;
} else {
if (_root.posicion != 28) {
if (_root.nodosestados[28] == 4 or _root.nodosestados[28] == 5) {
_root.nodosestados[28] = 4;
} else {
_root.nodosestados[28] = 2;
}
}
}
}
if (_root.posicion == 20 and _root.caminando == 0) {
_root.nodosestados[20] = 9;
} else {
_root.nodosestados[20] = 8;
}
if (_root.posicion == 26 and _root.caminando == 0) {
_root.nodosestados[26] = 9;
} else {
_root.nodosestados[26] = 8;
}
if (_root.posicion == 29 and _root.caminando == 0 and _root.nodosestados[29] == 6) {
_root.nodosestados[29] = 7;
} else {
if (_root.nodosestados[29] == 4 and _root.posicion == 29 and _root.caminando == 0) {
_root.nodosestados[29] = 5;
} else {
if (_root.posicion != 29) {
if (_root.nodosestados[29] == 4 or _root.nodosestados[29] == 5) {
_root.nodosestados[29] = 4;
} else {
_root.nodosestados[29] = 6;
}
}
}
}
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[17]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[18]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[19]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[20]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[21]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[22]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[23]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[24]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[25]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[27]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[26]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[28]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[29]);
}
}
instance of movieClip 3509 {
onClipEvent (load) {
var posicionx = 0;
var posiciony = 0;
var velocidadchibix = 0;
var velocidadchibiy = 0;
var mover = 0;
}
onClipEvent (enterFrame) {
if (mover == 0) {
mover = 1;
if (_root.posicion == 51) {
_root.posicion = 52;
}
if (_root.posicion != 16) {
this._x = _root.posiciones2[_root.posicion - 1][0][0];
this._y = _root.posiciones2[_root.posicion - 1][1][0];
}
}
velocidadchibix = _root.velocidadchibix2 * 60 / 54;
velocidadchibiy = _root.velocidadchibiy2 * 60 / 54;
if (_root.player2life < 1) {
gotoAndStop(7);
} else {
if (_root.player2 == 'Ridge') {
this.gotoAndStop(1);
} else {
if (_root.player2 == 'Vance') {
this.gotoAndStop(2);
} else {
if (_root.player2 == 'Nesyss') {
this.gotoAndStop(3);
} else {
if (_root.player2 == 'Wyvern') {
this.gotoAndStop(4);
} else {
if (_root.player2 == 'Cog') {
this.gotoAndStop(5);
} else {
if (_root.player2 == 'Tindra') {
this.gotoAndStop(6);
}
}
}
}
}
}
}
if (_root.caminando == 1) {
posicionx = _root.posiciones2[_root.posicion - 1][0][0];
posiciony = _root.posiciones2[_root.posicion - 1][1][0];
if (this._x > posicionx) {
if (this._x - velocidadchibix > posicionx) {
this._x -= velocidadchibix;
} else {
this._x = posicionx;
}
} else {
if (this._x + velocidadchibix < posicionx) {
this._x += velocidadchibix;
} else {
this._x = posicionx;
}
}
if (this._y > posiciony) {
if (this._y - velocidadchibiy > posiciony) {
this._y -= velocidadchibiy;
} else {
this._y = posiciony;
}
} else {
if (this._y + velocidadchibiy < posiciony) {
this._y += velocidadchibiy;
} else {
this._y = posiciony;
}
}
if (this._x == posicionx and this._y == posiciony) {
_root.llego2 = 1;
}
}
}
}
instance of movieClip 3513 {
onClipEvent (load) {
var posicionx = 0;
var posiciony = 0;
var mover = 0;
var saveo = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(81) and _root.mostrandocartel == 2 and _root.pausadelaq < 0) {
_root.mostrandocartel = 0;
_root.pausadelaq = 12;
}
_root.pausadelaq -= 1;
if (_root.posicion == 20 and _root.caminando == 0 or _root.posicion == 26 and _root.caminando == 0) {
_root.recall = _root.posicion;
if (saveo == 0) {
saveo = 1;
}
} else {
saveo = 0;
}
if (mover == 0) {
mover = 1;
if (_root.posicion == 51) {
_root.posicion = 52;
}
this._x = _root.posiciones[_root.posicion - 1][0][0];
this._y = _root.posiciones[_root.posicion - 1][1][0];
}
if (_root.caminando == 1) {
_root.mostrandocartel = 0;
}
if (_root.player1life < 1) {
gotoAndStop(7);
} else {
if (_root.player1 == 'Ridge') {
this.gotoAndStop(1);
} else {
if (_root.player1 == 'Vance') {
this.gotoAndStop(2);
} else {
if (_root.player1 == 'Nesyss') {
this.gotoAndStop(3);
} else {
if (_root.player1 == 'Wyvern') {
this.gotoAndStop(4);
} else {
if (_root.player1 == 'Cog') {
this.gotoAndStop(5);
} else {
if (_root.player1 == 'Tindra') {
this.gotoAndStop(6);
}
}
}
}
}
}
}
if (_root.caminando == 0 and _root.mostrandocartel != 1 and _root.warpactivado == 0) {
if (_root.posicion == 15) {
_root.posicion = 16;
_root.caminando = 1;
_root.llego1 = 0;
_root.llego2 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[15][0][0] - _root.posiciones[14][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[15][1][0] - _root.posiciones[14][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[15][0][0] - _root.posiciones2[14][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[15][1][0] - _root.posiciones2[14][1][0]) / 60;
}
if (_root.posicion == 16) {
if (Key.isDown(38)) {
if (_root.nodosestados[16] == 3 and _root.nodosestados[17] == 2) {
} else {
_root.posicion = 17;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[16][0][0] - _root.posiciones[15][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[16][1][0] - _root.posiciones[15][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[16][0][0] - _root.posiciones2[15][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[16][1][0] - _root.posiciones2[15][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
_root.posicion = 33;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[32][0][0] - _root.posiciones[15][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[32][1][0] - _root.posiciones[15][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[32][0][0] - _root.posiciones2[15][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[32][1][0] - _root.posiciones2[15][1][0]) / 60;
}
}
} else {
if (_root.posicion == 17) {
if (Key.isDown(39)) {
if (_root.nodosestados[17] == 3 and _root.nodosestados[18] == 2) {
} else {
_root.posicion = 18;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[17][0][0] - _root.posiciones[16][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[17][1][0] - _root.posiciones[16][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[17][0][0] - _root.posiciones2[16][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[17][1][0] - _root.posiciones2[16][1][0]) / 60;
}
} else {
if (Key.isDown(40)) {
if (_root.nodosestados[17] == 3 and _root.nodosestados[16] == 2) {
} else {
_root.posicion = 16;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[15][0][0] - _root.posiciones[16][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[15][1][0] - _root.posiciones[16][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[15][0][0] - _root.posiciones2[16][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[15][1][0] - _root.posiciones2[16][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 18) {
if (Key.isDown(40)) {
if (_root.nodosestados[18] == 3 and _root.nodosestados[19] == 2) {
} else {
_root.posicion = 19;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[18][0][0] - _root.posiciones[17][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[18][1][0] - _root.posiciones[17][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[18][0][0] - _root.posiciones2[17][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[18][1][0] - _root.posiciones2[17][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[18] == 3 and _root.nodosestados[17] == 2) {
} else {
_root.posicion = 17;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[16][0][0] - _root.posiciones[17][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[16][1][0] - _root.posiciones[17][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[16][0][0] - _root.posiciones2[17][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[16][1][0] - _root.posiciones2[17][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 19) {
if (Key.isDown(40)) {
if (_root.nodosestados[19] == 3 and _root.nodosestados[20] == 2) {
} else {
_root.posicion = 20;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[19][0][0] - _root.posiciones[18][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[19][1][0] - _root.posiciones[18][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[19][0][0] - _root.posiciones2[18][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[19][1][0] - _root.posiciones2[18][1][0]) / 60;
}
} else {
if (Key.isDown(38)) {
if (_root.nodosestados[19] == 3 and _root.nodosestados[18] == 2) {
} else {
_root.posicion = 18;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[17][0][0] - _root.posiciones[18][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[17][1][0] - _root.posiciones[18][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[17][0][0] - _root.posiciones2[18][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[17][1][0] - _root.posiciones2[18][1][0]) / 60;
}
} else {
if (Key.isDown(39)) {
if (_root.nodosestados[19] == 3 and _root.nodosestados[23] == 2) {
} else {
_root.posicion = 31;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[30][0][0] - _root.posiciones[18][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[30][1][0] - _root.posiciones[18][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[30][0][0] - _root.posiciones2[18][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[30][1][0] - _root.posiciones2[18][1][0]) / 60;
}
}
}
}
} else {
if (_root.posicion == 20) {
if (Key.isDown(40)) {
if (_root.nodosestados[20] == 3 and _root.nodosestados[21] == 2) {
} else {
_root.posicion = 21;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[20][0][0] - _root.posiciones[19][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[20][1][0] - _root.posiciones[19][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[20][0][0] - _root.posiciones2[19][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[20][1][0] - _root.posiciones2[19][1][0]) / 60;
}
} else {
if (Key.isDown(38)) {
if (_root.nodosestados[20] == 3 and _root.nodosestados[19] == 2) {
} else {
_root.posicion = 19;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[18][0][0] - _root.posiciones[19][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[18][1][0] - _root.posiciones[19][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[18][0][0] - _root.posiciones2[19][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[18][1][0] - _root.posiciones2[19][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 21) {
if (Key.isDown(40)) {
if (_root.nodosestados[21] == 3 and _root.nodosestados[22] == 2) {
} else {
_root.posicion = 22;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[21][0][0] - _root.posiciones[20][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[21][1][0] - _root.posiciones[20][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[21][0][0] - _root.posiciones2[20][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[21][1][0] - _root.posiciones2[20][1][0]) / 60;
}
} else {
if (Key.isDown(38)) {
if (_root.nodosestados[21] == 3 and _root.nodosestados[20] == 2) {
} else {
_root.posicion = 20;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[19][0][0] - _root.posiciones[20][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[19][1][0] - _root.posiciones[20][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[19][0][0] - _root.posiciones2[20][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[19][1][0] - _root.posiciones2[20][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 22) {
if (Key.isDown(38)) {
if (_root.nodosestados[22] == 3 and _root.nodosestados[21] == 2) {
} else {
_root.posicion = 21;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[20][0][0] - _root.posiciones[21][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[20][1][0] - _root.posiciones[21][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[20][0][0] - _root.posiciones2[21][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[20][1][0] - _root.posiciones2[21][1][0]) / 60;
}
}
} else {
if (_root.posicion == 23) {
if (Key.isDown(37)) {
if (_root.nodosestados[23] == 3 and _root.nodosestados[19] == 2) {
} else {
_root.posicion = 32;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[31][0][0] - _root.posiciones[22][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[31][1][0] - _root.posiciones[22][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[31][0][0] - _root.posiciones2[22][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[31][1][0] - _root.posiciones2[22][1][0]) / 60;
}
} else {
if (Key.isDown(38)) {
if (_root.nodosestados[23] == 3 and _root.nodosestados[24] == 2) {
} else {
_root.posicion = 24;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[23][0][0] - _root.posiciones[22][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[23][1][0] - _root.posiciones[22][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[23][0][0] - _root.posiciones2[22][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[23][1][0] - _root.posiciones2[22][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 24) {
if (Key.isDown(40)) {
if (_root.nodosestados[24] == 3 and _root.nodosestados[23] == 2) {
} else {
_root.posicion = 23;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[22][0][0] - _root.posiciones[23][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[22][1][0] - _root.posiciones[23][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[22][0][0] - _root.posiciones2[23][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[22][1][0] - _root.posiciones2[23][1][0]) / 60;
}
} else {
if (Key.isDown(38)) {
if (_root.nodosestados[24] == 3 and _root.nodosestados[25] == 2) {
} else {
_root.posicion = 25;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[24][0][0] - _root.posiciones[23][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[24][1][0] - _root.posiciones[23][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[24][0][0] - _root.posiciones2[23][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[24][1][0] - _root.posiciones2[23][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 25) {
if (Key.isDown(37)) {
if (_root.nodosestados[25] == 3 and _root.nodosestados[24] == 2) {
} else {
_root.posicion = 24;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[23][0][0] - _root.posiciones[24][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[23][1][0] - _root.posiciones[24][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[23][0][0] - _root.posiciones2[24][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[23][1][0] - _root.posiciones2[24][1][0]) / 60;
}
} else {
if (Key.isDown(39)) {
if (_root.nodosestados[25] == 3 and _root.nodosestados[26] == 2) {
} else {
_root.posicion = 26;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[25][0][0] - _root.posiciones[24][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[25][1][0] - _root.posiciones[24][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[25][0][0] - _root.posiciones2[24][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[25][1][0] - _root.posiciones2[24][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 26) {
if (Key.isDown(37)) {
if (_root.nodosestados[26] == 3 and _root.nodosestados[25] == 2) {
} else {
_root.posicion = 25;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[24][0][0] - _root.posiciones[25][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[24][1][0] - _root.posiciones[25][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[24][0][0] - _root.posiciones2[25][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[24][1][0] - _root.posiciones2[25][1][0]) / 60;
}
} else {
if (Key.isDown(40)) {
if (_root.nodosestados[26] == 3 and _root.nodosestados[27] == 2) {
} else {
_root.posicion = 27;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[26][0][0] - _root.posiciones[25][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[26][1][0] - _root.posiciones[25][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[26][0][0] - _root.posiciones2[25][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[26][1][0] - _root.posiciones2[25][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 27) {
if (Key.isDown(38)) {
if (_root.nodosestados[27] == 3 and _root.nodosestados[26] == 2) {
} else {
_root.posicion = 26;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[25][0][0] - _root.posiciones[26][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[25][1][0] - _root.posiciones[26][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[25][0][0] - _root.posiciones2[26][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[25][1][0] - _root.posiciones2[26][1][0]) / 60;
}
} else {
if (Key.isDown(40)) {
if (_root.nodosestados[27] == 3 and _root.nodosestados[28] == 2) {
} else {
_root.posicion = 28;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[27][0][0] - _root.posiciones[26][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[27][1][0] - _root.posiciones[26][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[27][0][0] - _root.posiciones2[26][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[27][1][0] - _root.posiciones2[26][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 28) {
if (Key.isDown(38)) {
if (_root.nodosestados[28] == 3 and _root.nodosestados[27] == 2) {
} else {
_root.posicion = 27;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[26][0][0] - _root.posiciones[27][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[26][1][0] - _root.posiciones[27][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[26][0][0] - _root.posiciones2[27][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[26][1][0] - _root.posiciones2[27][1][0]) / 60;
}
} else {
if (Key.isDown(40)) {
if (_root.nodosestados[28] == 3 and _root.nodosestados[29] == 2) {
} else {
_root.posicion = 29;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[28][0][0] - _root.posiciones[27][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[28][1][0] - _root.posiciones[27][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[28][0][0] - _root.posiciones2[27][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[28][1][0] - _root.posiciones2[27][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 29) {
if (Key.isDown(38)) {
if (_root.nodosestados[29] == 3 and _root.nodosestados[28] == 2) {
} else {
_root.posicion = 28;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[27][0][0] - _root.posiciones[28][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[27][1][0] - _root.posiciones[28][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[27][0][0] - _root.posiciones2[28][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[27][1][0] - _root.posiciones2[28][1][0]) / 60;
}
} else {
if (Key.isDown(39)) {
if (_root.nodosestados[29] == 7) {
} else {
_root.posicion = 30;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[29][0][0] - _root.posiciones[28][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[29][1][0] - _root.posiciones[28][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[29][0][0] - _root.posiciones2[28][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[29][1][0] - _root.posiciones2[28][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 31 and _root.llego1 == 1) {
_root.posicion = 23;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[22][0][0] - _root.posiciones[30][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[22][1][0] - _root.posiciones[30][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[22][0][0] - _root.posiciones2[30][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[22][1][0] - _root.posiciones2[30][1][0]) / 60;
} else {
if (_root.posicion == 32 and _root.llego1 == 1) {
_root.posicion = 19;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[18][0][0] - _root.posiciones[31][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[18][1][0] - _root.posiciones[31][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[18][0][0] - _root.posiciones2[31][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[18][1][0] - _root.posiciones2[31][1][0]) / 60;
} else {
if (_root.posicion == 33 and _root.llego1 == 1) {
_root.ira = 6;
_root.transin.play();
} else {
if (_root.posicion == 30) {
_root.ira = 10;
_root.posicion = 35;
_root.transin.play();
} else {
if (_root.posicion == 52) {
_root.posicion = 29;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[51][0][0] - _root.posiciones[28][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[51][1][0] - _root.posiciones[28][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[51][0][0] - _root.posiciones2[28][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[51][1][0] - _root.posiciones2[28][1][0]) / 60;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.llego1 == 0) {
_root.llego2 = 0;
}
} else {
if (_root.caminando == 1) {
posicionx = _root.posiciones[_root.posicion - 1][0][0];
posiciony = _root.posiciones[_root.posicion - 1][1][0];
if (this._x > posicionx) {
if (this._x - _root.velocidadchibix > posicionx) {
this._x -= _root.velocidadchibix;
} else {
this._x = posicionx;
}
} else {
if (this._x + _root.velocidadchibix < posicionx) {
this._x += _root.velocidadchibix;
} else {
this._x = posicionx;
}
}
if (this._y > posiciony) {
if (this._y - _root.velocidadchibiy > posiciony) {
this._y -= _root.velocidadchibiy;
} else {
this._y = posiciony;
}
} else {
if (this._y + _root.velocidadchibiy < posiciony) {
this._y += _root.velocidadchibiy;
} else {
this._y = posiciony;
}
}
if (this._x == posicionx and this._y == posiciony) {
_root.llego1 = 1;
if (_root.llego1 == 1 and _root.llego2 == 1) {
_root.caminando = 0;
_root.mostrandocartel = 2;
}
}
}
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 17 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(2);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 18 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(2);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 19 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(5);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 21 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(5);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 22 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(3);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 23 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(5);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 24 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(4);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 25 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(2);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 27 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(4);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 28 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(4);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 29 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(3);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (enterFrame) {
if (_root.firstwater == 0) {
if (_root.posicion == 20 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(2);
_root.mostrarcartel = 4;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
_root.pausadelaq = 12;
_root.savee.play();
_root.mostrandocartel = 2;
}
}
} else {
gotoAndStop(1);
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (enterFrame) {
if (_root.firstwater == 0) {
if (_root.posicion == 26 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(4);
_root.mostrarcartel = 4;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
_root.savee.play();
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
gotoAndStop(1);
}
} else {
gotoAndStop(1);
}
}
}
instance dialogo of movieClip 3708 {
onClipEvent (load) {
cargo = 0;
solto = 1;
}
onClipEvent (enterFrame) {
if (cargo == 0 and _root.dialogos > 0 and _root.tutorialejecutado == 2) {
play();
_root.negro.play();
_root.mostrametutorial = 99;
cargo = 1;
}
if (cargo == 1) {
if (_root.dialogos == 1) {
if (_root.player2 == 'Ridge') {
_root.dialogo.personaje.gotoAndStop(1);
} else {
if (_root.player2 == 'Vance') {
_root.dialogo.personaje.gotoAndStop(2);
} else {
if (_root.player2 == 'Nesyss') {
_root.dialogo.personaje.gotoAndStop(3);
} else {
if (_root.player2 == 'Cog') {
_root.dialogo.personaje.gotoAndStop(4);
} else {
if (_root.player2 == 'Tindra') {
_root.dialogo.personaje.gotoAndStop(5);
} else {
if (_root.player2 == 'Wyvern') {
_root.dialogo.personaje.gotoAndStop(6);
}
}
}
}
}
}
_root.dialogo.personaje.texto.gotoAndStop(4);
} else {
if (_root.dialogos == 2) {
_root.dialogo.personaje.texto.gotoAndStop(3);
} else {
cargo = 2;
_root.mostrametutorial = 0;
_root.negro.play();
gotoAndStop(1);
}
}
if (Key.isDown(81) and solto == 0) {
solto = 1;
_root.dialogos -= 1;
} else {
if (Key.isDown(81)) {
solto = 1;
} else {
solto = 0;
}
}
}
}
}
instance of movieClip 3715 {
onClipEvent (enterFrame) {
if (_root.player1freeexp > 0) {
play();
} else {
if (_root.player2freeexp > 0) {
play();
} else {
gotoAndStop(1);
}
}
}
}
instance of movieClip 3717 {
onClipEvent (load) {
var pausa = 24;
}
onClipEvent (enterFrame) {
pausa -= 1;
if (pausa < 0) {
if (Key.isDown(77)) {
_root.ira = 5;
_root.transin.play();
} else {
if (Key.isDown(27)) {
_root.ira = 2;
_root.transin.play();
}
}
}
}
}
instance of movieClip 3733 {
onClipEvent (load) {
esta = 0;
pausa = 0;
}
onClipEvent (enterFrame) {
if (_root.nodosestados[75] == 4 or _root.nodosestados[75] == 5) {
gotoAndStop(esta + 2);
if (esta == 0) {
_root.warpactivado = 0;
if (pausa == 0) {
if (Key.isDown(87)) {
esta = 1;
pausa = 12;
}
} else {
pausa -= 1;
}
} else {
_root.warpactivado = 1;
if (pausa == 0) {
if (Key.isDown(40)) {
if (esta < 5) {
esta += 1;
pausa = 12;
}
} else {
if (Key.isDown(38)) {
if (esta > 1) {
esta -= 1;
pausa = 12;
}
} else {
if (Key.isDown(87)) {
esta = 0;
pausa = 12;
} else {
if (Key.isDown(81)) {
if (esta == 1) {
_root.ira = 6;
_root.posicion = 4;
_root.transin.play();
} else {
if (esta == 2) {
} else {
if (esta == 3) {
_root.ira = 10;
_root.posicion = 36;
_root.transin.play();
} else {
if (esta == 4) {
_root.ira = 11;
_root.posicion = 54;
_root.transin.play();
} else {
if (esta == 5) {
_root.ira = 12;
_root.posicion = 73;
_root.transin.play();
}
}
}
}
}
esta = 0;
pausa = 24;
}
}
}
}
} else {
pausa -= 1;
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3743 {
onClipEvent (enterFrame) {
if (_root.nodosestados[29] == 4 or _root.nodosestados[29] == 5) {
gotoAndStop(3);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3121 {
onClipEvent (load) {
var delay = 0;
}
onClipEvent (enterFrame) {
++delay;
if (delay == 24) {
delay = 0;
++_root.tiempojugado[2];
if (_root.tiempojugado[2] > 59) {
_root.tiempojugado[2] = 0;
++_root.tiempojugado[1];
if (_root.tiempojugado[1] > 59) {
++_root.tiempojugado[0];
_root.tiempojugado[1] = 0;
}
}
}
}
}
instance of movieClip 3785 {
onClipEvent (load) {
espera = 0;
lrandom = 0;
}
onClipEvent (enterFrame) {
if (espera == 0) {
if (Key.isDown(49)) {
_root.misiones[22] = 1;
if (_root.player1 == 'Ridge') {
lrandom = Math.round(Math.random() * 2 + 2);
} else {
if (_root.player1 == 'Vance') {
lrandom = Math.round(Math.random() * 2 + 5);
} else {
if (_root.player1 == 'Nesyss') {
lrandom = Math.round(Math.random() * 3 + 8);
} else {
if (_root.player1 == 'Wyvern') {
lrandom = Math.round(Math.random() * 3 + 12);
} else {
if (_root.player1 == 'Cog') {
lrandom = Math.round(Math.random() * 2 + 16);
} else {
if (_root.player1 == 'Tindra') {
lrandom = Math.round(Math.random() * 1 + 19);
}
}
}
}
}
}
gotoAndStop(lrandom);
espera = 240;
} else {
if (Key.isDown(50)) {
if (_root.player2 == 'Ridge') {
lrandom = Math.round(Math.random() * 2 + 2);
} else {
if (_root.player2 == 'Vance') {
lrandom = Math.round(Math.random() * 2 + 5);
} else {
if (_root.player2 == 'Nesyss') {
lrandom = Math.round(Math.random() * 3 + 8);
} else {
if (_root.player2 == 'Wyvern') {
lrandom = Math.round(Math.random() * 3 + 12);
} else {
if (_root.player2 == 'Cog') {
lrandom = Math.round(Math.random() * 2 + 16);
} else {
if (_root.player2 == 'Tindra') {
lrandom = Math.round(Math.random() * 1 + 19);
}
}
}
}
}
}
gotoAndStop(lrandom);
espera = 240;
_root.misiones[22] = 1;
}
}
} else {
espera -= 1;
}
}
}
frame 10 {
_root.battle.stop();
if (_root.misiones[10] == 0) {
if (_root.nodosestados[37] == 4 or _root.nodosestados[37] == 5) {
if (_root.nodosestados[38] == 4 or _root.nodosestados[38] == 5) {
if (_root.nodosestados[39] == 4 or _root.nodosestados[39] == 5) {
if (_root.nodosestados[41] == 4 or _root.nodosestados[41] == 5) {
if (_root.nodosestados[42] == 4 or _root.nodosestados[42] == 5) {
if (_root.nodosestados[43] == 4 or _root.nodosestados[43] == 5) {
if (_root.nodosestados[44] == 4 or _root.nodosestados[44] == 5) {
if (_root.nodosestados[45] == 4 or _root.nodosestados[45] == 5) {
if (_root.nodosestados[46] == 4 or _root.nodosestados[46] == 5) {
if (_root.nodosestados[47] == 4 or _root.nodosestados[47] == 5) {
_root.misiones[10] = 1;
}
}
}
}
}
}
}
}
}
}
}
if (_root.nodosestados[49] == 4 or _root.nodosestados[49] == 5) {
_root.misiones[11] = 1;
}
if (_root.nodosestados[37] == 2) {
_root.dialogos = 2;
}
k = 0;
while (k < 500) {
removeMovieClip('snow' + k);
++k;
}
if (_root.resetearposicion == 1) {
_root.posicion = _root.recall;
_root.resetearposicion = 0;
}
_root.borrarnieve = 1;
_root.mapaestax = 1;
_root.caminando = 0;
_root.lugar = 1;
_root.llego1 = 1;
_root.llego2 = 1;
_root.velocidadchibix = 0;
_root.velocidadchibiy = 0;
_root.velocidadchibix2 = 0;
_root.velocidadchibiy2 = 0;
_root.mostrandocartel = 2;
_root.mostrarcartel = 0;
_root.pausadelaq = 24;
}
frame 10 {
_root.transout.gotoAndPlay(1);
_root.transin.gotoAndStop(1);
}
frame 10 {
_root.mapa.play();
_root.primeromapa.stop();
_root.mainm.stop();
_root.finalmapa.stop();
_root.battle.stop();
}
movieClip 3975 {
}
movieClip 3979 {
}
movieClip 3982 {
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[36]);
if (_root.posicion == 37 and _root.caminando == 0 and _root.nodosestados[37] == 2) {
_root.nodosestados[37] = 3;
} else {
if (_root.nodosestados[37] == 4 and _root.posicion == 37 and _root.caminando == 0) {
_root.nodosestados[37] = 5;
} else {
if (_root.posicion != 37) {
if (_root.nodosestados[37] == 4 or _root.nodosestados[37] == 5) {
_root.nodosestados[37] = 4;
} else {
_root.nodosestados[37] = 2;
}
}
}
}
if (_root.posicion == 38 and _root.caminando == 0 and _root.nodosestados[38] == 2) {
_root.nodosestados[38] = 3;
} else {
if (_root.nodosestados[38] == 4 and _root.posicion == 38 and _root.caminando == 0) {
_root.nodosestados[38] = 5;
} else {
if (_root.posicion != 38) {
if (_root.nodosestados[38] == 4 or _root.nodosestados[38] == 5) {
_root.nodosestados[38] = 4;
} else {
_root.nodosestados[38] = 2;
}
}
}
}
if (_root.posicion == 39 and _root.caminando == 0 and _root.nodosestados[39] == 2) {
_root.nodosestados[39] = 3;
} else {
if (_root.nodosestados[39] == 4 and _root.posicion == 39 and _root.caminando == 0) {
_root.nodosestados[39] = 5;
} else {
if (_root.posicion != 39) {
if (_root.nodosestados[39] == 4 or _root.nodosestados[39] == 5) {
_root.nodosestados[39] = 4;
} else {
_root.nodosestados[39] = 2;
}
}
}
}
if (_root.posicion == 42 and _root.caminando == 0 and _root.nodosestados[42] == 2) {
_root.nodosestados[42] = 3;
} else {
if (_root.nodosestados[42] == 4 and _root.posicion == 42 and _root.caminando == 0) {
_root.nodosestados[42] = 5;
} else {
if (_root.posicion != 42) {
if (_root.nodosestados[42] == 4 or _root.nodosestados[42] == 5) {
_root.nodosestados[42] = 4;
} else {
_root.nodosestados[42] = 2;
}
}
}
}
if (_root.posicion == 41 and _root.caminando == 0 and _root.nodosestados[41] == 10) {
_root.nodosestados[41] = 11;
} else {
if (_root.nodosestados[41] == 4 and _root.posicion == 41 and _root.caminando == 0) {
_root.nodosestados[41] = 5;
} else {
if (_root.posicion != 41) {
if (_root.nodosestados[41] == 4 or _root.nodosestados[41] == 5) {
_root.nodosestados[41] = 4;
} else {
_root.nodosestados[41] = 10;
}
}
}
}
if (_root.posicion == 43 and _root.caminando == 0 and _root.nodosestados[43] == 2) {
_root.nodosestados[43] = 3;
} else {
if (_root.nodosestados[43] == 4 and _root.posicion == 43 and _root.caminando == 0) {
_root.nodosestados[43] = 5;
} else {
if (_root.posicion != 43) {
if (_root.nodosestados[43] == 4 or _root.nodosestados[43] == 5) {
_root.nodosestados[43] = 4;
} else {
_root.nodosestados[43] = 2;
}
}
}
}
if (_root.posicion == 44 and _root.caminando == 0 and _root.nodosestados[44] == 2) {
_root.nodosestados[44] = 3;
} else {
if (_root.nodosestados[44] == 4 and _root.posicion == 44 and _root.caminando == 0) {
_root.nodosestados[44] = 5;
} else {
if (_root.posicion != 44) {
if (_root.nodosestados[44] == 4 or _root.nodosestados[44] == 5) {
_root.nodosestados[44] = 4;
} else {
_root.nodosestados[44] = 2;
}
}
}
}
if (_root.posicion == 45 and _root.caminando == 0 and _root.nodosestados[45] == 2) {
_root.nodosestados[45] = 3;
} else {
if (_root.nodosestados[45] == 4 and _root.posicion == 45 and _root.caminando == 0) {
_root.nodosestados[45] = 5;
} else {
if (_root.posicion != 45) {
if (_root.nodosestados[45] == 4 or _root.nodosestados[45] == 5) {
_root.nodosestados[45] = 4;
} else {
_root.nodosestados[45] = 2;
}
}
}
}
if (_root.posicion == 46 and _root.caminando == 0 and _root.nodosestados[46] == 2) {
_root.nodosestados[46] = 3;
} else {
if (_root.nodosestados[46] == 4 and _root.posicion == 46 and _root.caminando == 0) {
_root.nodosestados[46] = 5;
} else {
if (_root.posicion != 46) {
if (_root.nodosestados[46] == 4 or _root.nodosestados[46] == 5) {
_root.nodosestados[46] = 4;
} else {
_root.nodosestados[46] = 2;
}
}
}
}
if (_root.posicion == 47 and _root.caminando == 0 and _root.nodosestados[47] == 2) {
_root.nodosestados[47] = 3;
} else {
if (_root.nodosestados[47] == 4 and _root.posicion == 47 and _root.caminando == 0) {
_root.nodosestados[47] = 5;
} else {
if (_root.posicion != 47) {
if (_root.nodosestados[47] == 4 or _root.nodosestados[47] == 5) {
_root.nodosestados[47] = 4;
} else {
_root.nodosestados[47] = 2;
}
}
}
}
if (_root.posicion == 40 and _root.caminando == 0) {
_root.nodosestados[40] = 9;
} else {
_root.nodosestados[40] = 8;
}
if (_root.posicion == 48 and _root.caminando == 0) {
_root.nodosestados[48] = 9;
} else {
_root.nodosestados[48] = 8;
}
if (_root.posicion == 49 and _root.caminando == 0 and _root.nodosestados[49] == 6) {
_root.nodosestados[49] = 7;
} else {
if (_root.nodosestados[49] == 4 and _root.posicion == 49 and _root.caminando == 0) {
_root.nodosestados[49] = 5;
} else {
if (_root.posicion != 49) {
if (_root.nodosestados[49] == 4 or _root.nodosestados[49] == 5) {
_root.nodosestados[49] = 4;
} else {
_root.nodosestados[49] = 6;
}
}
}
}
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[37]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[38]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[39]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[40]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[41]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[42]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[43]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[44]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[45]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[47]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[46]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[48]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[49]);
}
}
instance personaje2 of movieClip 3509 {
onClipEvent (load) {
var posicionx = 0;
var posiciony = 0;
var velocidadchibix = 0;
var velocidadchibiy = 0;
var mover = 0;
}
onClipEvent (enterFrame) {
if (mover == 0) {
if (_root.posicion == 69) {
_root.posicion = 71;
}
mover = 1;
if (_root.posicion != 36) {
this._x = _root.posiciones2[_root.posicion - 1][0][0];
this._y = _root.posiciones2[_root.posicion - 1][1][0];
}
}
velocidadchibix = _root.velocidadchibix2 * 60 / 54;
velocidadchibiy = _root.velocidadchibiy2 * 60 / 54;
if (_root.player2life < 1) {
gotoAndStop(7);
} else {
if (_root.player2 == 'Ridge') {
this.gotoAndStop(1);
} else {
if (_root.player2 == 'Vance') {
this.gotoAndStop(2);
} else {
if (_root.player2 == 'Nesyss') {
this.gotoAndStop(3);
} else {
if (_root.player2 == 'Wyvern') {
this.gotoAndStop(4);
} else {
if (_root.player2 == 'Cog') {
this.gotoAndStop(5);
} else {
if (_root.player2 == 'Tindra') {
this.gotoAndStop(6);
}
}
}
}
}
}
}
if (_root.caminando == 1) {
posicionx = _root.posiciones2[_root.posicion - 1][0][0];
posiciony = _root.posiciones2[_root.posicion - 1][1][0];
if (this._x > posicionx) {
if (this._x - velocidadchibix > posicionx) {
this._x -= velocidadchibix;
} else {
this._x = posicionx;
}
} else {
if (this._x + velocidadchibix < posicionx) {
this._x += velocidadchibix;
} else {
this._x = posicionx;
}
}
if (this._y > posiciony) {
if (this._y - velocidadchibiy > posiciony) {
this._y -= velocidadchibiy;
} else {
this._y = posiciony;
}
} else {
if (this._y + velocidadchibiy < posiciony) {
this._y += velocidadchibiy;
} else {
this._y = posiciony;
}
}
if (this._x == posicionx and this._y == posiciony) {
_root.llego2 = 1;
}
}
}
}
instance of movieClip 3513 {
onClipEvent (load) {
var posicionx = 0;
var posiciony = 0;
var mover = 0;
var saveo = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(81) and _root.mostrandocartel == 2 and _root.pausadelaq < 0) {
_root.mostrandocartel = 0;
_root.pausadelaq = 12;
}
if (_root.posicion == 69) {
_root.posicion = 71;
}
_root.pausadelaq -= 1;
if (_root.posicion == 40 and _root.caminando == 0 or _root.posicion == 48 and _root.caminando == 0) {
_root.recall = _root.posicion;
if (saveo == 0) {
saveo = 1;
}
} else {
saveo = 0;
}
if (mover == 0) {
mover = 1;
this._x = _root.posiciones[_root.posicion - 1][0][0];
this._y = _root.posiciones[_root.posicion - 1][1][0];
}
if (_root.caminando == 1) {
_root.mostrandocartel = 0;
}
if (_root.player1life < 1) {
gotoAndStop(7);
} else {
if (_root.player1 == 'Ridge') {
this.gotoAndStop(1);
} else {
if (_root.player1 == 'Vance') {
this.gotoAndStop(2);
} else {
if (_root.player1 == 'Nesyss') {
this.gotoAndStop(3);
} else {
if (_root.player1 == 'Wyvern') {
this.gotoAndStop(4);
} else {
if (_root.player1 == 'Cog') {
this.gotoAndStop(5);
} else {
if (_root.player1 == 'Tindra') {
this.gotoAndStop(6);
}
}
}
}
}
}
}
if (_root.caminando == 0 and _root.mostrandocartel != 1 and _root.warpactivado == 0) {
if (_root.posicion == 35) {
_root.posicion = 36;
_root.caminando = 1;
_root.llego1 = 0;
_root.llego2 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[35][0][0] - _root.posiciones[34][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[35][1][0] - _root.posiciones[34][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[35][0][0] - _root.posiciones2[34][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[35][1][0] - _root.posiciones2[34][1][0]) / 60;
} else {
if (_root.posicion == 36) {
if (Key.isDown(39)) {
if (_root.nodosestados[36] == 3 and _root.nodosestados[37] == 2) {
} else {
_root.posicion = 37;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[36][0][0] - _root.posiciones[35][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[36][1][0] - _root.posiciones[35][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[36][0][0] - _root.posiciones2[35][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[36][1][0] - _root.posiciones2[35][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
_root.posicion = 51;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[50][0][0] - _root.posiciones[35][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[50][1][0] - _root.posiciones[35][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[50][0][0] - _root.posiciones2[35][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[50][1][0] - _root.posiciones2[35][1][0]) / 60;
}
}
} else {
if (_root.posicion == 37) {
if (Key.isDown(39)) {
if (_root.nodosestados[37] == 3 and _root.nodosestados[38] == 2) {
} else {
_root.posicion = 38;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[37][0][0] - _root.posiciones[36][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[37][1][0] - _root.posiciones[36][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[37][0][0] - _root.posiciones2[36][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[37][1][0] - _root.posiciones2[36][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[37] == 3 and _root.nodosestados[36] == 2) {
} else {
_root.posicion = 36;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[35][0][0] - _root.posiciones[36][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[35][1][0] - _root.posiciones[36][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[35][0][0] - _root.posiciones2[36][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[35][1][0] - _root.posiciones2[36][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 71) {
_root.posicion = 49;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[48][0][0] - _root.posiciones[70][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[48][1][0] - _root.posiciones[70][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[48][0][0] - _root.posiciones2[70][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[48][1][0] - _root.posiciones2[70][1][0]) / 60;
} else {
if (_root.posicion == 38) {
if (Key.isDown(39)) {
if (_root.nodosestados[38] == 3 and _root.nodosestados[39] == 2) {
} else {
_root.posicion = 39;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[38][0][0] - _root.posiciones[37][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[38][1][0] - _root.posiciones[37][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[38][0][0] - _root.posiciones2[37][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[38][1][0] - _root.posiciones2[37][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[38] == 3 and _root.nodosestados[37] == 2) {
} else {
_root.posicion = 37;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[36][0][0] - _root.posiciones[37][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[36][1][0] - _root.posiciones[37][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[36][0][0] - _root.posiciones2[37][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[36][1][0] - _root.posiciones2[37][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 39) {
if (Key.isDown(39)) {
if (_root.nodosestados[39] == 3 and _root.nodosestados[40] == 2) {
} else {
_root.posicion = 40;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[39][0][0] - _root.posiciones[38][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[39][1][0] - _root.posiciones[38][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[39][0][0] - _root.posiciones2[38][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[39][1][0] - _root.posiciones2[38][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[39] == 3 and _root.nodosestados[38] == 2) {
} else {
_root.posicion = 38;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[37][0][0] - _root.posiciones[38][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[37][1][0] - _root.posiciones[38][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[37][0][0] - _root.posiciones2[38][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[37][1][0] - _root.posiciones2[38][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 40) {
if (Key.isDown(40)) {
if (_root.nodosestados[40] == 3 and _root.nodosestados[39] == 2) {
} else {
_root.posicion = 39;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[38][0][0] - _root.posiciones[39][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[38][1][0] - _root.posiciones[39][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[38][0][0] - _root.posiciones2[39][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[38][1][0] - _root.posiciones2[39][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[40] == 3 and _root.nodosestados[41] == 2) {
} else {
_root.posicion = 41;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[40][0][0] - _root.posiciones[39][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[40][1][0] - _root.posiciones[39][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[40][0][0] - _root.posiciones2[39][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[40][1][0] - _root.posiciones2[39][1][0]) / 60;
}
} else {
if (Key.isDown(38)) {
if (_root.nodosestados[40] == 3 and _root.nodosestados[42] == 2) {
} else {
_root.posicion = 42;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[41][0][0] - _root.posiciones[39][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[41][1][0] - _root.posiciones[39][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[41][0][0] - _root.posiciones2[39][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[41][1][0] - _root.posiciones2[39][1][0]) / 60;
}
}
}
}
} else {
if (_root.posicion == 41) {
if (Key.isDown(39)) {
if (_root.nodosestados[41] == 3 and _root.nodosestados[40] == 2) {
} else {
_root.posicion = 40;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[39][0][0] - _root.posiciones[40][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[39][1][0] - _root.posiciones[40][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[39][0][0] - _root.posiciones2[40][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[39][1][0] - _root.posiciones2[40][1][0]) / 60;
}
}
} else {
if (_root.posicion == 42) {
if (Key.isDown(40)) {
if (_root.nodosestados[42] == 3 and _root.nodosestados[40] == 2) {
} else {
_root.posicion = 40;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[39][0][0] - _root.posiciones[41][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[39][1][0] - _root.posiciones[41][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[39][0][0] - _root.posiciones2[41][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[39][1][0] - _root.posiciones2[41][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[42] == 3 and _root.nodosestados[43] == 2) {
} else {
_root.posicion = 43;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[42][0][0] - _root.posiciones[41][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[42][1][0] - _root.posiciones[41][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[42][0][0] - _root.posiciones2[41][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[42][1][0] - _root.posiciones2[41][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 43) {
if (Key.isDown(39)) {
if (_root.nodosestados[43] == 3 and _root.nodosestados[42] == 2) {
} else {
_root.posicion = 42;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[41][0][0] - _root.posiciones[42][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[41][1][0] - _root.posiciones[42][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[41][0][0] - _root.posiciones2[42][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[41][1][0] - _root.posiciones2[42][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[43] == 3 and _root.nodosestados[44] == 2) {
} else {
_root.posicion = 44;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[43][0][0] - _root.posiciones[42][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[43][1][0] - _root.posiciones[42][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[43][0][0] - _root.posiciones2[42][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[43][1][0] - _root.posiciones2[42][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 44) {
if (Key.isDown(39)) {
if (_root.nodosestados[44] == 3 and _root.nodosestados[43] == 2) {
} else {
_root.posicion = 43;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[42][0][0] - _root.posiciones[43][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[42][1][0] - _root.posiciones[43][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[42][0][0] - _root.posiciones2[43][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[42][1][0] - _root.posiciones2[43][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[44] == 3 and _root.nodosestados[45] == 2) {
} else {
_root.posicion = 45;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[44][0][0] - _root.posiciones[43][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[44][1][0] - _root.posiciones[43][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[44][0][0] - _root.posiciones2[43][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[44][1][0] - _root.posiciones2[43][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 45) {
if (Key.isDown(40)) {
if (_root.nodosestados[45] == 3 and _root.nodosestados[47] == 2) {
} else {
_root.posicion = 47;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[46][0][0] - _root.posiciones[44][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[46][1][0] - _root.posiciones[44][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[46][0][0] - _root.posiciones2[44][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[46][1][0] - _root.posiciones2[44][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[45] == 3 and _root.nodosestados[46] == 2) {
} else {
_root.posicion = 46;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[45][0][0] - _root.posiciones[44][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[45][1][0] - _root.posiciones[44][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[45][0][0] - _root.posiciones2[44][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[45][1][0] - _root.posiciones2[44][1][0]) / 60;
}
} else {
if (Key.isDown(39)) {
if (_root.nodosestados[45] == 3 and _root.nodosestados[44] == 2) {
} else {
_root.posicion = 44;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[43][0][0] - _root.posiciones[44][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[43][1][0] - _root.posiciones[44][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[43][0][0] - _root.posiciones2[44][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[43][1][0] - _root.posiciones2[44][1][0]) / 60;
}
}
}
}
} else {
if (_root.posicion == 46) {
if (Key.isDown(39)) {
if (_root.nodosestados[46] == 3 and _root.nodosestados[45] == 2) {
} else {
_root.posicion = 45;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[45][0][0] - _root.posiciones[44][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[45][1][0] - _root.posiciones[44][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[45][0][0] - _root.posiciones2[44][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[45][1][0] - _root.posiciones2[44][1][0]) / 60;
}
}
} else {
if (_root.posicion == 47) {
if (Key.isDown(40)) {
if (_root.nodosestados[47] == 3 and _root.nodosestados[48] == 2) {
} else {
_root.posicion = 48;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[47][0][0] - _root.posiciones[46][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[47][1][0] - _root.posiciones[46][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[47][0][0] - _root.posiciones2[46][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[47][1][0] - _root.posiciones2[46][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[47] == 3 and _root.nodosestados[49] == 2) {
} else {
_root.posicion = 49;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[48][0][0] - _root.posiciones[46][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[48][1][0] - _root.posiciones[46][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[48][0][0] - _root.posiciones2[46][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[48][1][0] - _root.posiciones2[46][1][0]) / 60;
}
} else {
if (Key.isDown(38)) {
if (_root.nodosestados[47] == 3 and _root.nodosestados[45] == 2) {
} else {
_root.posicion = 45;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[44][0][0] - _root.posiciones[46][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[44][1][0] - _root.posiciones[46][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[44][0][0] - _root.posiciones2[46][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[44][1][0] - _root.posiciones2[46][1][0]) / 60;
}
}
}
}
} else {
if (_root.posicion == 48) {
if (Key.isDown(39)) {
if (_root.nodosestados[48] == 3 and _root.nodosestados[47] == 2) {
} else {
_root.posicion = 47;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[46][0][0] - _root.posiciones[47][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[46][1][0] - _root.posiciones[47][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[46][0][0] - _root.posiciones2[47][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[46][1][0] - _root.posiciones2[47][1][0]) / 60;
}
}
} else {
if (_root.posicion == 49) {
if (Key.isDown(39)) {
if (_root.nodosestados[49] == 3 and _root.nodosestados[47] == 2) {
} else {
_root.posicion = 47;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[46][0][0] - _root.posiciones[48][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[46][1][0] - _root.posiciones[48][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[46][0][0] - _root.posiciones2[48][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[46][1][0] - _root.posiciones2[48][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[49] == 3 and _root.nodosestados[50] == 2) {
} else {
_root.posicion = 50;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[49][0][0] - _root.posiciones[48][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[49][1][0] - _root.posiciones[48][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[49][0][0] - _root.posiciones2[48][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[49][1][0] - _root.posiciones2[48][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 51 and _root.llego1 == 1) {
_root.ira = 9;
_root.transin.play();
} else {
if (_root.posicion == 50 and _root.llego1 == 1) {
if (_root.nodosestados[50] != 1) {
_root.ira = 11;
_root.transin.play();
} else {
_root.ira = 4;
_root.peleain.play();
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.llego1 == 0) {
_root.llego2 = 0;
}
} else {
if (_root.caminando == 1) {
posicionx = _root.posiciones[_root.posicion - 1][0][0];
posiciony = _root.posiciones[_root.posicion - 1][1][0];
if (this._x > posicionx) {
if (this._x - _root.velocidadchibix > posicionx) {
this._x -= _root.velocidadchibix;
} else {
this._x = posicionx;
}
} else {
if (this._x + _root.velocidadchibix < posicionx) {
this._x += _root.velocidadchibix;
} else {
this._x = posicionx;
}
}
if (this._y > posiciony) {
if (this._y - _root.velocidadchibiy > posiciony) {
this._y -= _root.velocidadchibiy;
} else {
this._y = posiciony;
}
} else {
if (this._y + _root.velocidadchibiy < posiciony) {
this._y += _root.velocidadchibiy;
} else {
this._y = posiciony;
}
}
if (this._x == posicionx and this._y == posiciony) {
_root.llego1 = 1;
if (_root.llego1 == 1 and _root.llego2 == 1) {
_root.caminando = 0;
_root.mostrandocartel = 2;
}
}
}
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 37 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(3);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 38 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(3);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 39 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(4);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 41 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(4);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 42 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(4);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 43 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(2);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 44 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(2);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 45 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(5);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 46 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(5);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 47 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(5);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 49 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(5);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (enterFrame) {
if (_root.firstwater == 0) {
if (_root.posicion == 40 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(4);
_root.mostrarcartel = 4;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
_root.savee.play();
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
gotoAndStop(1);
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (enterFrame) {
if (_root.firstwater == 0) {
if (_root.posicion == 48 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(5);
_root.mostrarcartel = 4;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
_root.savee.play();
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
gotoAndStop(1);
}
} else {
gotoAndStop(1);
}
}
}
instance dialogo of movieClip 3708 {
onClipEvent (load) {
cargo = 0;
solto = 1;
}
onClipEvent (enterFrame) {
if (cargo == 0 and _root.dialogos > 0 and _root.tutorialejecutado == 2) {
play();
_root.negro.play();
_root.mostrametutorial = 99;
cargo = 1;
}
if (cargo == 1) {
if (_root.dialogos == 1) {
if (_root.player2 == 'Ridge') {
_root.dialogo.personaje.gotoAndStop(1);
} else {
if (_root.player2 == 'Vance') {
_root.dialogo.personaje.gotoAndStop(2);
} else {
if (_root.player2 == 'Nesyss') {
_root.dialogo.personaje.gotoAndStop(3);
} else {
if (_root.player2 == 'Cog') {
_root.dialogo.personaje.gotoAndStop(4);
} else {
if (_root.player2 == 'Tindra') {
_root.dialogo.personaje.gotoAndStop(5);
} else {
if (_root.player2 == 'Wyvern') {
_root.dialogo.personaje.gotoAndStop(6);
}
}
}
}
}
}
_root.dialogo.personaje.texto.gotoAndStop(6);
} else {
if (_root.dialogos == 2) {
_root.dialogo.personaje.texto.gotoAndStop(5);
} else {
cargo = 2;
_root.mostrametutorial = 0;
_root.negro.play();
gotoAndStop(1);
}
}
if (Key.isDown(81) and solto == 0) {
solto = 1;
_root.dialogos -= 1;
} else {
if (Key.isDown(81)) {
solto = 1;
} else {
solto = 0;
}
}
}
}
}
instance of movieClip 3733 {
onClipEvent (load) {
esta = 0;
pausa = 0;
}
onClipEvent (enterFrame) {
if (_root.nodosestados[75] == 4 or _root.nodosestados[75] == 5) {
gotoAndStop(esta + 2);
if (esta == 0) {
_root.warpactivado = 0;
if (pausa == 0) {
if (Key.isDown(87)) {
esta = 1;
pausa = 12;
}
} else {
pausa -= 1;
}
} else {
_root.warpactivado = 1;
if (pausa == 0) {
if (Key.isDown(40)) {
if (esta < 5) {
esta += 1;
pausa = 12;
}
} else {
if (Key.isDown(38)) {
if (esta > 1) {
esta -= 1;
pausa = 12;
}
} else {
if (Key.isDown(87)) {
esta = 0;
pausa = 12;
} else {
if (Key.isDown(81)) {
if (esta == 1) {
_root.ira = 6;
_root.posicion = 4;
_root.transin.play();
} else {
if (esta == 2) {
_root.ira = 9;
_root.posicion = 16;
_root.transin.play();
} else {
if (esta == 3) {
} else {
if (esta == 4) {
_root.ira = 11;
_root.posicion = 54;
_root.transin.play();
} else {
if (esta == 5) {
_root.ira = 12;
_root.posicion = 73;
_root.transin.play();
}
}
}
}
}
esta = 0;
pausa = 24;
}
}
}
}
} else {
pausa -= 1;
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3743 {
onClipEvent (enterFrame) {
if (_root.nodosestados[49] == 4 or _root.nodosestados[49] == 5) {
gotoAndStop(4);
} else {
gotoAndStop(1);
}
}
}
frame 11 {
_root.battle.stop();
if (_root.misiones[13] == 0) {
if (_root.nodosestados[55] == 4 or _root.nodosestados[55] == 5) {
if (_root.nodosestados[56] == 4 or _root.nodosestados[56] == 5) {
if (_root.nodosestados[58] == 4 or _root.nodosestados[58] == 5) {
if (_root.nodosestados[59] == 4 or _root.nodosestados[59] == 5) {
if (_root.nodosestados[60] == 4 or _root.nodosestados[60] == 5) {
if (_root.nodosestados[61] == 4 or _root.nodosestados[61] == 5) {
if (_root.nodosestados[62] == 4 or _root.nodosestados[62] == 5) {
if (_root.nodosestados[64] == 4 or _root.nodosestados[64] == 5) {
if (_root.nodosestados[65] == 4 or _root.nodosestados[65] == 5) {
if (_root.nodosestados[66] == 4 or _root.nodosestados[66] == 5) {
if (_root.nodosestados[67] == 4 or _root.nodosestados[67] == 5) {
_root.misiones[13] = 1;
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.nodosestados[68] == 4 or _root.nodosestados[68] == 5) {
_root.misiones[15] = 1;
}
if (_root.nodosestados[55] == 2) {
_root.dialogos = 2;
}
k = 0;
while (k < 500) {
removeMovieClip('snow' + k);
++k;
}
if (_root.resetearposicion == 1) {
_root.posicion = _root.recall;
_root.resetearposicion = 0;
}
_root.borrarnieve = 1;
_root.mapaestax = 1;
_root.caminando = 0;
_root.lugar = 1;
_root.llego1 = 1;
_root.llego2 = 1;
_root.velocidadchibix = 0;
_root.velocidadchibiy = 0;
_root.velocidadchibix2 = 0;
_root.velocidadchibiy2 = 0;
_root.mostrandocartel = 2;
_root.mostrarcartel = 0;
_root.pausadelaq = 24;
}
frame 11 {
_root.transout.gotoAndPlay(1);
_root.transin.gotoAndStop(1);
}
frame 11 {
_root.mapa.play();
_root.primeromapa.stop();
_root.mainm.stop();
_root.finalmapa.stop();
_root.battle.stop();
}
movieClip 3996 {
}
movieClip 3999 {
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[54]);
_root.nodosestados[54] = 1;
if (_root.posicion == 55 and _root.caminando == 0 and _root.nodosestados[55] == 2) {
_root.nodosestados[55] = 3;
} else {
if (_root.nodosestados[55] == 4 and _root.posicion == 55 and _root.caminando == 0) {
_root.nodosestados[55] = 5;
} else {
if (_root.posicion != 55) {
if (_root.nodosestados[55] == 4 or _root.nodosestados[55] == 5) {
_root.nodosestados[55] = 4;
} else {
_root.nodosestados[55] = 2;
}
}
}
}
if (_root.posicion == 56 and _root.caminando == 0 and _root.nodosestados[56] == 2) {
_root.nodosestados[56] = 3;
} else {
if (_root.nodosestados[56] == 4 and _root.posicion == 56 and _root.caminando == 0) {
_root.nodosestados[56] = 5;
} else {
if (_root.posicion != 56) {
if (_root.nodosestados[56] == 4 or _root.nodosestados[56] == 5) {
_root.nodosestados[56] = 4;
} else {
_root.nodosestados[56] = 2;
}
}
}
}
if (_root.posicion == 58 and _root.caminando == 0 and _root.nodosestados[58] == 2) {
_root.nodosestados[58] = 3;
} else {
if (_root.nodosestados[58] == 4 and _root.posicion == 58 and _root.caminando == 0) {
_root.nodosestados[58] = 5;
} else {
if (_root.posicion != 58) {
if (_root.nodosestados[58] == 4 or _root.nodosestados[58] == 5) {
_root.nodosestados[58] = 4;
} else {
_root.nodosestados[58] = 2;
}
}
}
}
if (_root.posicion == 59 and _root.caminando == 0 and _root.nodosestados[59] == 2) {
_root.nodosestados[59] = 3;
} else {
if (_root.nodosestados[59] == 4 and _root.posicion == 59 and _root.caminando == 0) {
_root.nodosestados[59] = 5;
} else {
if (_root.posicion != 59) {
if (_root.nodosestados[59] == 4 or _root.nodosestados[59] == 5) {
_root.nodosestados[59] = 4;
} else {
_root.nodosestados[59] = 2;
}
}
}
}
if (_root.posicion == 60 and _root.caminando == 0 and _root.nodosestados[60] == 2) {
_root.nodosestados[60] = 3;
} else {
if (_root.nodosestados[60] == 4 and _root.posicion == 60 and _root.caminando == 0) {
_root.nodosestados[60] = 5;
} else {
if (_root.posicion != 60) {
if (_root.nodosestados[60] == 4 or _root.nodosestados[60] == 5) {
_root.nodosestados[60] = 4;
} else {
_root.nodosestados[60] = 2;
}
}
}
}
if (_root.posicion == 61 and _root.caminando == 0 and _root.nodosestados[61] == 2) {
_root.nodosestados[61] = 3;
} else {
if (_root.nodosestados[61] == 4 and _root.posicion == 61 and _root.caminando == 0) {
_root.nodosestados[61] = 5;
} else {
if (_root.posicion != 61) {
if (_root.nodosestados[61] == 4 or _root.nodosestados[61] == 5) {
_root.nodosestados[61] = 4;
} else {
_root.nodosestados[61] = 2;
}
}
}
}
if (_root.posicion == 64 and _root.caminando == 0 and _root.nodosestados[64] == 2) {
_root.nodosestados[64] = 3;
} else {
if (_root.nodosestados[64] == 4 and _root.posicion == 64 and _root.caminando == 0) {
_root.nodosestados[64] = 5;
} else {
if (_root.posicion != 64) {
if (_root.nodosestados[64] == 4 or _root.nodosestados[64] == 5) {
_root.nodosestados[64] = 4;
} else {
_root.nodosestados[64] = 2;
}
}
}
}
if (_root.posicion == 65 and _root.caminando == 0 and _root.nodosestados[65] == 2) {
_root.nodosestados[65] = 3;
} else {
if (_root.nodosestados[65] == 4 and _root.posicion == 65 and _root.caminando == 0) {
_root.nodosestados[65] = 5;
} else {
if (_root.posicion != 65) {
if (_root.nodosestados[65] == 4 or _root.nodosestados[65] == 5) {
_root.nodosestados[65] = 4;
} else {
_root.nodosestados[65] = 2;
}
}
}
}
if (_root.posicion == 66 and _root.caminando == 0 and _root.nodosestados[66] == 2) {
_root.nodosestados[66] = 3;
} else {
if (_root.nodosestados[66] == 4 and _root.posicion == 66 and _root.caminando == 0) {
_root.nodosestados[66] = 5;
} else {
if (_root.posicion != 66) {
if (_root.nodosestados[66] == 4 or _root.nodosestados[66] == 5) {
_root.nodosestados[66] = 4;
} else {
_root.nodosestados[66] = 2;
}
}
}
}
if (_root.posicion == 67 and _root.caminando == 0 and _root.nodosestados[67] == 2) {
_root.nodosestados[67] = 3;
} else {
if (_root.nodosestados[67] == 4 and _root.posicion == 67 and _root.caminando == 0) {
_root.nodosestados[67] = 5;
} else {
if (_root.posicion != 67) {
if (_root.nodosestados[67] == 4 or _root.nodosestados[67] == 5) {
_root.nodosestados[67] = 4;
} else {
_root.nodosestados[67] = 2;
}
}
}
}
if (_root.posicion == 68 and _root.caminando == 0 and _root.nodosestados[68] == 6) {
_root.nodosestados[68] = 7;
} else {
if (_root.nodosestados[68] == 4 and _root.posicion == 68 and _root.caminando == 0) {
_root.nodosestados[68] = 5;
} else {
if (_root.posicion != 68) {
if (_root.nodosestados[68] == 4 or _root.nodosestados[68] == 5) {
_root.nodosestados[68] = 4;
} else {
_root.nodosestados[68] = 6;
}
}
}
}
if (_root.posicion == 57 and _root.caminando == 0) {
_root.nodosestados[57] = 9;
} else {
_root.nodosestados[57] = 8;
}
if (_root.posicion == 63 and _root.caminando == 0) {
_root.nodosestados[63] = 9;
} else {
_root.nodosestados[63] = 8;
}
if (_root.posicion == 62 and _root.caminando == 0 and _root.nodosestados[62] == 10) {
_root.nodosestados[62] = 11;
} else {
if (_root.nodosestados[62] == 4 and _root.posicion == 62 and _root.caminando == 0) {
_root.nodosestados[62] = 5;
} else {
if (_root.posicion != 62) {
if (_root.nodosestados[62] == 4 or _root.nodosestados[62] == 5) {
_root.nodosestados[62] = 4;
} else {
_root.nodosestados[62] = 10;
}
}
}
}
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[55]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[56]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[57]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[58]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[59]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[60]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[61]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[62]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[63]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[64]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[65]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[66]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[67]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[68]);
}
}
instance personaje2 of movieClip 3509 {
onClipEvent (load) {
var posicionx = 0;
var posiciony = 0;
var velocidadchibix = 0;
var velocidadchibiy = 0;
var mover = 0;
}
onClipEvent (enterFrame) {
if (mover == 0) {
mover = 1;
if (_root.posicion == 50) {
_root.posicion = 53;
}
if (_root.posicion != 54) {
this._x = _root.posiciones2[_root.posicion - 1][0][0];
this._y = _root.posiciones2[_root.posicion - 1][1][0];
}
}
velocidadchibix = _root.velocidadchibix2 * 60 / 54;
velocidadchibiy = _root.velocidadchibiy2 * 60 / 54;
if (_root.player2life < 1) {
gotoAndStop(7);
} else {
if (_root.player2 == 'Ridge') {
this.gotoAndStop(1);
} else {
if (_root.player2 == 'Vance') {
this.gotoAndStop(2);
} else {
if (_root.player2 == 'Nesyss') {
this.gotoAndStop(3);
} else {
if (_root.player2 == 'Wyvern') {
this.gotoAndStop(4);
} else {
if (_root.player2 == 'Cog') {
this.gotoAndStop(5);
} else {
if (_root.player2 == 'Tindra') {
this.gotoAndStop(6);
}
}
}
}
}
}
}
if (_root.caminando == 1) {
posicionx = _root.posiciones2[_root.posicion - 1][0][0];
posiciony = _root.posiciones2[_root.posicion - 1][1][0];
if (this._x > posicionx) {
if (this._x - velocidadchibix > posicionx) {
this._x -= velocidadchibix;
} else {
this._x = posicionx;
}
} else {
if (this._x + velocidadchibix < posicionx) {
this._x += velocidadchibix;
} else {
this._x = posicionx;
}
}
if (this._y > posiciony) {
if (this._y - velocidadchibiy > posiciony) {
this._y -= velocidadchibiy;
} else {
this._y = posiciony;
}
} else {
if (this._y + velocidadchibiy < posiciony) {
this._y += velocidadchibiy;
} else {
this._y = posiciony;
}
}
if (this._x == posicionx and this._y == posiciony) {
_root.llego2 = 1;
}
}
}
}
instance of movieClip 3513 {
onClipEvent (load) {
var posicionx = 0;
var posiciony = 0;
var mover = 0;
var saveo = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(81) and _root.mostrandocartel == 2 and _root.pausadelaq < 0) {
_root.mostrandocartel = 0;
_root.pausadelaq = 12;
}
_root.pausadelaq -= 1;
if (_root.posicion == 57 and _root.caminando == 0 or _root.posicion == 63 and _root.caminando == 0) {
_root.recall = _root.posicion;
if (saveo == 0) {
saveo = 1;
}
} else {
saveo = 0;
}
if (mover == 0) {
mover = 1;
if (_root.posicion == 50) {
_root.posicion = 53;
}
this._x = _root.posiciones[_root.posicion - 1][0][0];
this._y = _root.posiciones[_root.posicion - 1][1][0];
}
if (_root.caminando == 1) {
_root.mostrandocartel = 0;
}
if (_root.player1life < 1) {
gotoAndStop(7);
} else {
if (_root.player1 == 'Ridge') {
this.gotoAndStop(1);
} else {
if (_root.player1 == 'Vance') {
this.gotoAndStop(2);
} else {
if (_root.player1 == 'Nesyss') {
this.gotoAndStop(3);
} else {
if (_root.player1 == 'Wyvern') {
this.gotoAndStop(4);
} else {
if (_root.player1 == 'Cog') {
this.gotoAndStop(5);
} else {
if (_root.player1 == 'Tindra') {
this.gotoAndStop(6);
}
}
}
}
}
}
}
if (_root.caminando == 0 and _root.mostrandocartel != 1 and _root.warpactivado == 0) {
if (_root.posicion == 53) {
_root.posicion = 54;
_root.caminando = 1;
_root.llego1 = 0;
_root.llego2 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[53][0][0] - _root.posiciones[52][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[53][1][0] - _root.posiciones[52][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[53][0][0] - _root.posiciones2[52][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[53][1][0] - _root.posiciones2[52][1][0]) / 60;
} else {
if (_root.posicion == 54) {
if (Key.isDown(40)) {
if (_root.nodosestados[54] == 3 and _root.nodosestados[55] == 2) {
} else {
_root.posicion = 55;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[54][0][0] - _root.posiciones[53][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[54][1][0] - _root.posiciones[53][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[54][0][0] - _root.posiciones2[53][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[54][1][0] - _root.posiciones2[53][1][0]) / 60;
}
} else {
if (Key.isDown(39)) {
_root.posicion = 69;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[68][0][0] - _root.posiciones[53][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[68][1][0] - _root.posiciones[53][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[68][0][0] - _root.posiciones2[53][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[68][1][0] - _root.posiciones2[53][1][0]) / 60;
}
}
} else {
if (_root.posicion == 55) {
if (Key.isDown(37)) {
if (_root.nodosestados[55] == 3 and _root.nodosestados[56] == 2) {
} else {
_root.posicion = 56;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[55][0][0] - _root.posiciones[54][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[55][1][0] - _root.posiciones[54][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[55][0][0] - _root.posiciones2[54][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[55][1][0] - _root.posiciones2[54][1][0]) / 60;
}
} else {
if (Key.isDown(38)) {
if (_root.nodosestados[55] == 3 and _root.nodosestados[54] == 2) {
} else {
_root.posicion = 54;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[53][0][0] - _root.posiciones[54][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[53][1][0] - _root.posiciones[54][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[53][0][0] - _root.posiciones2[54][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[53][1][0] - _root.posiciones2[54][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 56) {
if (Key.isDown(39)) {
if (_root.nodosestados[56] == 3 and _root.nodosestados[55] == 2) {
} else {
_root.posicion = 55;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[54][0][0] - _root.posiciones[55][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[54][1][0] - _root.posiciones[55][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[54][0][0] - _root.posiciones2[55][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[54][1][0] - _root.posiciones2[55][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[56] == 3 and _root.nodosestados[57] == 2) {
} else {
_root.posicion = 57;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[56][0][0] - _root.posiciones[55][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[56][1][0] - _root.posiciones[55][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[56][0][0] - _root.posiciones2[55][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[56][1][0] - _root.posiciones2[55][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 57) {
if (Key.isDown(39)) {
if (_root.nodosestados[57] == 3 and _root.nodosestados[56] == 2) {
} else {
_root.posicion = 56;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[55][0][0] - _root.posiciones[56][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[55][1][0] - _root.posiciones[56][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[55][0][0] - _root.posiciones2[56][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[55][1][0] - _root.posiciones2[56][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[57] == 3 and _root.nodosestados[58] == 2) {
} else {
_root.posicion = 58;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[57][0][0] - _root.posiciones[56][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[57][1][0] - _root.posiciones[56][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[57][0][0] - _root.posiciones2[56][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[57][1][0] - _root.posiciones2[56][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 58) {
if (Key.isDown(39)) {
if (_root.nodosestados[58] == 3 and _root.nodosestados[57] == 2) {
} else {
_root.posicion = 57;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[56][0][0] - _root.posiciones[57][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[56][1][0] - _root.posiciones[57][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[56][0][0] - _root.posiciones2[57][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[56][1][0] - _root.posiciones2[57][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[58] == 3 and _root.nodosestados[59] == 2) {
} else {
_root.posicion = 59;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[58][0][0] - _root.posiciones[57][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[58][1][0] - _root.posiciones[57][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[58][0][0] - _root.posiciones2[57][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[58][1][0] - _root.posiciones2[57][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 59) {
if (Key.isDown(39)) {
if (_root.nodosestados[59] == 3 and _root.nodosestados[58] == 2) {
} else {
_root.posicion = 58;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[57][0][0] - _root.posiciones[58][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[57][1][0] - _root.posiciones[58][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[57][0][0] - _root.posiciones2[58][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[57][1][0] - _root.posiciones2[58][1][0]) / 60;
}
} else {
if (Key.isDown(38)) {
if (_root.nodosestados[59] == 3 and _root.nodosestados[60] == 2) {
} else {
_root.posicion = 60;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[59][0][0] - _root.posiciones[58][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[59][1][0] - _root.posiciones[58][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[59][0][0] - _root.posiciones2[58][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[59][1][0] - _root.posiciones2[58][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 69 and _root.llego1 == 1) {
_root.ira = 10;
_root.transin.play();
} else {
if (_root.posicion == 60) {
if (Key.isDown(40)) {
if (_root.nodosestados[60] == 3 and _root.nodosestados[59] == 2) {
} else {
_root.posicion = 59;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[58][0][0] - _root.posiciones[59][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[58][1][0] - _root.posiciones[59][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[58][0][0] - _root.posiciones2[59][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[58][1][0] - _root.posiciones2[59][1][0]) / 60;
}
} else {
if (Key.isDown(38)) {
if (_root.nodosestados[60] == 3 and _root.nodosestados[61] == 2) {
} else {
_root.posicion = 61;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[60][0][0] - _root.posiciones[59][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[60][1][0] - _root.posiciones[59][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[60][0][0] - _root.posiciones2[59][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[60][1][0] - _root.posiciones2[59][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 62) {
if (Key.isDown(39)) {
if (_root.nodosestados[62] == 3 and _root.nodosestados[61] == 2) {
} else {
_root.posicion = 61;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[60][0][0] - _root.posiciones[61][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[60][1][0] - _root.posiciones[61][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[60][0][0] - _root.posiciones2[61][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[60][1][0] - _root.posiciones2[61][1][0]) / 60;
}
}
} else {
if (_root.posicion == 63) {
if (Key.isDown(39)) {
if (_root.nodosestados[63] == 3 and _root.nodosestados[64] == 2) {
} else {
_root.posicion = 64;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[63][0][0] - _root.posiciones[62][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[63][1][0] - _root.posiciones[62][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[63][0][0] - _root.posiciones2[62][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[63][1][0] - _root.posiciones2[62][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[63] == 3 and _root.nodosestados[61] == 2) {
} else {
_root.posicion = 61;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[60][0][0] - _root.posiciones[62][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[60][1][0] - _root.posiciones[62][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[60][0][0] - _root.posiciones2[62][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[60][1][0] - _root.posiciones2[62][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 64) {
if (Key.isDown(39)) {
if (_root.nodosestados[64] == 3 and _root.nodosestados[65] == 2) {
} else {
_root.posicion = 65;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[64][0][0] - _root.posiciones[63][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[64][1][0] - _root.posiciones[63][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[64][0][0] - _root.posiciones2[63][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[64][1][0] - _root.posiciones2[63][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[64] == 3 and _root.nodosestados[63] == 2) {
} else {
_root.posicion = 63;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[62][0][0] - _root.posiciones[63][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[62][1][0] - _root.posiciones[63][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[62][0][0] - _root.posiciones2[63][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[62][1][0] - _root.posiciones2[63][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 66) {
if (Key.isDown(37)) {
if (_root.nodosestados[66] == 3 and _root.nodosestados[65] == 2) {
} else {
_root.posicion = 65;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[64][0][0] - _root.posiciones[65][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[64][1][0] - _root.posiciones[65][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[64][0][0] - _root.posiciones2[65][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[64][1][0] - _root.posiciones2[65][1][0]) / 60;
}
}
} else {
if (_root.posicion == 67) {
if (Key.isDown(39)) {
if (_root.nodosestados[67] == 3 and _root.nodosestados[65] == 2) {
} else {
_root.posicion = 65;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[64][0][0] - _root.posiciones[66][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[64][1][0] - _root.posiciones[66][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[64][0][0] - _root.posiciones2[66][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[64][1][0] - _root.posiciones2[66][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[67] == 3 and _root.nodosestados[68] == 2) {
} else {
_root.posicion = 68;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[67][0][0] - _root.posiciones[66][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[67][1][0] - _root.posiciones[66][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[67][0][0] - _root.posiciones2[66][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[67][1][0] - _root.posiciones2[66][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 68) {
if (Key.isDown(39)) {
if (_root.nodosestados[68] == 3 and _root.nodosestados[67] == 2) {
} else {
_root.posicion = 67;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[66][0][0] - _root.posiciones[67][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[66][1][0] - _root.posiciones[67][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[66][0][0] - _root.posiciones2[67][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[66][1][0] - _root.posiciones2[67][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[70] == 3 and _root.nodosestados[68] == 2) {
} else {
_root.posicion = 70;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[69][0][0] - _root.posiciones[67][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[69][1][0] - _root.posiciones[67][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[69][0][0] - _root.posiciones2[67][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[69][1][0] - _root.posiciones2[67][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 61) {
if (Key.isDown(39)) {
if (_root.nodosestados[61] == 3 and _root.nodosestados[63] == 2) {
} else {
_root.posicion = 63;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[62][0][0] - _root.posiciones[60][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[62][1][0] - _root.posiciones[60][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[62][0][0] - _root.posiciones2[60][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[62][1][0] - _root.posiciones2[60][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[61] == 3 and _root.nodosestados[62] == 2) {
} else {
_root.posicion = 62;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[61][0][0] - _root.posiciones[60][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[61][1][0] - _root.posiciones[60][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[61][0][0] - _root.posiciones2[60][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[61][1][0] - _root.posiciones2[60][1][0]) / 60;
}
} else {
if (Key.isDown(40)) {
if (_root.nodosestados[61] == 3 and _root.nodosestados[60] == 2) {
} else {
_root.posicion = 60;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[59][0][0] - _root.posiciones[60][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[59][1][0] - _root.posiciones[60][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[59][0][0] - _root.posiciones2[60][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[59][1][0] - _root.posiciones2[60][1][0]) / 60;
}
}
}
}
} else {
if (_root.posicion == 65) {
if (Key.isDown(39)) {
if (_root.nodosestados[65] == 3 and _root.nodosestados[66] == 2) {
} else {
_root.posicion = 66;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[64][0][0] - _root.posiciones[65][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[64][1][0] - _root.posiciones[65][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[64][0][0] - _root.posiciones2[65][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[64][1][0] - _root.posiciones2[65][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[65] == 3 and _root.nodosestados[67] == 2) {
} else {
_root.posicion = 67;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[66][0][0] - _root.posiciones[64][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[66][1][0] - _root.posiciones[64][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[66][0][0] - _root.posiciones2[64][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[66][1][0] - _root.posiciones2[64][1][0]) / 60;
}
} else {
if (Key.isDown(40)) {
if (_root.nodosestados[65] == 3 and _root.nodosestados[64] == 2) {
} else {
_root.posicion = 64;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[63][0][0] - _root.posiciones[64][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[63][1][0] - _root.posiciones[64][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[63][0][0] - _root.posiciones2[64][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[63][1][0] - _root.posiciones2[64][1][0]) / 60;
}
}
}
}
} else {
if (_root.posicion == 70 and _root.llego1 == 1) {
_root.ira = 12;
_root.transin.play();
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.llego1 == 0) {
_root.llego2 = 0;
}
} else {
if (_root.caminando == 1) {
posicionx = _root.posiciones[_root.posicion - 1][0][0];
posiciony = _root.posiciones[_root.posicion - 1][1][0];
if (this._x > posicionx) {
if (this._x - _root.velocidadchibix > posicionx) {
this._x -= _root.velocidadchibix;
} else {
this._x = posicionx;
}
} else {
if (this._x + _root.velocidadchibix < posicionx) {
this._x += _root.velocidadchibix;
} else {
this._x = posicionx;
}
}
if (this._y > posiciony) {
if (this._y - _root.velocidadchibiy > posiciony) {
this._y -= _root.velocidadchibiy;
} else {
this._y = posiciony;
}
} else {
if (this._y + _root.velocidadchibiy < posiciony) {
this._y += _root.velocidadchibiy;
} else {
this._y = posiciony;
}
}
if (this._x == posicionx and this._y == posiciony) {
_root.llego1 = 1;
if (_root.llego1 == 1 and _root.llego2 == 1) {
_root.caminando = 0;
_root.mostrandocartel = 2;
}
}
}
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 55 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(4);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 56 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(3);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 57 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(3);
_root.mostrarcartel = 4;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.pausadelaq < 0) {
_root.savee.play();
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 58 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(3);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 59 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(5);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 60 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(5);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 61 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(2);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 62 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(5);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 63 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(2);
_root.mostrarcartel = 4;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
_root.savee.play();
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 64 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(2);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 65 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(2);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 66 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(4);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 67 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(2);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 68 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(2);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance dialogo of movieClip 3708 {
onClipEvent (load) {
cargo = 0;
solto = 1;
}
onClipEvent (enterFrame) {
if (cargo == 0 and _root.dialogos > 0 and _root.tutorialejecutado == 2) {
play();
_root.negro.play();
_root.mostrametutorial = 99;
cargo = 1;
}
if (cargo == 1) {
if (_root.dialogos == 1) {
if (_root.player2 == 'Ridge') {
_root.dialogo.personaje.gotoAndStop(1);
} else {
if (_root.player2 == 'Vance') {
_root.dialogo.personaje.gotoAndStop(2);
} else {
if (_root.player2 == 'Nesyss') {
_root.dialogo.personaje.gotoAndStop(3);
} else {
if (_root.player2 == 'Cog') {
_root.dialogo.personaje.gotoAndStop(4);
} else {
if (_root.player2 == 'Tindra') {
_root.dialogo.personaje.gotoAndStop(5);
} else {
if (_root.player2 == 'Wyvern') {
_root.dialogo.personaje.gotoAndStop(6);
}
}
}
}
}
}
_root.dialogo.personaje.texto.gotoAndStop(8);
} else {
if (_root.dialogos == 2) {
_root.dialogo.personaje.texto.gotoAndStop(7);
} else {
cargo = 2;
_root.mostrametutorial = 0;
_root.negro.play();
gotoAndStop(1);
}
}
if (Key.isDown(81) and solto == 0) {
solto = 1;
_root.dialogos -= 1;
} else {
if (Key.isDown(81)) {
solto = 1;
} else {
solto = 0;
}
}
}
}
}
instance of movieClip 3733 {
onClipEvent (load) {
esta = 0;
pausa = 0;
}
onClipEvent (enterFrame) {
if (_root.nodosestados[75] == 4 or _root.nodosestados[75] == 5) {
gotoAndStop(esta + 2);
if (esta == 0) {
_root.warpactivado = 0;
if (pausa == 0) {
if (Key.isDown(87)) {
esta = 1;
pausa = 12;
}
} else {
pausa -= 1;
}
} else {
_root.warpactivado = 1;
if (pausa == 0) {
if (Key.isDown(40)) {
if (esta < 5) {
esta += 1;
pausa = 12;
}
} else {
if (Key.isDown(38)) {
if (esta > 1) {
esta -= 1;
pausa = 12;
}
} else {
if (Key.isDown(87)) {
esta = 0;
pausa = 12;
} else {
if (Key.isDown(81)) {
if (esta == 1) {
_root.ira = 6;
_root.posicion = 4;
_root.transin.play();
} else {
if (esta == 2) {
_root.ira = 9;
_root.posicion = 16;
_root.transin.play();
} else {
if (esta == 3) {
_root.ira = 10;
_root.posicion = 36;
_root.transin.play();
} else {
if (esta == 4) {
} else {
if (esta == 5) {
_root.ira = 12;
_root.posicion = 73;
_root.transin.play();
}
}
}
}
}
esta = 0;
pausa = 24;
}
}
}
}
} else {
pausa -= 1;
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3743 {
onClipEvent (enterFrame) {
if (_root.nodosestados[68] == 4 or _root.nodosestados[68] == 5) {
gotoAndStop(5);
} else {
gotoAndStop(1);
}
}
}
frame 12 {
_root.battle.stop();
if (_root.misiones[18] == 0) {
if (_root.nodosestados[74] == 4 or _root.nodosestados[74] == 5) {
if (_root.nodosestados[75] == 4 or _root.nodosestados[75] == 5) {
if (_root.nodosestados[76] == 4 or _root.nodosestados[76] == 5) {
if (_root.nodosestados[77] == 4 or _root.nodosestados[77] == 5) {
if (_root.nodosestados[78] == 4 or _root.nodosestados[78] == 5) {
if (_root.nodosestados[79] == 4 or _root.nodosestados[79] == 5) {
if (_root.nodosestados[80] == 4 or _root.nodosestados[80] == 5) {
if (_root.nodosestados[81] == 4 or _root.nodosestados[81] == 5) {
if (_root.nodosestados[83] == 4 or _root.nodosestados[83] == 5) {
if (_root.nodosestados[84] == 4 or _root.nodosestados[84] == 5) {
if (_root.nodosestados[85] == 4 or _root.nodosestados[85] == 5) {
if (_root.nodosestados[86] == 4 or _root.nodosestados[86] == 5) {
_root.misiones[18] = 1;
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.nodosestados[79] == 4 or _root.nodosestados[79] == 5) {
if (_root.nodosestados[84] == 4 or _root.nodosestados[84] == 5) {
_root.misiones[16] = 1;
}
}
if (_root.nodosestados[75] == 10 and _root.nodosestados[74] == 2) {
_root.dialogos = 2;
}
k = 0;
while (k < 500) {
removeMovieClip('snow' + k);
++k;
}
if (_root.resetearposicion == 1) {
_root.posicion = _root.recall;
_root.resetearposicion = 0;
}
_root.borrarnieve = 1;
_root.mapaestax = 1;
_root.caminando = 0;
_root.lugar = 1;
_root.llego1 = 1;
_root.llego2 = 1;
_root.velocidadchibix = 0;
_root.velocidadchibiy = 0;
_root.velocidadchibix2 = 0;
_root.velocidadchibiy2 = 0;
_root.mostrandocartel = 2;
_root.mostrarcartel = 0;
_root.pausadelaq = 24;
}
frame 12 {
_root.transout.gotoAndPlay(1);
_root.transin.gotoAndStop(1);
}
frame 12 {
_root.mapa.stop();
_root.primeromapa.stop();
_root.mainm.stop();
_root.finalmapa.play();
_root.battle.stop();
}
movieClip 4005 {
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[79]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[85]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[78]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[77]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[76]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[75]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[73]);
_root.nodosestados[54] = 1;
if (_root.posicion == 74 and _root.caminando == 0 and _root.nodosestados[74] == 2) {
_root.nodosestados[74] = 3;
} else {
if (_root.nodosestados[74] == 4 and _root.posicion == 74 and _root.caminando == 0) {
_root.nodosestados[74] = 5;
} else {
if (_root.posicion != 74) {
if (_root.nodosestados[74] == 4 or _root.nodosestados[74] == 5) {
_root.nodosestados[74] = 4;
} else {
_root.nodosestados[74] = 2;
}
}
}
}
if (_root.posicion == 76 and _root.caminando == 0 and _root.nodosestados[76] == 2) {
_root.nodosestados[76] = 3;
} else {
if (_root.nodosestados[76] == 4 and _root.posicion == 76 and _root.caminando == 0) {
_root.nodosestados[76] = 5;
} else {
if (_root.posicion != 76) {
if (_root.nodosestados[76] == 4 or _root.nodosestados[76] == 5) {
_root.nodosestados[76] = 4;
} else {
_root.nodosestados[76] = 2;
}
}
}
}
if (_root.posicion == 77 and _root.caminando == 0 and _root.nodosestados[77] == 2) {
_root.nodosestados[77] = 3;
} else {
if (_root.nodosestados[77] == 4 and _root.posicion == 77 and _root.caminando == 0) {
_root.nodosestados[77] = 5;
} else {
if (_root.posicion != 77) {
if (_root.nodosestados[77] == 4 or _root.nodosestados[77] == 5) {
_root.nodosestados[77] = 4;
} else {
_root.nodosestados[77] = 2;
}
}
}
}
if (_root.posicion == 78 and _root.caminando == 0 and _root.nodosestados[78] == 2) {
_root.nodosestados[78] = 3;
} else {
if (_root.nodosestados[78] == 4 and _root.posicion == 78 and _root.caminando == 0) {
_root.nodosestados[78] = 5;
} else {
if (_root.posicion != 78) {
if (_root.nodosestados[78] == 4 or _root.nodosestados[78] == 5) {
_root.nodosestados[78] = 4;
} else {
_root.nodosestados[78] = 2;
}
}
}
}
if (_root.posicion == 79 and _root.caminando == 0 and _root.nodosestados[79] == 2) {
_root.nodosestados[79] = 3;
} else {
if (_root.nodosestados[79] == 4 and _root.posicion == 79 and _root.caminando == 0) {
_root.nodosestados[79] = 5;
} else {
if (_root.posicion != 79) {
if (_root.nodosestados[79] == 4 or _root.nodosestados[79] == 5) {
_root.nodosestados[79] = 4;
} else {
_root.nodosestados[79] = 2;
}
}
}
}
if (_root.posicion == 80 and _root.caminando == 0 and _root.nodosestados[80] == 2) {
_root.nodosestados[80] = 3;
} else {
if (_root.nodosestados[80] == 4 and _root.posicion == 80 and _root.caminando == 0) {
_root.nodosestados[80] = 5;
} else {
if (_root.posicion != 80) {
if (_root.nodosestados[80] == 4 or _root.nodosestados[80] == 5) {
_root.nodosestados[80] = 4;
} else {
_root.nodosestados[80] = 2;
}
}
}
}
if (_root.posicion == 81 and _root.caminando == 0 and _root.nodosestados[81] == 2) {
_root.nodosestados[81] = 3;
} else {
if (_root.nodosestados[81] == 4 and _root.posicion == 81 and _root.caminando == 0) {
_root.nodosestados[81] = 5;
} else {
if (_root.posicion != 81) {
if (_root.nodosestados[81] == 4 or _root.nodosestados[81] == 5) {
_root.nodosestados[81] = 4;
} else {
_root.nodosestados[81] = 2;
}
}
}
}
if (_root.posicion == 83 and _root.caminando == 0 and _root.nodosestados[83] == 2) {
_root.nodosestados[83] = 3;
} else {
if (_root.nodosestados[83] == 4 and _root.posicion == 83 and _root.caminando == 0) {
_root.nodosestados[83] = 5;
} else {
if (_root.posicion != 83) {
if (_root.nodosestados[83] == 4 or _root.nodosestados[83] == 5) {
_root.nodosestados[83] = 4;
} else {
_root.nodosestados[83] = 2;
}
}
}
}
if (_root.posicion == 84 and _root.caminando == 0 and _root.nodosestados[84] == 2) {
_root.nodosestados[84] = 3;
} else {
if (_root.nodosestados[84] == 4 and _root.posicion == 84 and _root.caminando == 0) {
_root.nodosestados[84] = 5;
} else {
if (_root.posicion != 84) {
if (_root.nodosestados[84] == 4 or _root.nodosestados[84] == 5) {
_root.nodosestados[84] = 4;
} else {
_root.nodosestados[84] = 2;
}
}
}
}
if (_root.posicion == 85 and _root.caminando == 0 and _root.nodosestados[85] == 2) {
_root.nodosestados[85] = 3;
} else {
if (_root.nodosestados[85] == 4 and _root.posicion == 85 and _root.caminando == 0) {
_root.nodosestados[85] = 5;
} else {
if (_root.posicion != 85) {
if (_root.nodosestados[85] == 4 or _root.nodosestados[85] == 5) {
_root.nodosestados[85] = 4;
} else {
_root.nodosestados[85] = 2;
}
}
}
}
if (_root.posicion == 86 and _root.caminando == 0 and _root.nodosestados[86] == 2) {
_root.nodosestados[86] = 3;
} else {
if (_root.nodosestados[86] == 4 and _root.posicion == 86 and _root.caminando == 0) {
_root.nodosestados[86] = 5;
} else {
if (_root.posicion != 86) {
if (_root.nodosestados[86] == 4 or _root.nodosestados[86] == 5) {
_root.nodosestados[86] = 4;
} else {
_root.nodosestados[86] = 2;
}
}
}
}
if (_root.posicion == 75 and _root.caminando == 0 and _root.nodosestados[75] == 10) {
_root.nodosestados[75] = 11;
} else {
if (_root.nodosestados[75] == 4 and _root.posicion == 75 and _root.caminando == 0) {
_root.nodosestados[75] = 5;
} else {
if (_root.posicion != 75) {
if (_root.nodosestados[75] == 4 or _root.nodosestados[75] == 5) {
_root.nodosestados[75] = 4;
} else {
_root.nodosestados[75] = 10;
}
}
}
}
if (_root.posicion == 87 and _root.caminando == 0 and _root.nodosestados[87] == 6) {
_root.nodosestados[87] = 7;
} else {
if (_root.nodosestados[87] == 4 and _root.posicion == 87 and _root.caminando == 0) {
_root.nodosestados[87] = 5;
} else {
if (_root.posicion != 87) {
if (_root.nodosestados[87] == 4 or _root.nodosestados[87] == 5) {
_root.nodosestados[87] = 4;
} else {
_root.nodosestados[87] = 6;
}
}
}
}
if (_root.posicion == 82 and _root.caminando == 0) {
_root.nodosestados[82] = 9;
} else {
_root.nodosestados[82] = 8;
}
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[74]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[82]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[80]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[81]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[83]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[84]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[86]);
}
}
instance of movieClip 3461 {
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nodosestados[87]);
}
}
instance personaje2 of movieClip 3509 {
onClipEvent (load) {
var posicionx = 0;
var posiciony = 0;
var velocidadchibix = 0;
var velocidadchibiy = 0;
var mover = 0;
}
onClipEvent (enterFrame) {
if (mover == 0) {
mover = 1;
if (_root.posicion == 70) {
_root.posicion = 72;
}
if (_root.posicion != 54) {
this._x = _root.posiciones2[_root.posicion - 1][0][0];
this._y = _root.posiciones2[_root.posicion - 1][1][0];
}
}
velocidadchibix = _root.velocidadchibix2 * 60 / 54;
velocidadchibiy = _root.velocidadchibiy2 * 60 / 54;
if (_root.player2life < 1) {
gotoAndStop(7);
} else {
if (_root.player2 == 'Ridge') {
this.gotoAndStop(1);
} else {
if (_root.player2 == 'Vance') {
this.gotoAndStop(2);
} else {
if (_root.player2 == 'Nesyss') {
this.gotoAndStop(3);
} else {
if (_root.player2 == 'Wyvern') {
this.gotoAndStop(4);
} else {
if (_root.player2 == 'Cog') {
this.gotoAndStop(5);
} else {
if (_root.player2 == 'Tindra') {
this.gotoAndStop(6);
}
}
}
}
}
}
}
if (_root.caminando == 1) {
posicionx = _root.posiciones2[_root.posicion - 1][0][0];
posiciony = _root.posiciones2[_root.posicion - 1][1][0];
if (this._x > posicionx) {
if (this._x - velocidadchibix > posicionx) {
this._x -= velocidadchibix;
} else {
this._x = posicionx;
}
} else {
if (this._x + velocidadchibix < posicionx) {
this._x += velocidadchibix;
} else {
this._x = posicionx;
}
}
if (this._y > posiciony) {
if (this._y - velocidadchibiy > posiciony) {
this._y -= velocidadchibiy;
} else {
this._y = posiciony;
}
} else {
if (this._y + velocidadchibiy < posiciony) {
this._y += velocidadchibiy;
} else {
this._y = posiciony;
}
}
if (this._x == posicionx and this._y == posiciony) {
_root.llego2 = 1;
}
}
}
}
instance of movieClip 3513 {
onClipEvent (load) {
var posicionx = 0;
var posiciony = 0;
var mover = 0;
var saveo = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(81) and _root.mostrandocartel == 2 and _root.pausadelaq < 0) {
_root.mostrandocartel = 0;
_root.pausadelaq = 12;
}
_root.pausadelaq -= 1;
if (_root.posicion == 82 and _root.caminando == 0) {
_root.recall = _root.posicion;
if (saveo == 0) {
saveo = 1;
}
} else {
saveo = 0;
}
if (mover == 0) {
mover = 1;
if (_root.posicion == 70) {
_root.posicion = 72;
}
this._x = _root.posiciones[_root.posicion - 1][0][0];
this._y = _root.posiciones[_root.posicion - 1][1][0];
}
if (_root.caminando == 1) {
_root.mostrandocartel = 0;
}
if (_root.player1life < 1) {
gotoAndStop(7);
} else {
if (_root.player1 == 'Ridge') {
this.gotoAndStop(1);
} else {
if (_root.player1 == 'Vance') {
this.gotoAndStop(2);
} else {
if (_root.player1 == 'Nesyss') {
this.gotoAndStop(3);
} else {
if (_root.player1 == 'Wyvern') {
this.gotoAndStop(4);
} else {
if (_root.player1 == 'Cog') {
this.gotoAndStop(5);
} else {
if (_root.player1 == 'Tindra') {
this.gotoAndStop(6);
}
}
}
}
}
}
}
if (_root.caminando == 0 and _root.mostrandocartel != 1 and _root.warpactivado == 0) {
if (_root.posicion == 72) {
_root.posicion = 73;
_root.caminando = 1;
_root.llego1 = 0;
_root.llego2 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[72][0][0] - _root.posiciones[71][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[72][1][0] - _root.posiciones[71][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[72][0][0] - _root.posiciones2[71][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[72][1][0] - _root.posiciones2[71][1][0]) / 60;
} else {
if (_root.posicion == 73) {
if (Key.isDown(39)) {
if (_root.nodosestados[73] == 3 and _root.nodosestados[74] == 2) {
} else {
_root.posicion = 74;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[73][0][0] - _root.posiciones[72][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[73][1][0] - _root.posiciones[72][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[73][0][0] - _root.posiciones2[72][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[73][1][0] - _root.posiciones2[72][1][0]) / 60;
}
} else {
if (Key.isDown(38)) {
_root.posicion = 75;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[74][0][0] - _root.posiciones[72][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[74][1][0] - _root.posiciones[72][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[74][0][0] - _root.posiciones2[72][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[74][1][0] - _root.posiciones2[72][1][0]) / 60;
}
}
} else {
if (_root.posicion == 74) {
if (Key.isDown(37) or Key.isDown(40)) {
if (_root.nodosestados[74] == 3 and _root.nodosestados[73] == 2) {
} else {
_root.posicion = 73;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[72][0][0] - _root.posiciones[73][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[72][1][0] - _root.posiciones[73][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[72][0][0] - _root.posiciones2[73][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[72][1][0] - _root.posiciones2[73][1][0]) / 60;
}
}
} else {
if (_root.posicion == 75) {
if (Key.isDown(37)) {
if (_root.nodosestados[75] == 3 and _root.nodosestados[76] == 2) {
} else {
_root.posicion = 76;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[75][0][0] - _root.posiciones[74][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[75][1][0] - _root.posiciones[74][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[75][0][0] - _root.posiciones2[74][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[75][1][0] - _root.posiciones2[74][1][0]) / 60;
}
} else {
if (Key.isDown(38)) {
if (_root.nodosestados[75] == 3 and _root.nodosestados[82] == 2) {
} else {
_root.posicion = 82;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[81][0][0] - _root.posiciones[74][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[81][1][0] - _root.posiciones[74][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[81][0][0] - _root.posiciones2[74][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[81][1][0] - _root.posiciones2[74][1][0]) / 60;
}
} else {
if (Key.isDown(40)) {
if (_root.nodosestados[75] == 3 and _root.nodosestados[73] == 2) {
} else {
_root.posicion = 73;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[81][0][0] - _root.posiciones[72][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[81][1][0] - _root.posiciones[72][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[81][0][0] - _root.posiciones2[72][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[81][1][0] - _root.posiciones2[72][1][0]) / 60;
}
}
}
}
} else {
if (_root.posicion == 76) {
if (Key.isDown(39)) {
if (_root.nodosestados[76] == 3 and _root.nodosestados[75] == 2) {
} else {
_root.posicion = 75;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[74][0][0] - _root.posiciones[75][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[74][1][0] - _root.posiciones[75][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[74][0][0] - _root.posiciones2[75][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[74][1][0] - _root.posiciones2[75][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[76] == 3 and _root.nodosestados[77] == 2) {
} else {
_root.posicion = 77;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[76][0][0] - _root.posiciones[75][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[76][1][0] - _root.posiciones[75][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[76][0][0] - _root.posiciones2[75][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[76][1][0] - _root.posiciones2[75][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 77) {
if (Key.isDown(39)) {
if (_root.nodosestados[77] == 3 and _root.nodosestados[76] == 2) {
} else {
_root.posicion = 76;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[75][0][0] - _root.posiciones[76][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[75][1][0] - _root.posiciones[76][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[75][0][0] - _root.posiciones2[76][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[75][1][0] - _root.posiciones2[76][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[77] == 3 and _root.nodosestados[78] == 2) {
} else {
_root.posicion = 78;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[77][0][0] - _root.posiciones[76][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[77][1][0] - _root.posiciones[76][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[77][0][0] - _root.posiciones2[76][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[77][1][0] - _root.posiciones2[76][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 78) {
if (Key.isDown(39)) {
if (_root.nodosestados[78] == 3 and _root.nodosestados[77] == 2) {
} else {
_root.posicion = 77;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[76][0][0] - _root.posiciones[77][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[76][1][0] - _root.posiciones[77][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[76][0][0] - _root.posiciones2[77][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[76][1][0] - _root.posiciones2[77][1][0]) / 60;
}
} else {
if (Key.isDown(37)) {
if (_root.nodosestados[78] == 3 and _root.nodosestados[79] == 2) {
} else {
_root.posicion = 79;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[78][0][0] - _root.posiciones[77][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[78][1][0] - _root.posiciones[77][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[78][0][0] - _root.posiciones2[77][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[78][1][0] - _root.posiciones2[77][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 79) {
if (Key.isDown(39)) {
if (_root.nodosestados[79] == 3 and _root.nodosestados[78] == 2) {
} else {
_root.posicion = 78;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[77][0][0] - _root.posiciones[78][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[77][1][0] - _root.posiciones[78][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[77][0][0] - _root.posiciones2[78][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[77][1][0] - _root.posiciones2[78][1][0]) / 60;
}
}
} else {
if (_root.posicion == 80) {
if (Key.isDown(37)) {
if (_root.nodosestados[80] == 3 and _root.nodosestados[82] == 2) {
} else {
_root.posicion = 82;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[81][0][0] - _root.posiciones[79][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[81][1][0] - _root.posiciones[79][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[81][0][0] - _root.posiciones2[79][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[81][1][0] - _root.posiciones2[79][1][0]) / 60;
}
} else {
if (Key.isDown(39)) {
if (_root.nodosestados[80] == 3 and _root.nodosestados[81] == 2) {
} else {
_root.posicion = 81;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[80][0][0] - _root.posiciones[79][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[80][1][0] - _root.posiciones[79][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[80][0][0] - _root.posiciones2[79][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[80][1][0] - _root.posiciones2[79][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 81) {
if (Key.isDown(37)) {
if (_root.nodosestados[81] == 3 and _root.nodosestados[80] == 2) {
} else {
_root.posicion = 80;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[79][0][0] - _root.posiciones[80][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[79][1][0] - _root.posiciones[80][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[79][0][0] - _root.posiciones2[80][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[79][1][0] - _root.posiciones2[80][1][0]) / 60;
}
} else {
if (Key.isDown(39)) {
if (_root.nodosestados[81] == 3 and _root.nodosestados[83] == 2) {
} else {
_root.posicion = 83;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[82][0][0] - _root.posiciones[80][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[82][1][0] - _root.posiciones[80][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[82][0][0] - _root.posiciones2[80][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[82][1][0] - _root.posiciones2[80][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 82) {
if (Key.isDown(39)) {
if (_root.nodosestados[82] == 3 and _root.nodosestados[80] == 2) {
} else {
_root.posicion = 80;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[79][0][0] - _root.posiciones[81][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[79][1][0] - _root.posiciones[81][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[79][0][0] - _root.posiciones2[81][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[79][1][0] - _root.posiciones2[81][1][0]) / 60;
}
} else {
if (Key.isDown(40)) {
if (_root.nodosestados[82] == 3 and _root.nodosestados[75] == 2) {
} else {
_root.posicion = 75;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[74][0][0] - _root.posiciones[81][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[74][1][0] - _root.posiciones[81][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[74][0][0] - _root.posiciones2[81][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[74][1][0] - _root.posiciones2[81][1][0]) / 60;
}
} else {
if (Key.isDown(38)) {
if (_root.nodosestados[79] == 2 or _root.nodosestados[84] == 2) {
} else {
_root.posicion = 85;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[84][0][0] - _root.posiciones[81][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[84][1][0] - _root.posiciones[81][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[84][0][0] - _root.posiciones2[81][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[84][1][0] - _root.posiciones2[81][1][0]) / 60;
}
}
}
}
} else {
if (_root.posicion == 83) {
if (Key.isDown(38)) {
if (_root.nodosestados[83] == 3 and _root.nodosestados[84] == 2) {
} else {
_root.posicion = 84;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[83][0][0] - _root.posiciones[82][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[83][1][0] - _root.posiciones[82][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[83][0][0] - _root.posiciones2[82][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[83][1][0] - _root.posiciones2[82][1][0]) / 60;
}
} else {
if (Key.isDown(40)) {
if (_root.nodosestados[83] == 3 and _root.nodosestados[81] == 2) {
} else {
_root.posicion = 81;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[80][0][0] - _root.posiciones[82][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[80][1][0] - _root.posiciones[82][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[80][0][0] - _root.posiciones2[82][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[80][1][0] - _root.posiciones2[82][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 84) {
if (Key.isDown(40) or Key.isDown(39)) {
if (_root.nodosestados[84] == 3 and _root.nodosestados[83] == 2) {
} else {
_root.posicion = 83;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[82][0][0] - _root.posiciones[83][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[82][1][0] - _root.posiciones[83][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[82][0][0] - _root.posiciones2[83][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[82][1][0] - _root.posiciones2[83][1][0]) / 60;
}
}
} else {
if (_root.posicion == 85) {
if (Key.isDown(40)) {
if (_root.nodosestados[85] == 3 and _root.nodosestados[82] == 2) {
} else {
_root.posicion = 82;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[81][0][0] - _root.posiciones[84][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[81][1][0] - _root.posiciones[84][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[81][0][0] - _root.posiciones2[84][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[81][1][0] - _root.posiciones2[84][1][0]) / 60;
}
} else {
if (Key.isDown(38)) {
if (_root.nodosestados[85] == 3 and _root.nodosestados[86] == 2) {
} else {
_root.posicion = 86;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[85][0][0] - _root.posiciones[84][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[85][1][0] - _root.posiciones[84][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[85][0][0] - _root.posiciones2[84][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[85][1][0] - _root.posiciones2[84][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 86) {
if (Key.isDown(38) or Key.isDown(37)) {
if (_root.nodosestados[86] == 3 and _root.nodosestados[87] == 2) {
} else {
_root.posicion = 87;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[86][0][0] - _root.posiciones[85][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[86][1][0] - _root.posiciones[85][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[86][0][0] - _root.posiciones2[85][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[86][1][0] - _root.posiciones2[85][1][0]) / 60;
}
} else {
if (Key.isDown(40) or Key.isDown(39)) {
if (_root.nodosestados[86] == 3 and _root.nodosestados[85] == 2) {
} else {
_root.posicion = 85;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[84][0][0] - _root.posiciones[85][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[84][1][0] - _root.posiciones[85][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[84][0][0] - _root.posiciones2[85][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[84][1][0] - _root.posiciones2[85][1][0]) / 60;
}
}
}
} else {
if (_root.posicion == 87) {
if (Key.isDown(39) or Key.isDown(40)) {
if (_root.nodosestados[87] == 3 and _root.nodosestados[86] == 2) {
} else {
_root.posicion = 86;
_root.caminando = 1;
_root.llego1 = 0;
_root.velocidadchibix = Math.abs(_root.posiciones[85][0][0] - _root.posiciones[86][0][0]) / 48;
_root.velocidadchibiy = Math.abs(_root.posiciones[85][1][0] - _root.posiciones[86][1][0]) / 48;
_root.velocidadchibix2 = Math.abs(_root.posiciones2[85][0][0] - _root.posiciones2[86][0][0]) / 60;
_root.velocidadchibiy2 = Math.abs(_root.posiciones2[85][1][0] - _root.posiciones2[86][1][0]) / 60;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.llego1 == 0) {
_root.llego2 = 0;
}
} else {
if (_root.caminando == 1) {
posicionx = _root.posiciones[_root.posicion - 1][0][0];
posiciony = _root.posiciones[_root.posicion - 1][1][0];
if (this._x > posicionx) {
if (this._x - _root.velocidadchibix > posicionx) {
this._x -= _root.velocidadchibix;
} else {
this._x = posicionx;
}
} else {
if (this._x + _root.velocidadchibix < posicionx) {
this._x += _root.velocidadchibix;
} else {
this._x = posicionx;
}
}
if (this._y > posiciony) {
if (this._y - _root.velocidadchibiy > posiciony) {
this._y -= _root.velocidadchibiy;
} else {
this._y = posiciony;
}
} else {
if (this._y + _root.velocidadchibiy < posiciony) {
this._y += _root.velocidadchibiy;
} else {
this._y = posiciony;
}
}
if (this._x == posicionx and this._y == posiciony) {
_root.llego1 = 1;
if (_root.llego1 == 1 and _root.llego2 == 1) {
_root.caminando = 0;
_root.mostrandocartel = 2;
}
}
}
}
}
}
movieClip 4008 {
}
movieClip 4010 {
}
movieClip 4011 {
}
movieClip 4015 {
}
movieClip 4019 {
}
movieClip 4020 {
frame 1 {
stop();
}
}
instance of movieClip 4020 {
onClipEvent (enterFrame) {
if (_root.nodosestados[79] > 3) {
gotoAndStop(2);
}
}
}
movieClip 4024 {
}
movieClip 4025 {
frame 1 {
stop();
}
}
instance of movieClip 4025 {
onClipEvent (enterFrame) {
if (_root.nodosestados[84] > 3) {
gotoAndStop(2);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 74 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(4);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 76 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(4);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 77 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(3);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 78 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(3);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 79 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(5);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 80 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(4);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 81 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(4);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 83 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(4);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 84 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(4);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 85 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(2);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 86 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(2);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 87 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(5);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 82 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(4);
_root.mostrarcartel = 4;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
_root.savee.play();
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 3554 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.posicion == 75 and _root.caminando == 0 and _root.mostrandocartel < 2) {
_root.mostrandocartel = 1;
this.gotoAndStop(5);
_root.mostrarcartel = 1;
if (Key.isDown(81)) {
if (_root.pausadelaq < 0) {
if (_root.mapaestax == 1) {
_root.mostrandocartel = 2;
_root.ira = 4;
_root.peleain.play();
} else {
_root.pausadelaq = 12;
_root.mostrandocartel = 2;
}
}
} else {
if (Key.isDown(40) and _root.mapaestax == 1) {
_root.mapaestax = 2;
} else {
if (Key.isDown(38) and _root.mapaestax == 2) {
_root.mapaestax = 1;
}
}
}
} else {
gotoAndStop(1);
}
}
}
instance dialogo of movieClip 3708 {
onClipEvent (load) {
cargo = 0;
solto = 1;
}
onClipEvent (enterFrame) {
if (cargo == 0 and _root.dialogos > 0 and _root.tutorialejecutado == 2) {
play();
_root.negro.play();
_root.mostrametutorial = 99;
cargo = 1;
}
if (cargo == 1) {
if (_root.dialogos == 1) {
if (_root.player2 == 'Ridge') {
_root.dialogo.personaje.gotoAndStop(1);
} else {
if (_root.player2 == 'Vance') {
_root.dialogo.personaje.gotoAndStop(2);
} else {
if (_root.player2 == 'Nesyss') {
_root.dialogo.personaje.gotoAndStop(3);
} else {
if (_root.player2 == 'Cog') {
_root.dialogo.personaje.gotoAndStop(4);
} else {
if (_root.player2 == 'Tindra') {
_root.dialogo.personaje.gotoAndStop(5);
} else {
if (_root.player2 == 'Wyvern') {
_root.dialogo.personaje.gotoAndStop(6);
}
}
}
}
}
}
_root.dialogo.personaje.texto.gotoAndStop(10);
} else {
if (_root.dialogos == 2) {
_root.dialogo.personaje.texto.gotoAndStop(9);
} else {
cargo = 2;
_root.negro.play();
_root.mostrametutorial = 0;
gotoAndStop(1);
}
}
if (Key.isDown(81) and solto == 0) {
solto = 1;
_root.dialogos -= 1;
} else {
if (Key.isDown(81)) {
solto = 1;
} else {
solto = 0;
}
}
}
}
}
instance of movieClip 3733 {
onClipEvent (load) {
esta = 0;
pausa = 0;
}
onClipEvent (enterFrame) {
if (_root.nodosestados[75] == 4 or _root.nodosestados[75] == 5) {
gotoAndStop(esta + 2);
if (esta == 0) {
_root.warpactivado = 0;
if (pausa == 0) {
if (Key.isDown(87)) {
esta = 1;
pausa = 12;
}
} else {
pausa -= 1;
}
} else {
_root.warpactivado = 1;
if (pausa == 0) {
if (Key.isDown(40)) {
if (esta < 5) {
esta += 1;
pausa = 12;
}
} else {
if (Key.isDown(38)) {
if (esta > 1) {
esta -= 1;
pausa = 12;
}
} else {
if (Key.isDown(87)) {
esta = 0;
pausa = 12;
} else {
if (Key.isDown(81)) {
if (esta == 1) {
_root.ira = 6;
_root.posicion = 4;
_root.transin.play();
} else {
if (esta == 2) {
_root.ira = 9;
_root.posicion = 16;
_root.transin.play();
} else {
if (esta == 3) {
_root.ira = 10;
_root.posicion = 36;
_root.transin.play();
} else {
if (esta == 4) {
_root.ira = 11;
_root.posicion = 54;
_root.transin.play();
} else {
if (esta == 5) {
}
}
}
}
}
esta = 0;
pausa = 24;
}
}
}
}
} else {
pausa -= 1;
}
}
} else {
gotoAndStop(1);
}
}
}
frame 13 {
_root.transout.gotoAndPlay(1);
_root.transin.gotoAndStop(1);
}
movieClip 4029 {
}
movieClip 4031 {
}
movieClip 4033 {
}
movieClip 4035 {
}
movieClip 4036 {
}
movieClip 4038 {
}
movieClip 4040 {
}
movieClip 4044 {
}
movieClip 4047 {
}
movieClip 4048 {
}
movieClip 4050 {
}
movieClip 4052 {
}
movieClip 4054 {
}
movieClip 4056 {
}
movieClip 4058 {
}
movieClip 4060 {
}
movieClip 4062 {
}
movieClip 4064 {
}
movieClip 4066 {
}
movieClip 4068 {
}
movieClip 4069 {
frame 1611 {
stop();
_root.ira = 2;
_root.transin.play();
}
}
instance of movieClip 4069 {
onClipEvent (enterFrame) {
if (Key.isDown(81)) {
_root.ira = 2;
_root.transin.play();
}
}
}
frame 14 {
_root.transout.gotoAndPlay(1);
_root.transin.gotoAndStop(1);
stop();
}
movieClip 4071 {
}
movieClip 4072 {
}
movieClip 4074 {
}
movieClip 4076 {
}
movieClip 4079 {
}
movieClip 4080 {
}
movieClip 4083 {
}
movieClip 4086 {
}
movieClip 4100 {
}
movieClip 4103 {
}
movieClip 4104 {
}
movieClip 4105 {
}
movieClip 4106 {
}
movieClip 4111 {
}
movieClip 4118 {
}
movieClip 4128 {
}
movieClip 4136 {
}
movieClip 4140 {
}
movieClip 4150 {
}
movieClip 4157 {
}
movieClip 4166 {
}
movieClip 4175 {
}
movieClip 4181 {
}
movieClip 4185 {
}
movieClip 4192 {
}
movieClip 4199 {
}
movieClip 4205 {
}
movieClip 4210 {
}
movieClip 4214 {
}
movieClip 4216 {
}
movieClip 4224 {
}
movieClip 4233 {
}
movieClip 4240 {
}
movieClip 4247 {
}
movieClip 4254 {
}
movieClip 4259 {
}
movieClip 4269 {
}
movieClip 4271 {
frame 1642 {
stop();
_root.ira = 12;
_root.transin.play();
}
}
movieClip 4277 {
}
movieClip 4283 {
}
movieClip 4286 {
frame 1 {
_root.stop();
gotoAndPlay(2);
}
frame 225 {
_root.gotoAndStop(8);
}
}
button 4287 {
on (release) {
getURL('http://armor.ag/MoreGames', '_blank');
}
}