Frame 1
function doSomething() {
getURL ("http://www.maganicwars.com/forum", _blank);
}
function doSomething2() {
getURL ("http://www.maganicwars.com", _blank);
}
function doSomething3() {
getURL ("http://www.maganicwars.com/highscores.php", _blank);
}
qualityindex = 3;
condmia1 = false;
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("Suggestions/Help at our forum", doSomething);
Functioned2 = new ContextMenuItem("Visit our website", doSomething2);
Functioned3 = new ContextMenuItem("Check Top 1000 tables", doSomething3);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
MENU.customItems.push(Functioned3);
_root.menu = MENU;
Frame 2
vendedor.gotoAndPlay("cargando");
_level0.vendedor.setx = 120;
_level0.vendedor.sety = 120;
stop();
Frame 3
function createconnectionerror() {
_level0.attachMovie("connectionproblem", "connectionproblem", 0);
_level0.connectionproblem._x = 180;
_level0.connectionproblem._y = 130;
}
function createwindow(texto, sizex, sizey) {
_level0.attachMovie("window", "window", 0);
_level0.window.texto = texto;
_level0.window.fondo.square._width = sizex;
_level0.window.fondo.square._height = sizey - 10;
_level0.window.sizex = sizex;
_level0.window.sizey = sizey;
_level0.window._x = _xmouse - sizex;
_level0.window._y = _ymouse;
}
function createwindow2(texto) {
_level0.attachMovie("window2", "window2", 2);
_level0.window2.texto = texto;
_level0.window2._x = 100;
_level0.window2._y = 0;
}
function createbonuswindow(texto, bonus, p) {
_level0.attachMovie("bonuswindow", "bonuswindow", 0);
_level0.bonuswindow.texto = texto;
_level0.bonuswindow.bonus = bonus;
_level0.bonuswindow._x = 100;
_level0.bonuswindow._y = 130;
_level0.bonuswindow.clipfondo.gotoAndStop(p);
}
stop();
hfondo.play();
Frame 4
gotoAndStop ("menu");
Frame 9
nextFrame();
Frame 10
stop();
Frame 15
nextFrame();
Frame 16
stop();
Frame 17
prevFrame();
Frame 21
nextFrame();
Frame 22
stop();
Frame 23
gotoAndStop ("cheats");
Frame 26
nextFrame();
Frame 28
matchcardsused = 0;
matchdamagereceived = 0;
gotoAndStop ("shop");
Frame 33
if (_level0.level < _level0.maxlevel) {
_level0.level = _level0.level + 1;
}
if (_level0.level > _level0.maxlevel) {
_level0.level = _level0.maxlevel;
}
if (_level0.level < 0) {
_level0.level = 0;
}
if (_level0.level == 0) {
score = 0;
}
matchcardsused = 0;
matchdamagereceived = 0;
maxvida = 40 + (5 * _level0.level);
animplayer1 = animplayer;
if (_level0.axeofmight == 1) {
_level0.animplayer1.espada.gotoAndStop(8);
}
_level0.animplayer1.escudo._visible = false;
_level0.animplayer1trafo._visible = false;
_level0.animplayer._visible = true;
_level0.barma1._height = 0;
_level0.bescudo1._height = 0;
_level0.bveneno1._height = 0;
_level0.bcontra1._height = 0;
_level0.barma2._height = 0;
_level0.bescudo2._height = 0;
_level0.bveneno2._height = 0;
_level0.bcontra2._height = 0;
invisible = 0;
immunity = 0;
resurrect = 0;
Set("da\u00F1o", 0);
bless1aux = 0;
arma1aux = 0;
escudo1aux = 0;
contra1aux = 0;
parapeto1aux = 0;
runa1aux = 0;
ceguera1aux = 0;
maldicion1aux = 0;
veneno1aux = 0;
regenaux = 0;
multiplyaux = 1;
paraliza = 0;
cura = 0;
dispelo = 0;
dispels = 0;
curaveneno = 0;
vida1 = maxvida;
Set("da\u00F1o1", 0);
bless1 = 0;
arma1 = 0;
escudo1 = 0;
contra1 = 0;
parapeto1 = 0;
if (alltrafos == 0) {
runa1 = 0;
} else {
runa1 = 105;
}
ceguera1 = 0;
maldicion1 = 0;
veneno1 = 0;
regen1 = 0;
mult1 = 1;
paraliza1 = 0;
vida2 = maxvida;
Set("da\u00F1o2", 0);
bless2 = 0;
arma2 = 0;
escudo2 = 0;
contra2 = 0;
parapeto2 = 0;
runa2 = 0;
ceguera2 = 0;
maldicion2 = 0;
veneno2 = 0;
regen2 = 0;
mult2 = 1;
paraliza2 = 0;
numbar = -1;
carbueno = -1;
numcartas = 25 + _level0.maxlevel;
if (actualcards < numcartas) {
actualcards = 25 + level;
}
if (allcards == 1) {
actualcards = numcartas;
}
cmalo = -1;
destapa = -1;
trace("actualcards:" + actualcards);
turno = 0;
marma1.gotoAndStop(1);
ccontra1.gotoAndStop(1);
mmaldicion1.gotoAndStop(1);
mescudo1.gotoAndStop(1);
mataque1.gotoAndStop(1);
mveneno1.gotoAndStop(1);
mceguera1.gotoAndStop(1);
cruna1.gotoAndStop(1);
bruna1._width = 1;
marma2.gotoAndStop(1);
ccontra2.gotoAndStop(1);
mmaldicion2.gotoAndStop(1);
mescudo2.gotoAndStop(1);
mataque2.gotoAndStop(1);
mveneno2.gotoAndStop(1);
mceguera2.gotoAndStop(1);
cruna2.gotoAndStop(1);
bruna2._width = 1;
Frame 76
function barajacartas() {
_level0.flagbarajar = true;
_level0.gfxbaraja.gotoAndPlay(4);
i = 0;
while (i < _level0.numcartas) {
_level0.barajar[i] = -1;
i = i + 1;
}
i = 0;
while (i < _level0.actualcards) {
_level0.condicion = false;
while (_level0.condicion == false) {
rand = Math.floor(random((_level0.actualcards * 10) - 1) / 10);
_level0.condicion = true;
k = 0;
while (k < _level0.actualcards) {
if (_level0.barajar[k] == rand) {
_level0.condicion = false;
}
k = k + 1;
}
_level0.barajar[i] = rand;
}
i = i + 1;
}
_level0.cindice = _level0.actualcards - 1;
_level0.flagbarajar = false;
trace("HEMOS BARAJADO: cindice actual=" + _level0.cindice);
}
function calcularack() {
_level0.attachMovie("offline", "introducirrecord", 1);
introducirrecord._x = 207;
introducirrecord._y = 160;
}
function calcularpuntaje(_arg1, p) {
fact = ((p == 1) ? 1 : -1);
trace(((("calcularpuntaje(" + _arg1) + ",") + p) + ")");
if (_arg1 < 20) {
trace("da\u00F1o menor que 20");
bonus = (_arg1 * 5) * fact;
_level0.score = _level0.score + bonus;
trace((("level0.score=" + _level0.score) + "+") + bonus);
}
if ((_arg1 >= 20) && (_arg1 < 30)) {
bonus = ((_arg1 * 5) + 50) * fact;
_level0.score = _level0.score + bonus;
_level0.createbonuswindow("Great Hit", (_arg1 * 5) + "+50", p);
} else if ((_arg1 >= 30) && (_arg1 < 40)) {
bonus = ((_arg1 * 5) + 60) * fact;
_level0.score = _level0.score + bonus;
_level0.createbonuswindow("Outstanding Hit", (_arg1 * 5) + "+60", p);
} else if ((_arg1 >= 40) && (_arg1 < 60)) {
bonus = ((_arg1 * 5) + 70) * fact;
_level0.score = _level0.score + bonus;
_level0.createbonuswindow("Supreme Hit", (_arg1 * 5) + "+70", p);
} else if ((_arg1 >= 60) && (_arg1 < 70)) {
bonus = ((_arg1 * 5) + 85) * fact;
_level0.score = _level0.score + bonus;
_level0.createbonuswindow("Death Hit", (_arg1 * 5) + "+85", p);
} else if (_arg1 > 70) {
bonus = ((_arg1 * 5) + 100) * fact;
_level0.score = _level0.score + bonus;
_level0.createbonuswindow("Death Hit", (_arg1 * 5) + "+100", p);
}
}
function setabg() {
_level0.anclado.alfa = _level0.score;
_level0.anclado.beta = _level0.besthit;
_level0.anclado.gamma = Math.round(_level0.gametime / 1000);
_level0.calcularack();
}
function mirarcartas() {
_level0.cmalo1.gotoAndStop(2);
_level0.cmalo2.gotoAndStop(2);
_level0.cmalo3.gotoAndStop(2);
_level0.cmalo4.gotoAndStop(2);
_level0.cmalo5.gotoAndStop(2);
}
b1 = this.baraja1;
b2 = this.baraja2;
b3 = this.baraja3;
b4 = this.baraja4;
b5 = this.baraja5;
ba = this.barajaactiva;
bm = this.barajamalo;
matriz1 = new Array(b1.carta1, b1.carta2, b1.carta3, b1.carta4, b1.carta5, b1.carta6, b1.carta7, b1.carta8, b1.carta9, b1.carta10, b1.carta11, b1.carta12, b1.carta13, b1.carta14, b1.carta15, b1.carta16, b1.carta17, b1.carta18, b1.carta19, b1.carta20, b1.carta21, b1.carta22, b1.carta23, b1.carta24, b1.carta25, b1.carta26, b1.carta27, b1.carta28, b1.carta29, b1.carta30, b1.carta31, b1.carta32, b1.carta33, b1.carta34, b1.carta35, b1.carta36);
matriz2 = new Array(b2.carta1, b2.carta2, b2.carta3, b2.carta4, b2.carta5, b2.carta6, b2.carta7, b2.carta8, b2.carta9, b2.carta10, b2.carta11, b2.carta12, b2.carta13, b2.carta14, b2.carta15, b2.carta16, b2.carta17, b2.carta18, b2.carta19, b2.carta20, b2.carta21, b2.carta22, b2.carta23, b2.carta24, b2.carta25, b2.carta26, b2.carta27, b2.carta28, b2.carta29, b2.carta30, b2.carta31, b2.carta32, b2.carta33, b2.carta34, b2.carta35, b2.carta36);
matriz3 = new Array(b3.carta1, b3.carta2, b3.carta3, b3.carta4, b3.carta5, b3.carta6, b3.carta7, b3.carta8, b3.carta9, b3.carta10, b3.carta11, b3.carta12, b3.carta13, b3.carta14, b3.carta15, b3.carta16, b3.carta17, b3.carta18, b3.carta19, b3.carta20, b3.carta21, b3.carta22, b3.carta23, b3.carta24, b3.carta25, b3.carta26, b3.carta27, b3.carta28, b3.carta29, b3.carta30, b3.carta31, b3.carta32, b3.carta33, b3.carta34, b3.carta35, b3.carta36);
matriz4 = new Array(b4.carta1, b4.carta2, b4.carta3, b4.carta4, b4.carta5, b4.carta6, b4.carta7, b4.carta8, b4.carta9, b4.carta10, b4.carta11, b4.carta12, b4.carta13, b4.carta14, b4.carta15, b4.carta16, b4.carta17, b4.carta18, b4.carta19, b4.carta20, b4.carta21, b4.carta22, b4.carta23, b4.carta24, b4.carta25, b4.carta26, b4.carta27, b4.carta28, b4.carta29, b4.carta30, b4.carta31, b4.carta32, b4.carta33, b4.carta34, b4.carta35, b4.carta36);
matriz5 = new Array(b5.carta1, b5.carta2, b5.carta3, b5.carta4, b5.carta5, b5.carta6, b5.carta7, b5.carta8, b5.carta9, b5.carta10, b5.carta11, b5.carta12, b5.carta13, b5.carta14, b5.carta15, b5.carta16, b5.carta17, b5.carta18, b5.carta19, b5.carta20, b5.carta21, b5.carta22, b5.carta23, b5.carta24, b5.carta25, b5.carta26, b5.carta27, b5.carta28, b5.carta29, b5.carta30, b5.carta31, b5.carta32, b5.carta33, b5.carta34, b5.carta35, b5.carta36);
bactiva = new Array(ba.carta1, ba.carta2, ba.carta3, ba.carta4, ba.carta5, ba.carta6, ba.carta7, ba.carta8, ba.carta9, ba.carta10, ba.carta11, ba.carta12, ba.carta13, ba.carta14, ba.carta15, ba.carta16, ba.carta17, ba.carta18, ba.carta19, ba.carta20, ba.carta21, ba.carta22, ba.carta23, ba.carta24, ba.carta25, ba.carta26, ba.carta27, ba.carta28, ba.carta29, ba.carta30, ba.carta31, ba.carta32, ba.carta33, ba.carta34, ba.carta35, ba.carta36);
barmalo = new Array(bm.carta1, bm.carta2, bm.carta3, bm.carta4, bm.carta5, bm.carta6, bm.carta7, bm.carta8, bm.carta9, bm.carta10, bm.carta11, bm.carta12, bm.carta13, bm.carta14, bm.carta15, bm.carta16, bm.carta17, bm.carta18, bm.carta19, bm.carta20, bm.carta21, bm.carta22, bm.carta23, bm.carta24, bm.carta25, bm.carta26, bm.carta27, bm.carta28, bm.carta29, bm.carta30, bm.carta31, bm.carta32, bm.carta33, bm.carta34, bm.carta35, bm.carta36);
barajar = new Array(numcartas);
cindice = actualcards - 1;
barajacartas();
carmalo = new Array(cmalo1, cmalo2, cmalo3, cmalo4, cmalo5);
barajas = new Array(matriz1, matriz2, matriz3, matriz4, matriz5);
i = 0;
while (i < numcartas) {
bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < numcartas) {
barmalo[i]._visible = false;
i = i + 1;
}
bm._visible = false;
k = 0;
while (k < 5) {
i = 0;
while (i < numcartas) {
barajas[k][i]._visible = false;
i = i + 1;
}
visible = barajar[cindice];
cindice = cindice - 1;
barajas[k][visible]._visible = true;
k = k + 1;
}
cartasp2 = new Array(5);
k = 0;
while (k < 5) {
cartasp2[k] = barajar[cindice];
cindice = cindice - 1;
k = k + 1;
}
stop();
Frame 77
nextFrame();
Frame 78
stop();
Frame 79
gotoAndStop ("juego");
prevFrame();
Frame 82
stop();
Symbol 22 Button
on (release) {
_level0.gotoAndPlay("matchscores");
play();
}
Symbol 30 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 31 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.paraliza = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 9;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
}
Symbol 38 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 39 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 20;
_level0.paraliza = 0;
_level0.ceguera1aux = 1;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
}
Symbol 46 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 47 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 16;
_level0.paraliza = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 1;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
}
Symbol 55 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 56 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.paraliza = 10;
_level0.ceguera1aux = 0;
_level0.arma1aux = 10;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
}
Symbol 63 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 64 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 2;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 72 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 73 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 3;
_level0.paraliza = 0;
}
Symbol 81 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 82 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 6;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 6;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 6;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 89 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 90 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 35;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 97 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 98 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = -1;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 105 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 106 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 6;
_level0.escudo1aux = 0;
_level0.contra1aux = 3;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 117 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 118 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 1;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 125 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 126 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 9;
_level0.ceguera1aux = 0;
_level0.arma1aux = 5;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 9;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 134 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 135 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.curaveneno = 1;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 141 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 142 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 1;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 147 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 148 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 1;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 155 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 156 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 3;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 163 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 164 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 4;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 171 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 172 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 20;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 179 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 180 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 15;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 186 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 187 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 10;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 195 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 196 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 8;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 3;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 200 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 201 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 6;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 2;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 205 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 206 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 4;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 1;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 212 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 213 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 9;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 217 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 218 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 5;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 225 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 226 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 3;
_level0.contra1aux = 2;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 233 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 234 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 8;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 1;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 240 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 241 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 10;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 247 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 248 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 18;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 252 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 253 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 12;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 257 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 258 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 7;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 262 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 263 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 3;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 268 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 269 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 15;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 273 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 274 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 5;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 280 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 281 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 7;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 7;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 288 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 289 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 2;
_level0.escudo1aux = 0;
_level0.contra1aux = 0;
_level0.bless1aux = 0;
_level0.parapeto1aux = 0;
_level0.maldicion1aux = 0;
_level0.veneno1aux = 0;
_level0.runa1aux = 0;
_level0.cura = 5;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
}
Symbol 290 MovieClip Frame 1
k = 0;
stop();
Symbol 302 MovieClip Frame 1
stop();
Symbol 302 MovieClip Frame 7
stop();
Symbol 306 MovieClip Frame 1
stop();
Symbol 306 MovieClip Frame 9
gotoAndPlay ("bucle");
Symbol 314 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 6
stop();
Symbol 329 Button
on (release) {
this.gotoAndPlay("fin");
_level0.gotoAndStop("shop");
}
Symbol 331 Button
on (release) {
this.gotoAndPlay("fin");
_level0.level = 12;
_level0.setabg();
}
Symbol 334 Button
on (release) {
if (pressfin == false) {
if (_level0.level < 11) {
levelpoints = 300 + (_level0.level * levelstep);
} else {
levelpoints = 1000;
}
finish1 = true;
finish2 = true;
finish3 = true;
finish4 = true;
finish5 = true;
pressfin = true;
lifepoints = lifepoints + (auxvida * lifestep);
auxvida = 0;
cliplife.texto = Number(lifepoints);
cliplifeleft.play();
clipperfectlife.valor = this.perfectlife;
clipperfectlife.gotoAndStop(7);
if ((damagepoints - (damagereceived * damagestep)) >= 0) {
damagepoints = damagepoints - (damagereceived * damagestep);
damagereceived = 0;
} else {
damagereceived = 0;
damagepoints = 0;
}
clipdamage.texto = damagepoints;
clipdamagereceived.play();
if ((cardspoints - (cardsused * cardstep)) >= 0) {
cardspoints = cardspoints - (cardsused * cardstep);
cardsused = 0;
} else {
cardspoints = 0;
cardsused = 0;
}
clipcards.texto = cardspoints;
clipcardsused.play();
totalextra = (((cardspoints + damagepoints) + lifepoints) + levelpoints) + perfectlife;
cliptotalextra.texto = totalextra;
totalscore = _level0.score + totalextra;
_level0.score = totalscore;
cliptotalscore.texto.texto = totalscore;
cliptotalscore.play();
if (_level0.level == 11) {
this.finalstats._visible = true;
} else {
this.nextlevel._visible = true;
}
}
}
Symbol 338 MovieClip Frame 1
pressfin = false;
levelstep = 30;
lifestep = 5;
lifepoints = 0;
auxvida = _level0.vida1;
if (auxvida == _level0.maxvida) {
if (_level0.level <= 2) {
perfectlife = 300;
} else if ((_level0.level > 2) && (_level0.level <= 6)) {
perfectlife = 350;
} else {
perfectlife = 400;
}
} else {
perfectlife = 0;
}
life = 0;
finish1 = false;
damagestep = 5;
damagepoints = _level0.maxvida * 10;
damagereceived = _level0.matchdamagereceived;
trace("damagereceived:" + damagereceived);
finish2 = false;
aux = Math.floor((_level0.level + 1) / 6);
cardstep = 20 + (5 * aux);
cardspoints = 30 * (20 + (5 * aux));
cardsused = _level0.matchcardsused;
trace("cardsused:" + cardsused);
finish3 = false;
auxtotalextra = 0;
totalextra = 0;
finish4 = false;
auxtotalscore = 0;
totalscore = 0;
finish5 = false;
if (_level0.level == 11) {
this.gotoAndPlay("matchscores");
}
Symbol 338 MovieClip Frame 10
matriz1 = new Array(b1.carta1, b1.carta2, b1.carta3, b1.carta4, b1.carta5, b1.carta6, b1.carta7, b1.carta8, b1.carta9, b1.carta10, b1.carta11, b1.carta12, b1.carta13, b1.carta14, b1.carta15, b1.carta16, b1.carta17, b1.carta18, b1.carta19, b1.carta20, b1.carta21, b1.carta22, b1.carta23, b1.carta24, b1.carta25, b1.carta26, b1.carta27, b1.carta28, b1.carta29, b1.carta30, b1.carta31, b1.carta32, b1.carta33, b1.carta34, b1.carta35, b1.carta36);
i = 0;
while (i < _level0.numcartas) {
matriz1[i]._visible = false;
i = i + 1;
}
matriz1[_level0.actualcards]._visible = true;
stop();
Symbol 338 MovieClip Frame 16
botonmask.useHandCursor = false;
trace((((("lifepoints:" + (auxvida * lifestep)) + ", damagepoints:") + Number(damagepoints - (damagereceived * damagestep))) + ", cardspoints:") + Number(cardspoints - (cardsused * cardstep)));
if (finish4 == false) {
clipmyscore.texto = _level0.score;
}
if (_level0.level < 11) {
levelpoints = 300 + (_level0.level * levelstep);
} else {
levelpoints = 1000;
}
cliplevel.texto = levelpoints;
cliplife.texto = Number(lifepoints);
cliplifeleft.texto = auxvida;
clipdamage.texto = damagepoints;
clipdamagereceived.texto = damagereceived;
clipcards.texto = cardspoints;
clipcardsused.texto = cardsused;
this.nextlevel._visible = false;
this.finalstats._visible = false;
Symbol 338 MovieClip Frame 57
if (finish4 == false) {
clipmyscore.texto = _level0.score;
}
if (auxvida > 0) {
lifepoints = lifepoints + lifestep;
cliplife.texto = Number(lifepoints);
auxvida--;
cliplifeleft.texto = auxvida;
} else if ((auxvida == 0) && (finish1 == false)) {
cliplifeleft.play();
finish1 = true;
clipperfectlife.valor = this.perfectlife;
clipperfectlife.play();
}
if ((damagepoints >= 5) && (damagereceived > 0)) {
damagepoints = damagepoints - damagestep;
damagereceived--;
clipdamage.texto = damagepoints;
clipdamagereceived.texto = damagereceived;
} else if (((damagepoints >= 5) && (damagereceived == 0)) && (finish2 == false)) {
clipdamage.texto = damagepoints;
clipdamagereceived.play();
finish2 = true;
} else if (((damagepoints == 0) && (damagereceived >= 0)) && (finish2 == false)) {
damagepoints = 0;
clipdamage.texto = damagepoints;
clipdamagereceived.play();
finish2 = true;
} else if (finish2 == true) {
}
if ((cardspoints >= 5) && (cardsused > 0)) {
cardspoints = cardspoints - cardstep;
cardsused--;
clipcards.texto = cardspoints;
clipcardsused.texto = cardsused;
} else if (((cardspoints >= 5) && (cardsused == 0)) && (finish3 == false)) {
clipcards.texto = cardspoints;
clipcardsused.play();
finish3 = true;
} else if (((cardspoints == 0) && (cardsused >= 0)) && (finish3 == false)) {
finish3 = true;
cardspoints = 0;
clipcards.texto = cardspoints;
clipcardsused.play();
} else if (finish3 == true) {
}
if ((((finish1 == true) && (finish2 == true)) && (finish3 == true)) && (finish4 == false)) {
trace("calculando total extra points");
totalextra = (((cardspoints + damagepoints) + lifepoints) + levelpoints) + perfectlife;
if (auxtotalextra < totalextra) {
auxtotalextra = auxtotalextra + 50;
cliptotalextra.texto = auxtotalextra;
} else {
auxtotalextra = totalextra;
cliptotalextra.texto = auxtotalextra;
finish4 = true;
}
}
if (((((finish1 == true) && (finish2 == true)) && (finish3 == true)) && (finish4 == true)) && (finish5 == false)) {
trace("calculando total score");
totalscore = _level0.score + totalextra;
if (auxtotalscore < totalscore) {
auxtotalscore = auxtotalscore + 200;
cliptotalscore.texto.texto = auxtotalscore;
} else {
auxtotalscore = totalscore;
cliptotalscore.texto.texto = auxtotalscore;
_level0.score = auxtotalscore;
cliptotalscore.play();
finish5 = true;
pressfin = true;
if (_level0.level == 11) {
this.finalstats._visible = true;
} else {
this.nextlevel._visible = true;
}
}
}
Symbol 338 MovieClip Frame 58
gotoAndPlay ("bucle");
Symbol 338 MovieClip Frame 64
_level0.matchscores.removeMovieClip();
Symbol 339 MovieClip [matchscores] Frame 1
Symbol 339 MovieClip [matchscores] Frame 2
stop();
Symbol 350 Button
on (release) {
getURL ("http://www.maganicwars.com", "_blank");
}
Symbol 356 Button
on (release) {
this.gotoAndPlay("fin");
}
Symbol 360 MovieClip [offline] Frame 1
botonfondo.useHandCursor = false;
if (_level0.level == 12) {
trace("final stats desde introducirrecord");
_level0.gotoAndStop("finalstats");
_level0.introducirrecord.removeMovieClip();
} else {
play();
}
Symbol 360 MovieClip [offline] Frame 9
texto = "Congrats, you've entered one or more top 1000 tables";
score = _level0.score;
nombre = "";
stop();
Symbol 360 MovieClip [offline] Frame 16
if (_level0.level == 12) {
trace("final stats desde introducirrecord");
_level0.gotoAndStop("finalstats");
_level0.introducirrecord.removeMovieClip();
} else {
trace("menu stats desde introducirrecord");
_level0.gotoAndStop("menu");
_level0.introducirrecord.removeMovieClip();
}
Symbol 364 Button
on (release) {
auxc = nombre;
btnok._visible = false;
if (nombre != "") {
form_lv = new LoadVars();
form_lv.nombre = nombre;
form_lv.sendAndLoad("http://www.maganicwars.com/hasdf2.php", form_lv, "POST");
form_lv.onLoad = function () {
trace("LLEGO");
trace(this.estatus);
if (this.estatus == "ok") {
trace("REGISTRADO EN LOADVARS:" + this.registrado);
_level0.introducirrecord.registrado = Number(this.registrado);
_level0.introducirrecord.play();
} else {
_level0.createwindow2("Connection problem, please check your connection and try again");
_level0.introducirrecord.btnok._visible = true;
}
};
} else {
_level0.createwindow2("Please insert your name with a minimum of 1 character and a maximum of 16");
_level0.introducirrecord.btnok._visible = true;
}
}
Symbol 373 MovieClip Frame 1
email = "";
Symbol 375 Button
on (release) {
this.gotoAndStop("entername");
}
Symbol 379 Button
on (release) {
auxa = a;
auxb = b;
btnok._visible = false;
btnback._visible = false;
if ((superahighscore > 0) && (auxhigh == false)) {
this.gotoAndStop("highscore");
} else if ((superabesthit > 0) && (auxbest == false)) {
this.gotoAndPlay("besthit");
} else if (((superafastest > 0) && (_level0.level == 12)) && (auxfast == false)) {
this.gotoAndPlay("fastest");
}
}
Symbol 382 MovieClip [introducirrecord] Frame 1
auxbest = false;
auxfast = false;
auxhigh = false;
trace((((("superahighscores,superabesthit,superafastest:" + superahighscore) + ",") + superabesthit) + ",") + superafastest);
botonfondo.useHandCursor = false;
stop();
if (_level0.cheatsenabled == true) {
this.gotoAndStop("final2");
} else if (((superahighscore > 0) || (superabesthit > 0)) || ((superafastest > 0) && (_level0.level == 12))) {
play();
} else if (_level0.level == 12) {
trace("final stats desde introducirrecord");
_level0.gotoAndStop("finalstats");
_level0.introducirrecord.removeMovieClip();
} else {
trace("menu stats desde introducirrecord");
_level0.gotoAndStop("menu");
_level0.introducirrecord.removeMovieClip();
}
Symbol 382 MovieClip [introducirrecord] Frame 9
texto = "Congrats, you've entered one or more top 1000 tables";
nombre = "";
stop();
Symbol 382 MovieClip [introducirrecord] Frame 15
stop();
trace("REGISTRADO:" + this.registrado);
a = "";
if (this.registrado == 1) {
tregistered = "The name that you have introduced is already registered, please enter the valid password or go back and enter another name";
b._visible = false;
} else {
tregistered = "This is the first time that you enter your name, please enter a password to register it.";
b._visible = true;
}
Symbol 382 MovieClip [introducirrecord] Frame 16
stop();
if (this.registrado == 0) {
form_lv = new LoadVars();
form_lv.c = auxc;
form_lv.a = auxa;
form_lv.b = _level0.introducirrecord.b.b;
trace("form_lv:" + form_lv);
form_lv.sendAndLoad("http://www.maganicwars.com/ano7ge.php", form_lv, "POST");
form_lv.onLoad = function () {
trace("LLEGO");
trace(this.estatus);
if (this.estatus == "ok") {
_level0.introducirrecord.registrado = 1;
trace("ENVIO DE DATOS 1 hs CORRECTO");
_level0.anclado.auxr = this.d;
form_lv2 = new LoadVars();
form_lv2.c = _level0.introducirrecord.auxc;
form_lv2.a = _level0.introducirrecord.auxa;
form_lv2.f = 1;
_level.cambiodearray.ancla2 = this.ancla2;
form_lv2.b = _level0.anclado.calcularancla(1);
form_lv2.d = _level0.anclado.calcularancla(12);
form_lv2.e = _level0.anclado.calcularancla(13);
form_lv2.sendAndLoad("http://www.maganicwars.com/pano5m2.php", form_lv2, "POST");
form_lv2.onLoad = function () {
trace("LLEGO2");
trace(this.estatus);
if (this.estatus == "ok") {
_level0.introducirrecord.auxhigh = true;
_level0.createwindow2("You have been registered correctly at the Top 1000 HighScores Table at position " + _level0.introducirrecord.superahighscore, 2);
if (_level0.introducirrecord.superabesthit > 0) {
gotoAndPlay ("besthit");
} else if ((_level0.introducirrecord.superafastest > 0) && (_level0.level == 12)) {
gotoAndPlay ("fastest");
} else if (_level0.level == 12) {
trace("final stats desde introducirrecord");
_level0.gotoAndStop("finalstats");
_level0.introducirrecord.gotoAndPlay("fin");
} else {
trace("menu stats desde introducirrecord");
_level0.gotoAndStop("menu");
_level0.introducirrecord.gotoAndPlay("fin");
}
} else {
_level0.createwindow2("Connection problem, check your connection and try again please");
_level0.introducirrecord.btnback._visible = true;
_level0.introducirrecord.btnok._visible = true;
}
};
} else {
_level0.createwindow2("Connection problem, check your connection and try again please");
_level0.introducirrecord.btnback._visible = true;
_level0.introducirrecord.btnok._visible = true;
}
};
} else {
form_lv = new LoadVars();
form_lv.b = auxc;
form_lv.a = auxa;
form_lv.sendAndLoad("http://www.maganicwars.com/pje2m.php", form_lv, "POST");
form_lv.onLoad = function () {
trace("LLEGO");
trace(this.estatus);
if (this.estatus == "ok") {
if (this.d == 1) {
trace("ENVIO DE DATOS 2 hs CORRECTO");
_level0.anclado.auxr = this.c;
form_lv2 = new LoadVars();
form_lv2.c = _level0.introducirrecord.auxc;
form_lv2.a = _level0.introducirrecord.auxa;
form_lv2.f = 1;
_level.cambiodearray.ancla2 = this.ancla2;
form_lv2.b = _level0.anclado.calcularancla(1);
form_lv2.d = _level0.anclado.calcularancla(12);
form_lv2.e = _level0.anclado.calcularancla(13);
form_lv2.sendAndLoad("http://www.maganicwars.com/pano5m2.php", form_lv2, "POST");
form_lv2.onLoad = function () {
trace("LLEGO2");
trace(this.estatus);
if (this.estatus == "ok") {
_level0.introducirrecord.auxhigh = true;
_level0.createwindow2("You have been registered correctly at the Top 1000 HighScores Table at position " + _level0.introducirrecord.superahighscore, 2);
if (_level0.introducirrecord.superabesthit > 0) {
_level0.introducirrecord.gotoAndPlay("besthit");
} else if ((_level0.introducirrecord.superafastest > 0) && (_level0.level == 12)) {
_level0.introducirrecord.gotoAndPlay("fastest");
} else if (_level0.level == 12) {
trace("final stats desde introducirrecord");
_level0.gotoAndStop("finalstats");
_level0.introducirrecord.gotoAndPlay("fin");
} else {
trace("menu stats desde introducirrecord");
_level0.gotoAndStop("menu");
_level0.introducirrecord.gotoAndPlay("fin");
}
} else {
_level0.createwindow2("Connection problem, check your connection and try again please");
_level0.introducirrecord.btnback._visible = true;
_level0.introducirrecord.btnok._visible = true;
}
};
} else {
trace("El password introducido no es correcto");
password = "Invalid Password";
_level0.createwindow2("INVALID PASSWORD, please check the name or the password you entered");
_level0.introducirrecord.btnback._visible = true;
_level0.introducirrecord.btnok._visible = true;
}
} else {
_level0.createwindow2("Connection problem, check your connection and try again please");
_level0.introducirrecord.btnback._visible = true;
_level0.introducirrecord.btnok._visible = true;
}
};
}
Symbol 382 MovieClip [introducirrecord] Frame 73
stop();
if (this.registrado == 0) {
form_lv = new LoadVars();
form_lv.c = auxc;
form_lv.a = auxa;
form_lv.b = _level0.introducirrecord.b.b;
trace("form_lv:" + form_lv);
form_lv.sendAndLoad("http://www.maganicwars.com/ano7ge.php", form_lv, "POST");
form_lv.onLoad = function () {
trace("LLEGO");
trace(this.estatus);
if (this.estatus == "ok") {
_level0.introducirrecord.registrado = 1;
trace("ENVIO DE DATOS 1 hs CORRECTO");
_level0.anclado.auxr = this.d;
form_lv2 = new LoadVars();
form_lv2.c = _level0.introducirrecord.auxc;
form_lv2.a = _level0.introducirrecord.auxa;
form_lv2.f = 2;
_level.cambiodearray.ancla2 = this.ancla2;
form_lv2.b = _level0.anclado.calcularancla(2);
form_lv2.d = _level0.anclado.calcularancla(22);
form_lv2.e = _level0.anclado.calcularancla(23);
form_lv2.sendAndLoad("http://www.maganicwars.com/pano5m2.php", form_lv2, "POST");
form_lv2.onLoad = function () {
trace("LLEGO2");
trace(this.estatus);
if (this.estatus == "ok") {
_level0.introducirrecord.auxbest = true;
_level0.createwindow2("You have been registered correctly at the Top 1000 Besthits Table at position " + _level0.introducirrecord.superabesthit, 3);
if ((_level0.introducirrecord.superafastest > 0) && (_level0.level == 12)) {
_level0.introducirrecord.gotoAndPlay("fastest");
} else if (_level0.level == 12) {
trace("final stats desde introducirrecord");
_level0.gotoAndStop("finalstats");
_level0.introducirrecord.gotoAndPlay("fin");
} else {
trace("menu stats desde introducirrecord");
_level0.gotoAndStop("menu");
_level0.introducirrecord.gotoAndPlay("fin");
}
} else {
_level0.createwindow2("Connection problem, check your connection and try again please");
_level0.introducirrecord.btnback._visible = true;
_level0.introducirrecord.btnok._visible = true;
}
};
} else {
_level0.createwindow2("Connection problem, check your connection and try again please");
_level0.introducirrecord.btnback._visible = true;
_level0.introducirrecord.btnok._visible = true;
}
};
} else {
form_lv = new LoadVars();
form_lv.b = auxc;
form_lv.a = auxa;
form_lv.sendAndLoad("http://www.maganicwars.com/pje2m.php", form_lv, "POST");
form_lv.onLoad = function () {
trace("LLEGO");
trace(this.estatus);
if (this.estatus == "ok") {
if (this.d == 1) {
trace("ENVIO DE DATOS 2 hs CORRECTO");
_level0.anclado.auxr = this.c;
form_lv2 = new LoadVars();
form_lv2.c = _level0.introducirrecord.auxc;
form_lv2.a = _level0.introducirrecord.auxa;
form_lv2.f = 2;
_level.cambiodearray.ancla2 = this.ancla2;
form_lv2.b = _level0.anclado.calcularancla(2);
form_lv2.d = _level0.anclado.calcularancla(22);
form_lv2.e = _level0.anclado.calcularancla(23);
form_lv2.sendAndLoad("http://www.maganicwars.com/pano5m2.php", form_lv2, "POST");
form_lv2.onLoad = function () {
trace("LLEGO2");
trace(this.estatus);
if (this.estatus == "ok") {
_level0.introducirrecord.auxbest = true;
_level0.createwindow2("You have been registered correctly at the Top 1000 Besthits Table at position " + _level0.introducirrecord.superabesthit, 3);
if ((superafastest > 0) && (_level0.level == 12)) {
_level0.introducirrecord.gotoAndPlay("fastest");
} else if (_level0.level == 12) {
trace("final stats desde introducirrecord");
_level0.gotoAndStop("finalstats");
_level0.introducirrecord.gotoAndPlay("fin");
} else {
trace("menu stats desde introducirrecord");
_level0.gotoAndStop("menu");
_level0.introducirrecord.gotoAndPlay("fin");
}
} else {
_level0.createwindow2("Connection problem, check your connection and try again please");
_level0.introducirrecord.btnback._visible = true;
_level0.introducirrecord.btnok._visible = true;
}
};
} else {
trace("El password introducido no es correcto");
password = "Invalid Password";
_level0.createwindow2("INVALID PASSWORD, please check the name or the password you entered");
_level0.introducirrecord.btnback._visible = true;
_level0.introducirrecord.btnok._visible = true;
}
} else {
_level0.createwindow2("Connection problem, check your connection and try again please");
_level0.introducirrecord.btnback._visible = true;
_level0.introducirrecord.btnok._visible = true;
}
};
}
Symbol 382 MovieClip [introducirrecord] Frame 133
stop();
if (this.registrado == 0) {
trace("introduciendo record de tiempo con nombre no registrado");
form_lv = new LoadVars();
form_lv.c = auxc;
form_lv.a = auxa;
form_lv.b = _level0.introducirrecord.b.b;
trace("form_lv:" + form_lv);
form_lv.sendAndLoad("http://www.maganicwars.com/ano7ge.php", form_lv, "POST");
form_lv.onLoad = function () {
trace("LLEGO");
trace(this.estatus);
if (this.estatus == "ok") {
_level0.introducirrecord.registrado = 1;
trace("ENVIO DE DATOS 1 hs CORRECTO");
_level0.anclado.auxr = this.d;
form_lv2 = new LoadVars();
form_lv2.c = _level0.introducirrecord.auxc;
form_lv2.a = _level0.introducirrecord.auxa;
form_lv2.f = 3;
_level.cambiodearray.ancla2 = this.ancla2;
form_lv2.b = _level0.anclado.calcularancla(3);
form_lv2.d = _level0.anclado.calcularancla(32);
form_lv2.e = _level0.anclado.calcularancla(33);
form_lv2.sendAndLoad("http://www.maganicwars.com/pano5m2.php", form_lv2, "POST");
form_lv2.onLoad = function () {
trace("LLEGO2");
trace(this.estatus);
if (this.estatus == "ok") {
_level0.introducirrecord.auxfast = true;
_level0.createwindow2("You have been registered correctly at the Top 1000 Fastest Winners Table at position " + _level0.introducirrecord.superafastest, 4);
if (_level0.level == 12) {
trace("final stats desde introducirrecord");
_level0.gotoAndStop("finalstats");
_level0.introducirrecord.gotoAndPlay("fin");
} else {
trace("menu stats desde introducirrecord");
_level0.gotoAndStop("menu");
_level0.introducirrecord.gotoAndPlay("fin");
}
} else {
_level0.createwindow2("Connection problem, check your connection and try again please");
_level0.introducirrecord.btnback._visible = true;
_level0.introducirrecord.btnok._visible = true;
}
};
} else {
_level0.createwindow2("Connection problem, check your connection and try again please");
_level0.introducirrecord.btnback._visible = true;
_level0.introducirrecord.btnok._visible = true;
}
};
} else {
trace("introduciendo record de tiempo con nombre registrado");
form_lv = new LoadVars();
form_lv.b = auxc;
form_lv.a = auxa;
form_lv.sendAndLoad("http://www.maganicwars.com/pje2m.php", form_lv, "POST");
form_lv.onLoad = function () {
trace("LLEGO");
trace(this.estatus);
if (this.estatus == "ok") {
if (this.d == 1) {
trace("ENVIO DE DATOS 2 hs CORRECTO");
_level0.anclado.auxr = this.c;
form_lv2 = new LoadVars();
form_lv2.c = _level0.introducirrecord.auxc;
form_lv2.a = _level0.introducirrecord.auxa;
form_lv2.f = 3;
_level.cambiodearray.ancla2 = this.ancla2;
form_lv2.b = _level0.anclado.calcularancla(3);
form_lv2.d = _level0.anclado.calcularancla(32);
form_lv2.e = _level0.anclado.calcularancla(33);
form_lv2.sendAndLoad("http://www.maganicwars.com/pano5m2.php", form_lv2, "POST");
form_lv2.onLoad = function () {
trace("LLEGO2");
trace(this.estatus);
if (this.estatus == "ok") {
_level0.introducirrecord.auxfast = true;
_level0.createwindow2("You have been registered correctly at the Top 1000 Fastest Winners Table at position " + _level0.introducirrecord.superafastest, 4);
if (_level0.level == 12) {
trace("final stats desde introducirrecord");
_level0.gotoAndStop("finalstats");
_level0.introducirrecord.gotoAndPlay("fin");
} else {
trace("menu stats desde introducirrecord");
_level0.gotoAndStop("menu");
_level0.introducirrecord.gotoAndPlay("fin");
}
} else {
_level0.createwindow2("Connection problem, check your connection and try again please");
_level0.introducirrecord.btnback._visible = true;
_level0.introducirrecord.btnok._visible = true;
}
};
} else {
trace("El password introducido no es correcto");
password = "Invalid Password";
_level0.createwindow2("INVALID PASSWORD, please check the name or the password you entered");
_level0.introducirrecord.btnback._visible = true;
_level0.introducirrecord.btnok._visible = true;
}
} else {
_level0.createwindow2("Connection problem, check your connection and try again please");
_level0.introducirrecord.btnback._visible = true;
_level0.introducirrecord.btnok._visible = true;
}
};
}
Symbol 382 MovieClip [introducirrecord] Frame 140
if (_level0.level == 12) {
trace("final stats desde introducirrecord");
_level0.gotoAndStop("finalstats");
_level0.introducirrecord.removeMovieClip();
} else {
trace("menu stats desde introducirrecord");
_level0.gotoAndStop("menu");
_level0.introducirrecord.removeMovieClip();
}
Symbol 386 Button
on (release) {
_level0.gotoAndStop("menu");
this.gotoAndPlay("fin");
}
Symbol 395 Button
on (release) {
_level0.level = -1;
_level0.score = 0;
_level0.besthit = 0;
_level0.gametimeoffset = getTimer();
_level0.gotoAndPlay("game");
this.gotoAndPlay("fin");
}
Symbol 399 MovieClip [playerpierde] Frame 52
gotoAndPlay (10);
Symbol 399 MovieClip [playerpierde] Frame 57
this.removeMovieClip();
Symbol 408 MovieClip [bonuswindow] Frame 1
cuadrotexto.texto = this.texto;
Symbol 408 MovieClip [bonuswindow] Frame 34
cuadrotexto.texto = this.bonus;
Symbol 408 MovieClip [bonuswindow] Frame 65
_level0.bonuswindow.removeMovieClip();
Symbol 412 Button
on (release) {
this.play();
}
Symbol 416 MovieClip [window2] Frame 4
stop();
cuadrotexto._width = sizex - 20;
cuadrotexto._x = 10;
cuadrotexto._y = 10;
cuadrotexto._height = sizey - 20;
Symbol 416 MovieClip [window2] Frame 7
_level0.window2.removeMovieClip();
Symbol 418 MovieClip [window] Frame 4
stop();
Symbol 418 MovieClip [window] Frame 7
_level0.window.removeMovieClip();
Symbol 419 Button
on (release) {
_level0.calcularack();
this.play();
}
Symbol 421 MovieClip [connectionproblem] Frame 4
stop();
Symbol 421 MovieClip [connectionproblem] Frame 7
_level0.connectionproblem.removeMovieClip();
Symbol 427 Button
on (release) {
_level0.createwindow2("You can find full highscores, besthit and fastest winner top 100 tables at www.maganicwars.com");
}
Symbol 430 Button
on (release) {
_level0.gotoAndStop("menu");
this.play();
}
Symbol 449 MovieClip [top15] Frame 7
this.form_lv = new LoadVars();
this.form_lv.load("http://www.maganicwars.com/ags.php");
this.form_lv.onLoad = function () {
trace("LLEGO");
trace(this.estatus);
if (this.estatus == "ok") {
i = 1;
while (i < 16) {
trace((((((("nombre" + i) + ":") + this["nombre" + i]) + "/ record") + i) + ":") + this["record" + i]);
_level0.top15["entrada" + i].nombre = this["nombre" + i];
_level0.top15["entrada" + i].record = this["record" + i];
i++;
}
} else {
_level0.createwindow2("Connection problem, please check your connection and try again");
_level0.gotoAndStop("menu");
_level0.top15.play();
}
};
stop();
Symbol 449 MovieClip [top15] Frame 13
this.removeMovieClip();
Symbol 450 MovieClip [com65] Frame 1
function setmodule(i) {
_level0.createEmptyMovieClip("vacio" + i, 1);
_level0["vacio" + i].loadMovie("module" + i);
_level0["vacio" + i]._x = -800 - (50 * i);
trace(_level0["vacio" + i]);
}
setmodule(1);
Symbol 465 MovieClip Frame 20
this._parent.rayos2.play();
Symbol 470 MovieClip Frame 1
stop();
Symbol 470 MovieClip Frame 20
this._parent.rayos3.play();
Symbol 474 MovieClip Frame 1
stop();
Symbol 475 MovieClip Frame 1
rayos1._rotation = random(360);
Symbol 475 MovieClip Frame 2
rayos2._rotation = random(360);
Symbol 475 MovieClip Frame 3
rayos3._rotation = random(360);
Symbol 483 MovieClip Frame 49
gotoAndPlay ("reposo");
Symbol 483 MovieClip Frame 50
Symbol 483 MovieClip Frame 69
gotoAndPlay ("cargando");
Symbol 483 MovieClip Frame 70
_level0.vacio1._x = -800;
Symbol 483 MovieClip Frame 85
_level0.play();
Symbol 497 MovieClip Frame 1
_level0.fat = _level0.getBytesTotal();
total = ("Total size: " + Math.round(_level0.fat / 1024)) + " kbytes";
lcarga.mask._width = 1;
escalar = 0;
Symbol 497 MovieClip Frame 4
bytes = ("Loaded: " + Math.round(_level0.getBytesLoaded() / 1024)) + " kbytes";
barra._width = (_level0.getBytesLoaded() / total) * 0.2;
relacion = _level0.getBytesLoaded() / _level0.getBytesTotal();
_level0.vendedor.energia._xscale = ((relacion * relacion) * Math.sqrt(relacion)) * 100;
_level0.vendedor.energia._yscale = ((relacion * relacion) * Math.sqrt(relacion)) * 100;
porc = Math.round((Math.round(_level0.getBytesLoaded() / 1024) / Math.round(_level0.getBytesTotal() / 1024)) * 100) + " %";
lcarga.mask._width = relacion * 490;
Symbol 497 MovieClip Frame 7
bytes = ("Loaded: " + Math.round(_level0.getBytesLoaded() / 1024)) + " kbytes";
barra._width = (_level0.getBytesLoaded() / total) * 0.2;
relacion = _level0.getBytesLoaded() / _level0.getBytesTotal();
_level0.vendedor.energia._xscale = ((relacion * relacion) * Math.sqrt(relacion)) * 100;
_level0.vendedor.energia._yscale = ((relacion * relacion) * Math.sqrt(relacion)) * 100;
porc = Math.round((Math.round(_level0.getBytesLoaded() / 1024) / Math.round(_level0.getBytesTotal() / 1024)) * 100) + " %";
lcarga.mask._width = relacion * 490;
Symbol 497 MovieClip Frame 10
bytes = ("Loaded: " + Math.round(_level0.getBytesLoaded() / 1024)) + " kbytes";
barra._width = (_level0.getBytesLoaded() / total) * 0.2;
relacion = _level0.getBytesLoaded() / _level0.getBytesTotal();
_level0.vendedor.energia._xscale = ((relacion * relacion) * Math.sqrt(relacion)) * 100;
_level0.vendedor.energia._yscale = ((relacion * relacion) * Math.sqrt(relacion)) * 100;
porc = Math.round((Math.round(_level0.getBytesLoaded() / 1024) / Math.round(_level0.getBytesTotal() / 1024)) * 100) + " %";
lcarga.mask._width = relacion * 490;
Symbol 497 MovieClip Frame 13
bytes = ("Loaded: " + Math.round(_level0.getBytesLoaded() / 1024)) + " kbytes";
barra._width = (_level0.getBytesLoaded() / total) * 0.2;
relacion = _level0.getBytesLoaded() / _level0.getBytesTotal();
_level0.vendedor.energia._xscale = ((relacion * relacion) * Math.sqrt(relacion)) * 100;
_level0.vendedor.energia._yscale = ((relacion * relacion) * Math.sqrt(relacion)) * 100;
porc = Math.round((Math.round(_level0.getBytesLoaded() / 1024) / Math.round(_level0.getBytesTotal() / 1024)) * 100) + " %";
lcarga.mask._width = relacion * 490;
Symbol 497 MovieClip Frame 15
bytes = Math.round(_level0.getBytesLoaded() / 1024);
if (bytes == Math.round(_level0.getBytesTotal() / 1024)) {
bytes = ("Loaded: " + Math.round(_level0.getBytesLoaded() / 1024)) + " kbytes";
_level0.vendedor.gotoAndPlay("fincarga");
stop();
} else {
gotoAndPlay (4);
}
Symbol 507 MovieClip Frame 8
stop();
Symbol 510 Button
on (release) {
_level0.gametimeoffset = getTimer();
_level0.gametime = getTimer() - _level0.gametimeoffset;
trace((("gametimeoffset=" + _level0.gametimeoffset) + " gametime=") + _level0.gametime);
_level0.gotoAndPlay("game");
}
Symbol 512 Button
on (release) {
_level0.gotoAndStop("cheats");
}
Symbol 514 Button
on (release) {
_level0.gotoAndPlay("instructions");
}
Symbol 518 MovieClip Frame 52
gotoAndPlay ("bucle");
Symbol 541 Button
on (release) {
_level0.createwindow(version + ". Check our site for new updates and hosting information in your site.", 200, 80);
}
Symbol 554 MovieClip Frame 1
stop();
Symbol 554 MovieClip Frame 18
gotoAndPlay ("ataca");
Symbol 554 MovieClip Frame 41
gotoAndPlay ("ataca");
Symbol 554 MovieClip Frame 44
gotoAndPlay ("veneno");
Symbol 554 MovieClip Frame 45
stop();
Symbol 558 MovieClip Frame 10
Symbol 558 MovieClip Frame 23
Symbol 558 MovieClip Frame 35
Symbol 558 MovieClip Frame 50
Symbol 558 MovieClip Frame 65
Symbol 575 MovieClip Frame 1
stop();
Symbol 583 MovieClip Frame 1
stop();
Symbol 583 MovieClip Frame 2
stop();
Symbol 588 MovieClip Frame 1
stop();
Symbol 588 MovieClip Frame 2
stop();
Symbol 595 MovieClip Frame 1
stop();
Symbol 598 MovieClip Frame 1
stop();
Symbol 598 MovieClip Frame 2
stop();
Symbol 601 MovieClip Frame 1
stop();
Symbol 601 MovieClip Frame 2
stop();
Symbol 602 MovieClip Frame 1
stop();
Symbol 602 MovieClip Frame 10
stop();
Symbol 633 MovieClip Frame 1
stop();
Symbol 633 MovieClip Frame 2
stop();
Symbol 633 MovieClip Frame 3
stop();
Symbol 633 MovieClip Frame 8
stop();
Symbol 636 MovieClip Frame 1
stop();
Symbol 636 MovieClip Frame 2
stop();
Symbol 641 MovieClip Frame 1
stop();
Symbol 641 MovieClip Frame 2
stop();
Symbol 649 MovieClip Frame 1
stop();
Symbol 654 MovieClip Frame 1
stop();
Symbol 654 MovieClip Frame 2
stop();
Symbol 665 MovieClip Frame 1
function setallhair(f) {
pelomedio.gotoAndStop(f);
pelofront.gotoAndStop(f);
peloback.gotoAndStop(f);
}
Symbol 665 MovieClip Frame 49
gotoAndPlay ("reposo");
Symbol 665 MovieClip Frame 80
gotoAndPlay ("reposo");
Symbol 665 MovieClip Frame 81
brazoizquierdo.gotoAndPlay("doblar");
Symbol 665 MovieClip Frame 94
this.cara.boca.gotoAndStop("veneno");
Symbol 665 MovieClip Frame 126
cara.boca.gotoAndStop("reposo");
brazoizquierdo.gotoAndPlay("estirar");
this.gotoAndPlay("reposo");
Symbol 665 MovieClip Frame 127
brazoizquierdo.gotoAndStop("estirar");
Symbol 665 MovieClip Frame 138
gotoAndPlay ("trafo");
Symbol 666 MovieClip Frame 2
stop();
_level0.version = "MW OutSite v1.0";
_level0.password = "iwantmore";
_level0.myget = 4;
_level0.level = -1;
_level0.maxlevel = 11;
_level0.score = 0;
_level0.showMenu = false;
_level0.actualcards = 0;
_level0.matchcardsused = 0;
_level0.matchdamagereceived = 0;
_level0.matchscoresx = 17;
_level0.matchscoresy = -43;
_level0.cheatsenabled = false;
_level0.cheatmode = 0;
_level0.allcards = 0;
_level0.alltrafos = 0;
_level0.axeofmight = 0;
_level0.score = 0;
_level0.besthit = 0;
_level0.deaths = 0;
_level0.largest = 0;
_level0.trafo1 = 0;
_level0.trafo2 = 0;
_level0.trafo3 = 0;
_level0.lifehealed = 0;
_level0.ncounter = 0;
_level0.totaldamage = 0;
_level0.minutes = getTimer() / 1000;
_level0.plume = 0;
_level0.resucita = 0;
_level0.ring = 0;
_level0.orbofsaruman = 0;
_level0.munchetes = 0;
_level0.gem = 0;
Symbol 672 Button
on (release) {
_level0.gotoAndStop("menu");
}
Symbol 697 Button
on (release) {
_level0.gotoAndPlay("menu");
}
Symbol 698 Button
on (release) {
if (password == _level0.password) {
gotoAndPlay ("trucos");
} else {
gotoAndPlay ("incorrecto");
password = "";
}
}
Symbol 713 Button
on (release) {
_level0.axeofmight = 1;
gotoAndStop (2);
}
Symbol 714 Button
on (release) {
_level0.axeofmight = 0;
gotoAndStop (1);
}
Symbol 715 MovieClip Frame 1
stop();
Symbol 715 MovieClip Frame 2
stop();
Symbol 717 Button
on (release) {
if (_level0.level > -1) {
_level0.level = _level0.level - 1;
tlevel = _level0.level + 1;
}
}
Symbol 718 Button
on (release) {
if (_level0.level < _level0.maxlevel) {
_level0.level = _level0.level + 1;
tlevel = _level0.level + 1;
}
}
Symbol 721 Button
on (release) {
_level0.alltrafos = 1;
gotoAndStop (2);
}
Symbol 722 Button
on (release) {
_level0.alltrafos = 0;
gotoAndStop (1);
}
Symbol 723 MovieClip Frame 1
stop();
Symbol 723 MovieClip Frame 2
stop();
Symbol 724 Button
on (release) {
_level0.allcards = 1;
gotoAndStop (2);
}
Symbol 725 Button
on (release) {
_level0.allcards = 0;
gotoAndStop (1);
}
Symbol 726 MovieClip Frame 1
stop();
Symbol 726 MovieClip Frame 2
stop();
Symbol 729 Button
on (release) {
_level0.cheatsenabled = true;
_level0.gametimeoffset = getTimer();
_level0.gametime = getTimer() - _level0.gametimeoffset;
_level0.score = 0;
_level0.besthit = 0;
trace("gametimeoffset=" + _level0.gametimeoffset);
_level0.gotoAndPlay("game");
}
Symbol 733 MovieClip Frame 10
trace(_level0.password);
Symbol 733 MovieClip Frame 52
gotoAndPlay (10);
Symbol 733 MovieClip Frame 95
gotoAndPlay ("incorrecto");
Symbol 733 MovieClip Frame 96
_level0.cheatmode = 1;
Symbol 733 MovieClip Frame 138
gotoAndPlay ("trucos");
Symbol 738 Button
on (release) {
if (_level0.score > price) {
gotoAndStop (2);
_level0.plume = 1;
_level0.score = _level0.score - price;
}
}
Symbol 742 MovieClip Frame 1
price = 2000;
stop();
Symbol 742 MovieClip Frame 2
stop();
Symbol 745 Button
on (release) {
if (_level0.score > price) {
gotoAndStop (2);
_level0.orbofsaruman = 1;
_level0.score = _level0.score - price;
}
}
Symbol 748 MovieClip Frame 1
stop();
price = 850;
Symbol 748 MovieClip Frame 2
stop();
Symbol 751 Button
on (release) {
if (_level0.score > price) {
gotoAndStop (2);
_level0.gem = 1;
_level0.score = _level0.score - price;
}
}
Symbol 754 MovieClip Frame 1
price = 1600;
stop();
Symbol 754 MovieClip Frame 2
stop();
Symbol 758 Button
on (release) {
if (_level0.score > price) {
gotoAndStop (2);
_level0.munchetes = 1;
_level0.score = _level0.score - price;
}
}
Symbol 761 MovieClip Frame 1
price = 1550;
stop();
Symbol 761 MovieClip Frame 2
stop();
Symbol 764 Button
on (release) {
if (_level0.score > price) {
gotoAndStop (2);
_level0.ring = 1;
_level0.score = _level0.score - price;
}
}
Symbol 767 MovieClip Frame 1
price = 1400;
stop();
Symbol 767 MovieClip Frame 2
stop();
Symbol 773 MovieClip Frame 1
stop();
Symbol 773 MovieClip Frame 2
stop();
Symbol 775 Button
on (release) {
this.tapete._visible = false;
}
Symbol 782 Button
on (release) {
_level0.gotoAndPlay("game");
}
Symbol 813 MovieClip Frame 1
money = _level0.score;
if (_level0.orbofsaruman > 0) {
corb.gotoAndStop(2);
}
if (_level0.ring > 0) {
cring.gotoAndStop(2);
}
if (_level0.plume > 0) {
cplume.gotoAndStop(2);
}
if (_level0.munchetes > 0) {
cmunchetes.gotoAndStop(2);
}
if (_level0.gem > 0) {
cgem.gotoAndStop(2);
}
Symbol 816 MovieClip Frame 1
stop();
Symbol 816 MovieClip Frame 2
matriz1 = new Array(b1.carta1, b1.carta2, b1.carta3, b1.carta4, b1.carta5, b1.carta6, b1.carta7, b1.carta8, b1.carta9, b1.carta10, b1.carta11, b1.carta12, b1.carta13, b1.carta14, b1.carta15, b1.carta16, b1.carta17, b1.carta18, b1.carta19, b1.carta20, b1.carta21, b1.carta22, b1.carta23, b1.carta24, b1.carta25, b1.carta26, b1.carta27, b1.carta28, b1.carta29, b1.carta30, b1.carta31, b1.carta32, b1.carta33, b1.carta34, b1.carta35, b1.carta36);
i = 0;
while (i < _level0.numcartas) {
matriz1[i]._visible = false;
i = i + 1;
}
visible = _level0.cartasp2[0];
matriz1[visible]._visible = true;
Symbol 823 Button
on (release) {
gotoAndPlay (2);
}
Symbol 828 Button
on (release) {
gotoAndStop (2);
_level0.invisible = 2;
_level0.animplayer1._alpha = 50;
_level0.ring = 0;
}
Symbol 829 MovieClip Frame 1
stop();
Symbol 830 Button
on (release) {
gotoAndStop (2);
_level0.mirarcartas();
_level0.orbofsaruman = 0;
}
Symbol 831 MovieClip Frame 1
stop();
Symbol 832 Button
on (release) {
gotoAndStop (2);
_level0.immunity = 1;
_level0.veneno1 = 0;
_level0.mveneno1.gotoAndStop(1);
_level0.bveneno1._height = 0;
_level0.maldicion1 = 0;
_level0.mmaldicion1.gotoAndStop(1);
_level0.gem = 0;
}
Symbol 833 MovieClip Frame 1
stop();
Symbol 837 Button
on (release) {
gotoAndStop ("more1");
}
Symbol 840 Button
on (release) {
this.gotoAndPlay("cierra");
}
Symbol 842 Button
on (release) {
gotoAndStop (2);
_level0.vida1 = _level0.vida1 + 20;
_level0.munchetes = 0;
mysound = new Sound();
mySound.attachSound("mascar");
mySound.start();
}
Symbol 843 MovieClip Frame 1
stop();
Symbol 844 Button
on (release) {
gotoAndStop (2);
_level0.resucita = 1;
_level0.plume = 0;
}
Symbol 845 MovieClip Frame 1
stop();
Symbol 846 Button
on (release) {
gotoAndStop ("inventory");
}
Symbol 850 MovieClip Frame 1
stop();
Symbol 850 MovieClip Frame 7
if (_level0.orbofsaruman == 0) {
corb.gotoAndStop(2);
}
if (_level0.ring == 0) {
cring.gotoAndStop(2);
}
if (_level0.gem == 0) {
cgem.gotoAndStop(2);
}
stop();
Symbol 850 MovieClip Frame 8
if (_level0.plume == 0) {
cplume.gotoAndStop(2);
}
if (_level0.munchetes == 0) {
cmunchetes.gotoAndStop(2);
}
stop();
Symbol 850 MovieClip Frame 9
stop();
Symbol 860 MovieClip Frame 1
_level0.animplayer2.gotoAndPlay("trafo");
Symbol 860 MovieClip Frame 11
_level0.animplayer2.setallhair(2);
Symbol 860 MovieClip Frame 15
_level0.animplayer2.gotoAndPlay("reposo");
Symbol 860 MovieClip Frame 27
gotoAndPlay ("last");
Symbol 877 MovieClip Frame 1
_level0.animplayer2.gotoAndPlay("trafo");
Symbol 877 MovieClip Frame 19
_level0.animplayer2.setallhair(3);
Symbol 877 MovieClip Frame 22
_level0.animplayer2.gotoAndPlay("reposo");
Symbol 877 MovieClip Frame 48
gotoAndPlay ("last");
Symbol 911 MovieClip Frame 7
stop();
Symbol 913 MovieClip Frame 1
stop();
_level0.animplayer2.gotoAndPlay("trafo");
Symbol 913 MovieClip Frame 9
_level0.animplayer2.setallhair(4);
Symbol 913 MovieClip Frame 16
_level0.animplayer2.gotoAndPlay("reposo");
Symbol 913 MovieClip Frame 30
rayosnew1._rotation = random(360);
rayosnew1.play();
Symbol 913 MovieClip Frame 38
rayosnew2._rotation = random(360);
rayosnew2.play();
Symbol 913 MovieClip Frame 98
gotoAndPlay ("bucle");
Symbol 916 MovieClip Frame 18
stop();
this._parent.tercera.play();
Symbol 917 MovieClip Frame 1
_level0.animplayer2.setallhair(1);
stop();
Symbol 917 MovieClip Frame 2
stop();
Symbol 917 MovieClip Frame 3
stop();
Symbol 917 MovieClip Frame 4
stop();
Symbol 925 MovieClip Frame 1
_level0.trafo1 = _level0.trafo1 + 1;
_level0.animplayer.gotoAndPlay("trafo");
Symbol 925 MovieClip Frame 11
_level0.animplayer.setallhair(2);
Symbol 925 MovieClip Frame 15
_level0.animplayer.gotoAndPlay("reposo");
Symbol 925 MovieClip Frame 27
gotoAndPlay ("last");
Symbol 939 MovieClip Frame 1
_level0.trafo2 = _level0.trafo2 + 1;
_level0.animplayer.gotoAndPlay("trafo");
Symbol 939 MovieClip Frame 19
_level0.animplayer.setallhair(3);
Symbol 939 MovieClip Frame 22
_level0.animplayer.gotoAndPlay("reposo");
Symbol 939 MovieClip Frame 48
gotoAndPlay ("last");
Symbol 942 MovieClip Frame 1
stop();
_level0.trafo3 = _level0.trafo3 + 1;
_level0.animplayer.gotoAndPlay("trafo");
Symbol 942 MovieClip Frame 9
_level0.animplayer.setallhair(4);
Symbol 942 MovieClip Frame 15
_level0.animplayer.gotoAndPlay("reposo");
Symbol 942 MovieClip Frame 30
rayosnew1._rotation = random(360);
rayosnew1.play();
Symbol 942 MovieClip Frame 38
rayosnew2._rotation = random(360);
rayosnew2.play();
Symbol 942 MovieClip Frame 98
gotoAndPlay ("bucle");
Symbol 945 MovieClip Frame 19
stop();
this._parent.tercera.play();
Symbol 946 MovieClip Frame 1
_level0.animplayer.setallhair(1);
stop();
Symbol 946 MovieClip Frame 2
stop();
Symbol 946 MovieClip Frame 3
stop();
Symbol 946 MovieClip Frame 4
stop();
Symbol 956 MovieClip Frame 29
stop();
Symbol 957 MovieClip Frame 1
stop();
Symbol 957 MovieClip Frame 2
stop();
Symbol 958 MovieClip Frame 1
stop();
_level0.animplayer1.espada.gotoAndStop("estandar");
Symbol 958 MovieClip Frame 2
stop();
Symbol 959 MovieClip Frame 1
stop();
Symbol 959 MovieClip Frame 2
stop();
Symbol 960 MovieClip Frame 1
stop();
Symbol 960 MovieClip Frame 2
stop();
Symbol 960 MovieClip Frame 3
_level0.animplayer2.escudo.gotoAndStop(2);
stop();
Symbol 963 MovieClip Frame 17
stop();
Symbol 964 MovieClip Frame 1
stop();
Symbol 964 MovieClip Frame 2
stop();
Symbol 965 MovieClip Frame 1
stop();
Symbol 965 MovieClip Frame 2
stop();
Symbol 970 MovieClip Frame 1
stop();
Symbol 970 MovieClip Frame 2
stop();
Symbol 970 MovieClip Frame 3
stop();
Symbol 970 MovieClip Frame 17
if (_level0.flagbarajar == false) {
_level0.ejecutar.ccartabueno.nextFrame();
this.gotoAndStop(1);
} else {
this.gotoAndPlay("bucle");
}
Symbol 977 Button
on (release) {
if (_level0.qualityindex > 1) {
_level0.qualityindex--;
i = 1;
while (i <= _level0.qualityindex) {
this["star" + i]._visible = true;
i++;
}
i = _level0.qualityindex + 1;
while (i < 5) {
this["star" + i]._visible = false;
i++;
}
if (_level0.qualityindex == 1) {
_level0._quality = "LOW";
} else if (_level0.qualityindex == 2) {
_level0._quality = "MEDIUM";
} else if (_level0.qualityindex == 3) {
_level0._quality = "HIGH";
} else if (_level0.qualityindex == 4) {
_level0._quality = "BEST";
}
}
}
Symbol 979 Button
on (release) {
if (_level0.qualityindex < 4) {
_level0.qualityindex++;
i = 1;
while (i <= _level0.qualityindex) {
this["star" + i]._visible = true;
i++;
}
i = _level0.qualityindex + 1;
while (i < 5) {
this["star" + i]._visible = false;
i++;
}
if (_level0.qualityindex == 1) {
_level0._quality = "LOW";
} else if (_level0.qualityindex == 2) {
_level0._quality = "MEDIUM";
} else if (_level0.qualityindex == 3) {
_level0._quality = "HIGH";
} else if (_level0.qualityindex == 4) {
_level0._quality = "BEST";
}
}
}
Symbol 981 MovieClip Frame 1
i = _level0.qualityindex + 1;
while (i <= 4) {
this["star" + i]._visible = false;
i++;
}
boton1.useHandCursor = false;
boton2.useHandCursor = false;
Symbol 994 MovieClip Frame 1
level = _level0.level;
score = _level0.score;
besthit = _level0.besthit;
if (_level0.gametime < 86400000) {
_level0.gametime = getTimer() - _level0.gametimeoffset;
} else if (_level0.gametime == undefined) {
_level0.gametimeoffset = getTimer();
_level0.gametime = getTimer() - _level0.gametimeoffset;
} else {
_level0.gametime = 86400000 /* 0x5265C00 */;
}
time = Math.round(_level0.gametime / 60000) + " minutes";
Symbol 996 MovieClip Frame 1
texto = "";
stop();
Symbol 998 Button
on (press) {
tarma2.gotoAndPlay(2);
tarma2.texto = _level0.arma2;
}
Symbol 999 Button
on (press) {
tveneno2.gotoAndPlay(2);
tveneno2.texto = _level0.veneno2;
}
Symbol 1000 Button
on (press) {
tcontra2.gotoAndPlay(2);
tcontra2.texto = _level0.contra2;
}
Symbol 1001 Button
on (press) {
tescudo2.gotoAndPlay(2);
tescudo2.texto = _level0.escudo2;
}
Symbol 1002 Button
on (press) {
tarma1.gotoAndPlay(2);
tarma1.texto = _level0.arma1;
}
Symbol 1003 Button
on (press) {
tescudo1.gotoAndPlay(2);
tescudo1.texto = _level0.escudo1;
}
Symbol 1004 Button
on (press) {
tcontra1.gotoAndPlay(2);
tcontra1.texto = _level0.contra1;
}
Symbol 1005 Button
on (press) {
tveneno1.gotoAndPlay(2);
tveneno1.texto = _level0.veneno1;
}
Symbol 1006 MovieClip Frame 1
stop();
Symbol 1006 MovieClip Frame 2
stop();
Symbol 1009 MovieClip Frame 1
stop();
Symbol 1009 MovieClip Frame 2
stop();
Symbol 1009 MovieClip Frame 3
stop();
Symbol 1010 MovieClip Frame 1
stop();
Symbol 1010 MovieClip Frame 2
stop();
Symbol 1096 MovieClip Frame 1
stop();
Symbol 1096 MovieClip Frame 2
if (_level0.ceguera1 != 0) {
_level0.cura = 0;
_level0.ceguera1 = 0;
gotoAndPlay ("ceguera");
} else {
if (_level0.ceguera2 > 0) {
_level0.mceguera2.gotoAndStop(2);
} else {
_level0.mceguera2.gotoAndStop(1);
}
if (_level0.arma1 > 0) {
_level0.marma1.gotoAndStop(2);
if (_level0.arma1 == 6) {
_level0.animplayer1.espada.gotoAndStop(2);
} else if (_level0.arma1 == 10) {
_level0.animplayer1.espada.gotoAndStop(3);
}
} else {
if (_level0.axeofmight == 1) {
_level0.animplayer1.espada.gotoAndStop(8);
} else {
_level0.animplayer1.espada.gotoAndStop(1);
}
_level0.marma1.gotoAndStop(1);
}
if (_level0.escudo1 > 0) {
_level0.animplayer1.escudo._visible = true;
_level0.mescudo1.gotoAndStop(2);
} else {
_level0.animplayer1.escudo._visible = false;
_level0.mescudo1.gotoAndStop(1);
}
if (_level0.contra1 > 0) {
if ((_level0.contra1 == 2) && (_level0.escudo1 == 3)) {
_level0.ccontra1.gotoAndStop(3);
} else {
_level0.ccontra1.gotoAndStop(2);
}
} else {
_level0.ccontra1.gotoAndStop(1);
}
if (_level0.maldicion2 > 0) {
_level0.mmaldicion2.gotoAndStop(2);
} else {
_level0.mmaldicion2.gotoAndStop(1);
}
if (_level0.veneno2 > 0) {
_level0.mveneno2.gotoAndStop(2);
} else {
_level0.mveneno2.gotoAndStop(1);
}
_level0.barma1._height = _level0.arma1;
_level0.bescudo1._height = _level0.escudo1;
_level0.bveneno1._height = _level0.veneno1;
_level0.bcontra1._height = _level0.contra1;
}
Symbol 1096 MovieClip Frame 3
if ((_level0["da\u00F1o2"] > 0) && (_level0.parapeto2 == 0)) {
_level0.animplayer1.gotoAndPlay("ataca");
play();
} else if ((_level0["da\u00F1o2"] > 0) && (_level0.parapeto2 != 0)) {
gotoAndPlay ("parapeto");
} else if ((_level0.cura > 0) || (_level0.regen1 > 0)) {
gotoAndPlay ("cura");
} else if (_level0.veneno1 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 1096 MovieClip Frame 12
tgranda\u00F1o._visible = false;
this["tda\u00F1o"] = _level0["da\u00F1o2"];
if ((_level0.vida2 - _level0["da\u00F1o2"]) >= 0) {
_level0.vida2 = _level0.vida2 - _level0["da\u00F1o2"];
_level0.calcularpuntaje(_level0["da\u00F1o2"], 1);
} else {
_level0.vida2 = 0;
_level0.calcularpuntaje(_level0["da\u00F1o2"], 1);
}
mySound = new Sound();
mySound2 = new Sound();
cual = random(9);
if (cual < 3) {
mySound2.attachSound("espadas3");
} else if ((cual >= 3) && (cual < 5)) {
mySound2.attachSound("espadas4");
} else {
mySound2.attachSound("espadas1");
}
mySound2.setVolume(50);
if (_level0["da\u00F1o2"] < 7) {
mySound.attachSound("ih01350");
} else if ((_level0["da\u00F1o2"] >= 7) && (_level0["da\u00F1o2"] < 17)) {
mySound.attachSound("ih01349");
} else {
mySound.attachSound("MBigImpact1");
}
mySound.start();
mySound2.start();
Symbol 1096 MovieClip Frame 41
if (_level0.vida2 == 0) {
gotoAndPlay ("player1");
} else if (_level0.contra2 > 0) {
gotoAndPlay ("contra");
} else if ((_level0.cura > 0) || (_level0.regen1 > 0)) {
gotoAndPlay ("cura");
} else if (_level0.veneno1 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 1096 MovieClip Frame 42
_level0.animplayer2.gotoAndPlay("ataca");
Symbol 1096 MovieClip Frame 52
this["tda\u00F1o"] = _level0.contra2;
_level0.matchdamagereceived = _level0.matchdamagereceived + _level0.contra2;
if ((_level0.vida1 - _level0.contra2) >= 0) {
_level0.vida1 = _level0.vida1 - _level0.contra2;
} else {
_level0.vida1 = 0;
}
mySound = new Sound();
mySound.attachSound("ih01350");
mySound2 = new Sound();
cual = random(9);
if (cual < 3) {
mySound2.attachSound("espadas3");
} else if ((cual >= 3) && (cual < 5)) {
mySound2.attachSound("espadas4");
} else {
mySound2.attachSound("espadas1");
}
mySound2.setVolume(50);
mySound.start();
mySound2.start();
Symbol 1096 MovieClip Frame 81
if ((_level0.vida1 == 0) && (_level0.resucita == 0)) {
gotoAndPlay ("player2");
} else if ((_level0.vida1 == 0) && (_level0.resucita > 0)) {
gotoAndPlay ("resucita");
} else if ((_level0.cura > 0) || (_level0.regen1 > 0)) {
gotoAndPlay ("cura");
} else if (_level0.veneno1 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 1096 MovieClip Frame 82
_level0.animplayer1.gotoAndPlay("veneno");
Symbol 1096 MovieClip Frame 87
this["tda\u00F1o"] = _level0.veneno1;
_level0.matchdamagereceived = _level0.matchdamagereceived + _level0.veneno1;
if ((_level0.vida1 - _level0.veneno1) > 1) {
_level0.vida1 = _level0.vida1 - _level0.veneno1;
} else {
_level0.vida1 = 1;
_level0.veneno1 = 0;
_level0.mveneno1.gotoAndStop(1);
_level0.bveneno1._height = 0;
}
Symbol 1096 MovieClip Frame 112
gotoAndPlay ("fin");
Symbol 1096 MovieClip Frame 113
if ((_level0.cura > 0) && (_level0.regen1 > 0)) {
this.theal["tda\u00F1o"] = (_level0.cura + "+") + _level0.regen1;
} else if ((_level0.cura == 0) && (_level0.regen1 > 0)) {
this.theal["tda\u00F1o"] = _level0.regen1;
} else if ((_level0.cura > 0) && (_level0.regen1 == 0)) {
this.theal["tda\u00F1o"] = _level0.cura;
}
_level0.lifehealed = (_level0.lifehealed + _level0.cura) + _level0.regen1;
if (((_level0.vida1 + _level0.cura) + _level0.regen1) <= _level0.maxvida) {
_level0.vida1 = (_level0.vida1 + _level0.cura) + _level0.regen1;
} else {
_level0.vida1 = _level0.maxvida;
}
Symbol 1096 MovieClip Frame 136
if (_level0.veneno1 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 1096 MovieClip Frame 159
if (_level0.regen1 > 0) {
gotoAndPlay ("cura");
} else if (_level0.veneno1 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 1096 MovieClip Frame 164
this["tda\u00F1o"] = _level0["da\u00F1o2"];
_level0.parapeto2 = 0;
Symbol 1096 MovieClip Frame 185
if (_level0.contra2 > 0) {
gotoAndPlay ("contra");
} else if ((_level0.cura > 0) || (_level0.regen1 > 0)) {
gotoAndPlay ("cura");
} else if (_level0.veneno1 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 1096 MovieClip Frame 186
_level0.attachMovie("matchscores", "matchscores", 0);
_level0.matchscores._x = _level0.matchscoresx;
_level0.matchscores._y = _level0.matchscoresy;
_level0.gotoAndStop("matchscores");
stop();
Symbol 1096 MovieClip Frame 196
stop();
_level0.setabg();
_level0.gotoAndStop("matchscores");
stop();
Symbol 1096 MovieClip Frame 206
_level0.vida1 = 20;
_level0.resucita = 0;
Symbol 1096 MovieClip Frame 231
this._parent.ccartamalo.play();
this._parent.play();
Symbol 1099 MovieClip Frame 1
button.useHandCursor = false;
Symbol 1100 MovieClip Frame 1
button.useHandCursor = false;
Symbol 1103 Button
on (release) {
_level0.matchcardsused++;
this.mascara1._visible = true;
this.mascara3._visible = true;
if (_level0.turno == 0) {
} else {
if (_level0.ceguera1 == 0) {
_level0.barajas[_level0.numbar][_level0.carbueno].juegacarta();
if (_level0.runa1aux > 0) {
_level0.runa1 = _level0.runa1 + _level0.runa1aux;
} else if (_level0.runa1aux < 0) {
if (_level0.runa2 < 20) {
_level0.runa1 = _level0.runa1 + _level0.runa2;
_level0.runa2 = 0;
} else if (_level0.runa2 >= 20) {
if ((_level0.runa2 - 20) < 35) {
_level0.runa1 = _level0.runa1 + 20;
_level0.runa2 = _level0.runa2 - 20;
_level0.bruna2._width = _level0.runa2 * 5.7;
_level0.cruna2.gotoAndStop(1);
if (_level0.arma2 == 4) {
_level0.arma2 = 0;
_level0.marma2.gotoAndStop(1);
_level0.barma2._height = 0;
}
if (_level0.escudo2 == 3) {
_level0.escudo2 = 0;
_level0.mescudo2.gotoAndStop(1);
_level0.bescudo2._height = 0;
}
if (_level0.contra2 == 3) {
_level0.contra2 = 0;
_level0.mcontra2.gotoAndStop(1);
_level0.bcontra2._height = 0;
}
} else if (((_level0.runa2 - 20) >= 35) && ((_level0.runa2 - 20) < 70)) {
_level0.arma2 = 4;
_level0.escudo2 = 3;
_level0.contra2 = 3;
_level0.runa2 = _level0.runa2 - 20;
_level0.runa1 = _level0.runa1 + 20;
_level0.bruna2._width = (_level0.runa2 - 35) * 5.7;
_level0.cruna2.gotoAndStop(2);
_level0.mescudo2.gotoAndStop(2);
_level0.bescudo2._height = _level0.escudo2;
_level0.marma2.gotoAndStop(2);
_level0.barma2._height = _level0.arma2;
_level0.mcontra2.gotoAndStop(2);
_level0.bcontra2._height = _level0.contra2;
} else if (((_level0.runa2 - 20) >= 70) && ((_level0.runa2 - 20) <= 105)) {
_level0.arma2 = 8;
_level0.escudo2 = 6;
_level0.contra2 = 5;
_level0.runa2 = _level0.runa2 - 20;
_level0.runa1 = _level0.runa1 + 20;
_level0.bruna2._width = (_level0.runa2 - 70) * 5.7;
_level0.cruna2.gotoAndStop(3);
_level0.mescudo2.gotoAndStop(2);
_level0.bescudo2._height = _level0.escudo2;
_level0.marma2.gotoAndStop(2);
_level0.barma2._height = _level0.arma2;
_level0.mcontra2.gotoAndStop(2);
_level0.bcontra2._height = _level0.contra2;
}
}
}
if (_level0.runa1 < 35) {
_level0.bruna1._width = _level0.runa1 * 5.7;
} else if ((_level0.runa1 >= 35) && (_level0.runa1 < 70)) {
_level0.bruna1._width = (_level0.runa1 - 35) * 5.7;
_level0.cruna1.gotoAndStop(2);
if (4 > _level0.arma1) {
_level0.arma1 = 4;
}
if (3 > _level0.escudo1) {
_level0.escudo1 = 3;
}
if (3 > _level0.contra1) {
_level0.contra1 = 3;
}
_level0.veneno1 = 0;
_level0.mveneno1.gotoAndStop(1);
_level0.bveneno1._height = 0;
} else if ((_level0.runa1 >= 70) && (_level0.runa1 < 105)) {
_level0.bruna1._width = (_level0.runa1 - 70) * 5.7;
_level0.cruna1.gotoAndStop(3);
if (8 > _level0.arma1) {
_level0.arma1 = 8;
}
if (6 > _level0.escudo1) {
_level0.escudo1 = 6;
}
if (5 > _level0.contra1) {
_level0.contra1 = 5;
}
_level0.veneno1 = 0;
_level0.mveneno1.gotoAndStop(1);
_level0.bveneno1._height = 0;
} else if (_level0.runa1 >= 105) {
_level0.runa1 = 105;
_level0.bruna1._width = 200;
_level0.cruna1.gotoAndStop(4);
if (12 > _level0.arma1) {
_level0.arma1 = 12;
}
if (10 > _level0.escudo1) {
_level0.escudo1 = 10;
}
if (8 > _level0.contra1) {
_level0.contra1 = 8;
}
_level0.veneno1 = 0;
_level0.mveneno1.gotoAndStop(1);
_level0.bveneno1._height = 0;
}
trace("" + _level0.mult1);
if (_level0["da\u00F1o"] > 0) {
_level0["da\u00F1o2"] = ((((_level0["da\u00F1o"] + _level0.arma1) + _level0.maldicion2) - _level0.escudo2) - _level0.bless2) * _level0.mult1;
if (_level0.mult1 > 1) {
_level0.mult1 = 1;
}
if (_level0["da\u00F1o2"] > _level0.besthit) {
_level0.besthit = _level0["da\u00F1o2"];
}
_level0.totaldamage = _level0.totaldamage + _level0["da\u00F1o2"];
} else if (_level0["da\u00F1o"] <= 0) {
_level0["da\u00F1o2"] = 0;
}
if (_level0.multiplyaux > _level0.mult1) {
_level0.mult1 = _level0.multiplyaux;
}
if (_level0.regenaux > _level0.regen1) {
_level0.regen1 = _level0.regenaux;
}
if (_level0.arma1aux > _level0.arma1) {
_level0.arma1 = _level0.arma1aux;
}
if (_level0.escudo1aux > _level0.escudo1) {
_level0.escudo1 = _level0.escudo1aux;
}
if (_level0.contra1aux > _level0.contra1) {
_level0.contra1 = _level0.contra1aux;
}
if ((_level0.veneno1aux > _level0.veneno2) && (_level0.runa2 < 35)) {
_level0.veneno2 = _level0.veneno1aux;
_level0.mveneno2.gotoAndStop(2);
_level0.bveneno2._height = _level0.veneno2;
}
if (_level0.maldicion1aux > _level0.maldicion2) {
_level0.maldicion2 = _level0.maldicion1aux;
_level0.mmaldicion2.gotoAndStop(2);
}
if (_level0.bless1aux > _level0.bless1) {
_level0.bless1 = _level0.bless1aux;
}
if (_level0.paraliza > _level0.paraliza1) {
_level0.paraliza1 = _level0.paraliza;
}
if ((_level0.ceguera1aux == 1) || (random(100) < _level0.paraliza1)) {
_level0.ceguera2 = 1;
}
if (_level0.parapeto1aux > _level0.parapeto1) {
_level0.parapeto1 = _level0.parapeto1aux;
}
if (_level0.dispelo > 0) {
_level0.paraliza2 = 0;
_level0.mmaldicion2.gotoAndStop(1);
_level0.mescudo2.gotoAndStop(1);
_level0.marma2.gotoAndStop(1);
_level0.ccontra2.gotoAndStop(1);
_level0.mbless2.gotoAndStop(1);
_level0.regen2 = 0;
_level0.maldicion2 = 0;
_level0.escudo2 = 0;
_level0.arma2 = 0;
_level0.contra2 = 0;
_level0.bless2 = 0;
_level0.barma2._height = 0;
_level0.bescudo2._height = 0;
_level0.bcontra2._height = 0;
} else if (_level0.dispels > 0) {
_level0.mmaldicion1.gotoAndStop(1);
_level0.maldicion1 = 0;
}
if (_level0.curaveneno > 0) {
_level0.mveneno1.gotoAndStop(1);
_level0.bveneno1.height = 0;
_level0.veneno1 = 0;
}
}
this["cda\u00F1o2"].gotoAndPlay(2);
}
i = 0;
while (i < _level0.numcartas) {
_level0.barajas[_level0.numbar][i]._visible = false;
i = i + 1;
}
_level0.turno == 0;
}
Symbol 1104 MovieClip Frame 1
stop();
Symbol 1104 MovieClip Frame 3
stop();
if (_level0.level < 2) {
ind = random(5);
visible = _level0.cartasp2[ind];
} else if (_level0.level >= 2) {
trace("IA ACTIVADA");
juega = false;
i = 0;
if (juega == false) {
if (_level0.ceguera2 != 0) {
ind = random(5);
visible = _level0.cartasp2[ind];
juega = true;
trace("IA: paralizado-> random");
}
}
if (juega == false) {
i = 0;
while (i < 5) {
_level0.barmalo[_level0.cartasp2[i]].juegacarta();
if (((((((_level0["da\u00F1o"] + _level0.arma2) - _level0.escudo1) - _level0.maldicion1) * _level0.mult2) - _level0.vida1) >= 0) && (_level0.parapeto1 == 0)) {
trace("IA: finiquitar");
juega = true;
ind = i;
visible = _level0.cartasp2[i];
break;
}
i++;
}
}
if (juega == false) {
i = 0;
while (i < 5) {
_level0.barmalo[_level0.cartasp2[i]].juegacarta();
if (((_level0.cura > 0) && (_level0.cura < (35 - _level0.vida2))) || (_level0.regenaux > 0)) {
juega = true;
trace("IA: cura o regen");
ind = i;
visible = _level0.cartasp2[i];
break;
}
i++;
}
}
if (juega == false) {
i = 0;
while (i < 5) {
_level0.barmalo[_level0.cartasp2[i]].juegacarta();
if ((_level0.runa1aux >= 15) || ((_level0.runa1aux < 0) && (_level0.runa1 > 20))) {
trace("IA: runa" + _level0.runa1aux);
juega = true;
ind = i;
visible = _level0.cartasp2[i];
break;
}
i++;
}
}
if (juega == false) {
i = 0;
while (i < 5) {
_level0.barmalo[_level0.cartasp2[i]].juegacarta();
if ((((((((_level0["da\u00F1o"] + _level0.arma2) - _level0.escudo1) - _level0.maldicion1) * _level0.mult2) > 10) || (((((_level0["da\u00F1o"] + _level0.arma2) - _level0.escudo1) - _level0.maldicion1) * _level0.mult2) > _level0.vida1)) && (_level0.parapeto1 == 0)) && (_level0.vida2 > _level0.contra1)) {
trace("IA: da\u00F1o>10");
juega = true;
ind = i;
visible = _level0.cartasp2[i];
break;
}
i++;
}
}
if (juega == false) {
i = 0;
while (i < 5) {
_level0.barmalo[_level0.cartasp2[i]].juegacarta();
if ((((_level0.veneno1aux > _level0.veneno1) && (_level0.veneno1aux > 1)) && (_level0.vida2 > _level0.contra1)) && (_level0.runa1 < 35)) {
trace("IA: envenenar +" + _level0.veneno1aux);
juega = true;
ind = i;
visible = _level0.cartasp2[i];
break;
}
i++;
}
}
if (juega == false) {
i = 0;
while (i < 5) {
_level0.barmalo[_level0.cartasp2[i]].juegacarta();
if (((_level0.arma1aux > _level0.arma2) || (_level0.escudo1aux > _level0.escudo2)) || (_level0.contra1aux > _level0.contra2)) {
trace("IA: mejorar modificadores");
juega = true;
ind = i;
visible = _level0.cartasp2[i];
break;
}
i++;
}
}
if (juega == false) {
i = 0;
while (i < 5) {
_level0.barmalo[_level0.cartasp2[i]].juegacarta();
if ((_level0.veneno2 > 1) && (_level0.curaveneno > 0)) {
trace("IA: cura veneno");
juega = true;
ind = i;
visible = _level0.cartasp2[i];
break;
}
i++;
}
}
if (juega == false) {
i = 0;
while (i < 5) {
_level0.barmalo[_level0.cartasp2[i]].juegacarta();
if ((((_level0.arma1 > 2) || (_level0.escudo1 > 2)) || (_level0.regen1 > 0)) && (_level0.dispelo > 0)) {
trace("IA: dispel opp");
juega = true;
ind = i;
visible = _level0.cartasp2[i];
break;
}
i++;
}
}
if (juega == false) {
i = 0;
while (i < 5) {
_level0.barmalo[_level0.cartasp2[i]].juegacarta();
if (_level0.maldicion2 > 0) {
trace("IA: dispel self");
juega = true;
ind = i;
visible = _level0.cartasp2[i];
break;
}
i++;
}
}
if (juega == false) {
i = 0;
while (i < 5) {
_level0.barmalo[_level0.cartasp2[i]].juegacarta();
if (_level0.ceguera1aux > 0) {
trace("IA: ceguera");
juega = true;
ind = i;
visible = _level0.cartasp2[i];
break;
}
i++;
}
}
if (juega == false) {
i = 0;
while (i < 5) {
_level0.barmalo[_level0.cartasp2[i]].juegacarta();
if ((((((((_level0["da\u00F1o"] + _level0.arma2) - _level0.escudo1) - _level0.maldicion1) * _level0.mult2) > 2) || (((((_level0["da\u00F1o"] + _level0.arma2) - _level0.escudo1) - _level0.maldicion1) * _level0.mult2) > _level0.vida1)) && (_level0.parapeto1 == 0)) && (_level0.vida2 > _level0.contra1)) {
trace("IA: da\u00F1o debil");
juega = true;
ind = i;
visible = _level0.cartasp2[i];
break;
}
i++;
}
}
trace("" + juega);
i = 0;
while (juega == false) {
ind = i;
visible = _level0.cartasp2[i];
_level0.barmalo[visible].juegacarta();
if ((((_level0.dispels > 0) || (_level0.dispelo > 0)) || (_level0.curepoison > 0)) && (i < 4)) {
trace(("IA: la carta " + i) + " no juega");
i++;
} else {
juega = true;
}
}
}
_level0.barmalo[visible].juegacarta();
trace("IA: jugamos la carta " + ind);
_level0.reparte = ind;
_level0.destapa = visible;
_level0.carmalo[ind]._visible = false;
gotoAndPlay(4 + (ind * 19));
Symbol 1104 MovieClip Frame 22
stop();
Symbol 1104 MovieClip Frame 41
stop();
Symbol 1104 MovieClip Frame 60
stop();
Symbol 1104 MovieClip Frame 79
stop();
Symbol 1104 MovieClip Frame 98
stop();
Symbol 1122 MovieClip Frame 1
Symbol 1122 MovieClip Frame 2
if (_level0.ceguera2 != 0) {
_level0.cura = 0;
_level0.ceguera2 = 0;
gotoAndPlay ("ceguera");
} else {
if (_level0.ceguera1 > 0) {
_level0.mceguera1.gotoAndStop(2);
} else {
_level0.mceguera1.gotoAndStop(1);
}
if (_level0.arma2 > 0) {
_level0.marma2.gotoAndStop(2);
} else {
_level0.marma2.gotoAndStop(1);
}
if (_level0.escudo2 > 0) {
_level0.animplayer2.escudo._visible = true;
_level0.mescudo2.gotoAndStop(2);
} else {
_level0.animplayer2.escudo._visible = false;
_level0.mescudo2.gotoAndStop(1);
}
if (_level0.contra2 > 0) {
if ((_level0.contra2 == 2) && (_level0.escudo2 == 3)) {
_level0.ccontra2.gotoAndStop(3);
} else {
_level0.ccontra2.gotoAndStop(2);
}
} else {
_level0.ccontra2.gotoAndStop(1);
}
if (_level0.maldicion1 > 0) {
_level0.mmaldicion1.gotoAndStop(2);
} else {
_level0.mmaldicion1.gotoAndStop(1);
}
if (_level0.veneno1 > 0) {
_level0.mveneno1.gotoAndStop(2);
} else {
_level0.mveneno1.gotoAndStop(1);
}
_level0.barma2._height = _level0.arma2;
_level0.bescudo2._height = _level0.escudo2;
_level0.bveneno2._height = _level0.veneno2;
_level0.bcontra2._height = _level0.contra2;
}
Symbol 1122 MovieClip Frame 3
if (((_level0["da\u00F1o1"] > 0) && (_level0.parapeto1 == 0)) && (_level0.invisible == 0)) {
_level0.animplayer2.gotoAndPlay("ataca");
play();
} else if (((_level0["da\u00F1o1"] > 0) && (_level0.parapeto1 != 0)) && (_level0.invisible == 0)) {
gotoAndPlay ("parapeto");
} else if ((_level0.cura > 0) || (_level0.regen2 > 0)) {
gotoAndPlay ("cura");
} else if (_level0.veneno2 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 1122 MovieClip Frame 12
this["tda\u00F1o"] = _level0["da\u00F1o1"];
_level0.matchdamagereceived = _level0.matchdamagereceived + _level0["da\u00F1o1"];
if ((_level0.vida1 - _level0["da\u00F1o1"]) >= 0) {
_level0.vida1 = _level0.vida1 - _level0["da\u00F1o1"];
} else {
_level0.vida1 = 0;
}
mySound = new Sound();
mySound2 = new Sound();
cual = random(9);
if (cual < 3) {
mySound2.attachSound("espadas3");
} else if ((cual >= 3) && (cual < 5)) {
mySound2.attachSound("espadas4");
} else {
mySound2.attachSound("espadas1");
}
mySound2.setVolume(50);
if (_level0["da\u00F1o1"] < 7) {
mySound.attachSound("ih01350");
} else if ((_level0["da\u00F1o1"] >= 7) && (_level0["da\u00F1o1"] < 17)) {
mySound.attachSound("ih01349");
} else {
mySound.attachSound("MBigImpact1");
}
mySound2.start();
mySound.start();
Symbol 1122 MovieClip Frame 41
if ((_level0.vida1 == 0) && (_level0.resucita == 0)) {
gotoAndPlay ("player2");
} else if ((_level0.vida1 == 0) && (_level0.resucita > 0)) {
gotoAndPlay ("resucita");
} else if (_level0.contra1 > 0) {
gotoAndPlay ("contra");
} else if ((_level0.cura > 0) || (_level0.regen2 > 0)) {
gotoAndPlay ("cura");
} else if (_level0.veneno2 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 1122 MovieClip Frame 42
_level0.animplayer1.gotoAndPlay("ataca");
Symbol 1122 MovieClip Frame 52
this["tda\u00F1o"] = _level0.contra1;
_level0.totaldamage = _level0.totaldamage + _level0.contra1;
_level0.ncounter = _level0.ncounter + 1;
if ((_level0.vida2 - _level0.contra1) >= 0) {
_level0.vida2 = _level0.vida2 - _level0.contra1;
_level0.calcularpuntaje(_level0.contra1, 1);
} else {
_level0.calcularpuntaje(_level0.contra1, 1);
_level0.vida2 = 0;
}
mySound = new Sound();
mySound.attachSound("ih01350");
mySound2 = new Sound();
cual = random(9);
if (cual < 3) {
mySound2.attachSound("espadas3");
} else if ((cual >= 3) && (cual < 5)) {
mySound2.attachSound("espadas4");
} else {
mySound2.attachSound("espadas1");
}
mySound2.setVolume(50);
mySound.start();
mySound2.start();
Symbol 1122 MovieClip Frame 82
if (_level0.vida2 == 0) {
gotoAndStop ("player1");
} else if ((_level0.cura > 0) || (_level0.regen2 > 0)) {
gotoAndPlay ("cura");
} else if (_level0.veneno2 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 1122 MovieClip Frame 83
_level0.animplayer2.gotoAndPlay("veneno");
Symbol 1122 MovieClip Frame 88
this["tda\u00F1o"] = _level0.veneno2;
if ((_level0.vida2 - _level0.veneno2) > 1) {
_level0.vida2 = _level0.vida2 - _level0.veneno2;
_level0.calcularpuntaje(_level0.veneno2, 1);
} else {
_level0.calcularpuntaje(_level0.veneno2, 1);
_level0.vida2 = 1;
_level0.veneno2 = 0;
_level0.mveneno2.gotoAndStop(1);
_level0.bveneno2._height = 0;
trace("player2 casi muerto");
}
Symbol 1122 MovieClip Frame 121
gotoAndPlay ("fin");
Symbol 1122 MovieClip Frame 122
if ((_level0.cura > 0) && (_level0.regen2 > 0)) {
this.theal["tda\u00F1o"] = (_level0.cura + "+") + _level0.regen2;
} else if ((_level0.cura == 0) && (_level0.regen2 > 0)) {
this.theal["tda\u00F1o"] = _level0.regen2;
} else if ((_level0.cura > 0) && (_level0.regen2 == 0)) {
this.theal["tda\u00F1o"] = _level0.cura;
}
if (((_level0.vida2 + _level0.cura) + _level0.regen2) <= _level0.maxvida) {
_level0.vida2 = (_level0.vida2 + _level0.cura) + _level0.regen2;
} else {
_level0.vida2 = _level0.maxvida;
}
Symbol 1122 MovieClip Frame 145
if (_level0.veneno2 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 1122 MovieClip Frame 167
if (_level0.regen2 > 0) {
gotoAndPlay ("cura");
} else if (_level0.veneno2 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 1122 MovieClip Frame 172
this["tda\u00F1o"] = _level0["da\u00F1o1"];
_level0.parapeto1 = 0;
Symbol 1122 MovieClip Frame 193
if (_level0.contra1 > 0) {
gotoAndPlay ("contra");
} else if ((_level0.cura > 0) || (_level0.regen2 > 0)) {
gotoAndPlay ("cura");
} else if (_level0.veneno2 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 1122 MovieClip Frame 194
stop();
_level0.setabg();
_level0.gotoAndStop("matchscores");
stop();
Symbol 1122 MovieClip Frame 203
_level0.attachMovie("matchscores", "matchscores", 0);
_level0.matchscores._x = _level0.matchscoresx;
_level0.matchscores._y = _level0.matchscoresy;
_level0.gotoAndStop("matchscores");
stop();
Symbol 1122 MovieClip Frame 213
_level0.vida1 = 20;
_level0.resucita = 0;
Symbol 1122 MovieClip Frame 234
if (_level0.invisible > 0) {
_level0.invisible = _level0.invisible - 1;
if (_level0.invisible == 0) {
_level0.animplayer1._alpha = 100;
}
}
this._parent.play();
Symbol 1123 MovieClip Frame 1
Symbol 1123 MovieClip Frame 2
trace((((("REPARTIENDO CARTAS: player1:" + _level0.numbar) + " player2:") + _level0.reparte) + " cindice actual=") + _level0.cindice);
if (_level0.cindice == 1) {
_level0.gfxbaraja.gotoAndStop(2);
} else if (_level0.cindice == 0) {
_level0.gfxbaraja.gotoAndStop(3);
} else if (_level0.cindice <= -1) {
trace("SE ACABO LA BARAJA. VOLVEMOS A BARAJAR...");
_level0.barajacartas();
stop();
trace("cindice: " + _level0.cindice);
}
Symbol 1123 MovieClip Frame 3
gotoAndPlay(4 + (_level0.numbar * 20));
Symbol 1123 MovieClip Frame 18
trace("repartiondo a player1...visible " + visible);
Symbol 1123 MovieClip Frame 22
i = 0;
while (i < _level0.numcartas) {
_level0.barajas[_level0.numbar][i]._visible = false;
i = i + 1;
}
visible = _level0.barajar[_level0.cindice];
trace("visible " + visible);
_level0.barajas[_level0.numbar][visible]._visible = true;
_level0.barajas[_level0.numbar]._visible = true;
_level0.cindice = _level0.cindice - 1;
if (_level0.cindice == 1) {
_level0.gfxbaraja.gotoAndStop(2);
} else if (_level0.cindice == 0) {
_level0.gfxbaraja.gotoAndStop(3);
} else if (_level0.cindice <= -1) {
trace("SE ACABO LA BARAJA. VOLVEMOS A BARAJAR (2)...");
_level0.barajacartas();
stop();
trace("cindice: " + _level0.cindice);
}
Symbol 1123 MovieClip Frame 23
trace("REPARTIMOS A PLAYER 2 EN POSICION:" + _level0.reparte);
gotoAndPlay(104 + (_level0.reparte * 7));
Symbol 1123 MovieClip Frame 38
trace("repartiondo a player1...visible " + visible);
Symbol 1123 MovieClip Frame 42
i = 0;
while (i < _level0.numcartas) {
_level0.barajas[_level0.numbar][i]._visible = false;
i = i + 1;
}
visible = _level0.barajar[_level0.cindice];
trace("visible " + visible);
_level0.barajas[_level0.numbar][visible]._visible = true;
_level0.barajas[_level0.numbar]._visible = true;
_level0.cindice = _level0.cindice - 1;
if (_level0.cindice == 1) {
_level0.gfxbaraja.gotoAndStop(2);
} else if (_level0.cindice == 0) {
_level0.gfxbaraja.gotoAndStop(3);
} else if (_level0.cindice <= -1) {
trace("SE ACABO LA BARAJA. VOLVEMOS A BARAJAR (2)...");
_level0.barajacartas();
stop();
trace("cindice: " + _level0.cindice);
}
Symbol 1123 MovieClip Frame 43
trace("REPARTIMOS A PLAYER 2 EN POSICION:" + _level0.reparte);
gotoAndPlay(104 + (_level0.reparte * 7));
Symbol 1123 MovieClip Frame 58
trace("repartiondo a player1...visible " + visible);
Symbol 1123 MovieClip Frame 62
i = 0;
while (i < _level0.numcartas) {
_level0.barajas[_level0.numbar][i]._visible = false;
i = i + 1;
}
visible = _level0.barajar[_level0.cindice];
trace("visible " + visible);
_level0.barajas[_level0.numbar][visible]._visible = true;
_level0.barajas[_level0.numbar]._visible = true;
_level0.cindice = _level0.cindice - 1;
if (_level0.cindice == 1) {
_level0.gfxbaraja.gotoAndStop(2);
} else if (_level0.cindice == 0) {
_level0.gfxbaraja.gotoAndStop(3);
} else if (_level0.cindice <= -1) {
trace("SE ACABO LA BARAJA. VOLVEMOS A BARAJAR (2)...");
_level0.barajacartas();
stop();
trace("cindice: " + _level0.cindice);
}
Symbol 1123 MovieClip Frame 63
trace("REPARTIMOS A PLAYER 2 EN POSICION:" + _level0.reparte);
gotoAndPlay(104 + (_level0.reparte * 7));
Symbol 1123 MovieClip Frame 78
trace("repartiondo a player1...visible " + visible);
Symbol 1123 MovieClip Frame 82
i = 0;
while (i < _level0.numcartas) {
_level0.barajas[_level0.numbar][i]._visible = false;
i = i + 1;
}
visible = _level0.barajar[_level0.cindice];
trace("visible " + visible);
_level0.barajas[_level0.numbar][visible]._visible = true;
_level0.barajas[_level0.numbar]._visible = true;
_level0.cindice = _level0.cindice - 1;
if (_level0.cindice == 1) {
_level0.gfxbaraja.gotoAndStop(2);
} else if (_level0.cindice == 0) {
_level0.gfxbaraja.gotoAndStop(3);
} else if (_level0.cindice <= -1) {
trace("SE ACABO LA BARAJA. VOLVEMOS A BARAJAR (2)...");
_level0.barajacartas();
stop();
trace("cindice: " + _level0.cindice);
}
Symbol 1123 MovieClip Frame 83
trace("REPARTIMOS A PLAYER 2 EN POSICION:" + _level0.reparte);
gotoAndPlay(104 + (_level0.reparte * 7));
Symbol 1123 MovieClip Frame 98
trace("repartiondo a player1...visible " + visible);
Symbol 1123 MovieClip Frame 102
i = 0;
while (i < _level0.numcartas) {
_level0.barajas[_level0.numbar][i]._visible = false;
i = i + 1;
}
visible = _level0.barajar[_level0.cindice];
trace("visible " + visible);
_level0.barajas[_level0.numbar][visible]._visible = true;
_level0.barajas[_level0.numbar]._visible = true;
_level0.cindice = _level0.cindice - 1;
if (_level0.cindice == 1) {
_level0.gfxbaraja.gotoAndStop(2);
} else if (_level0.cindice == 0) {
_level0.gfxbaraja.gotoAndStop(3);
} else if (_level0.cindice <= -1) {
trace("SE ACABO LA BARAJA. VOLVEMOS A BARAJAR (2)...");
_level0.barajacartas();
stop();
trace("cindice: " + _level0.cindice);
}
Symbol 1123 MovieClip Frame 103
trace("REPARTIMOS A PLAYER 2 EN POSICION:" + _level0.reparte);
gotoAndPlay(104 + (_level0.reparte * 7));
Symbol 1123 MovieClip Frame 110
_level0.cmalo1.gotoAndStop(1);
_level0.cmalo1._visible = true;
trace((("REPARTIDA OK la carta " + _level0.barajar[_level0.cindice]) + " en la posicion ") + _level0.reparte);
visible = _level0.barajar[_level0.cindice];
_level0.cindice = _level0.cindice - 1;
_level0.cartasp2[_level0.reparte] = visible;
trace("" + _level0.cartasp2);
this._parent.play();
stop();
Symbol 1123 MovieClip Frame 117
trace((("REPARTIDA OK la carta " + _level0.barajar[_level0.cindice]) + " en la posicion ") + _level0.reparte);
_level0.cmalo2.gotoAndStop(1);
_level0.cmalo2._visible = true;
visible = _level0.barajar[_level0.cindice];
_level0.cindice = _level0.cindice - 1;
_level0.cartasp2[_level0.reparte] = visible;
trace("" + _level0.cartasp2);
this._parent.play();
stop();
Symbol 1123 MovieClip Frame 124
_level0.cmalo3.gotoAndStop(1);
_level0.cmalo3._visible = true;
trace((("REPARTIDA OK la carta " + _level0.barajar[_level0.cindice]) + " en la posicion ") + _level0.reparte);
visible = _level0.barajar[_level0.cindice];
_level0.cindice = _level0.cindice - 1;
_level0.cartasp2[_level0.reparte] = visible;
trace("" + _level0.cartasp2);
this._parent.play();
stop();
Symbol 1123 MovieClip Frame 131
_level0.cmalo4.gotoAndStop(1);
_level0.cmalo4._visible = true;
trace((("REPARTIDA OK la carta " + _level0.barajar[_level0.cindice]) + " en la posicion ") + _level0.reparte);
visible = _level0.barajar[_level0.cindice];
_level0.cindice = _level0.cindice - 1;
_level0.cartasp2[_level0.reparte] = visible;
trace("" + _level0.cartasp2);
this._parent.play();
stop();
Symbol 1123 MovieClip Frame 138
_level0.cmalo5.gotoAndStop(1);
_level0.cmalo5._visible = true;
trace((("REPARTIDA OK la carta " + _level0.barajar[_level0.cindice]) + " en la posicion ") + _level0.reparte);
visible = _level0.barajar[_level0.cindice];
_level0.cindice = _level0.cindice - 1;
_level0.cartasp2[_level0.reparte] = visible;
trace("" + _level0.cartasp2);
this._parent.play();
stop();
Symbol 1124 MovieClip Frame 1
stop();
Symbol 1124 MovieClip Frame 2
this.mascara1._visible = false;
this.mascara3._visible = false;
stop();
Instance of Symbol 1096 MovieClip "cdaño2" in Symbol 1124 MovieClip Frame 2
/* no clip actions */
Symbol 1124 MovieClip Frame 21
_level0.barajamalo._visible = true;
i = 0;
while (i < _level0.numcartas) {
_level0.barmalo[i]._visible = false;
i = i + 1;
}
_level0.barmalo[_level0.destapa]._visible = true;
_level0.turno = 2;
if (_level0.ceguera2 == 0) {
if (_level0.runa1aux > 0) {
_level0.runa2 = _level0.runa2 + _level0.runa1aux;
} else if (_level0.runa1aux < 0) {
if (_level0.runa1 < 20) {
_level0.runa2 = _level0.runa2 + _level0.runa1;
_level0.runa1 = 0;
} else if (_level0.runa1 >= 20) {
if ((_level0.runa1 - 20) < 35) {
_level0.runa2 = _level0.runa2 + 20;
_level0.runa1 = _level0.runa1 - 20;
_level0.bruna1._width = _level0.runa1 * 5.7;
_level0.cruna1.gotoAndStop(1);
if (_level0.arma1 == 4) {
_level0.arma1 = 0;
_level0.marma1.gotoAndStop(1);
_level0.barma1._height = 0;
}
if (_level0.escudo1 == 3) {
_level0.escudo1 = 0;
_level0.mescudo1.gotoAndStop(1);
_level0.bescudo1._height = 0;
}
if (_level0.contra1 == 3) {
_level0.contra1 = 0;
_level0.mcontra1.gotoAndStop(1);
_level0.bcontra1._height = 0;
}
} else if (((_level0.runa1 - 20) >= 35) && ((_level0.runa1 - 20) < 70)) {
_level0.arma1 = 4;
_level0.escudo1 = 3;
_level0.contra1 = 3;
_level0.runa1 = _level0.runa1 - 20;
_level0.runa2 = _level0.runa2 + 20;
_level0.bruna1._width = (_level0.runa1 - 35) * 5.7;
_level0.cruna1.gotoAndStop(2);
_level0.mescudo1.gotoAndStop(2);
_level0.bescudo1._height = _level0.escudo1;
_level0.marma1.gotoAndStop(2);
_level0.barma1._height = _level0.arma1;
_level0.mcontra1.gotoAndStop(2);
_level0.bcontra1._height = _level0.contra1;
} else if (((_level0.runa1 - 20) >= 70) && ((_level0.runa1 - 20) < 105)) {
_level0.arma1 = 8;
_level0.escudo1 = 6;
_level0.contra1 = 5;
_level0.runa1 = _level0.runa1 - 20;
_level0.runa2 = _level0.runa2 + 20;
_level0.bruna1._width = (_level0.runa1 - 70) * 5.7;
_level0.cruna1.gotoAndStop(2);
_level0.mescudo1.gotoAndStop(2);
_level0.bescudo1._height = _level0.escudo1;
_level0.marma1.gotoAndStop(2);
_level0.barma1._height = _level0.arma1;
_level0.mcontra1.gotoAndStop(2);
_level0.bcontra1._height = _level0.contra1;
}
}
}
if (_level0.runa2 < 35) {
_level0.bruna2._width = _level0.runa2 * 5.7;
} else if ((_level0.runa2 >= 35) && (_level0.runa2 < 70)) {
_level0.bruna2._width = (_level0.runa2 - 35) * 5.7;
_level0.cruna2.gotoAndStop(2);
if (4 > _level0.arma2) {
_level0.arma2 = 4;
}
if (3 > _level0.escudo2) {
_level0.escudo2 = 3;
}
if (3 > _level0.contra2) {
_level0.contra2 = 3;
}
_level0.veneno2 = 0;
_level0.mveneno2.gotoAndStop(1);
_level0.bveneno2._height = 0;
} else if ((_level0.runa2 >= 70) && (_level0.runa2 < 105)) {
_level0.bruna2._width = (_level0.runa2 - 70) * 5.7;
_level0.cruna2.gotoAndStop(3);
if (8 > _level0.arma2) {
_level0.arma2 = 8;
}
if (6 > _level0.escudo2) {
_level0.escudo2 = 6;
}
if (5 > _level0.contra2) {
_level0.contra2 = 5;
}
_level0.veneno2 = 0;
_level0.mveneno2.gotoAndStop(1);
_level0.bveneno2._height = 0;
} else if (_level0.runa2 >= 105) {
_level0.runa2 = 105;
_level0.bruna2._width = 200;
_level0.cruna2.gotoAndStop(4);
if (12 > _level0.arma2) {
_level0.arma2 = 12;
}
if (10 > _level0.escudo2) {
_level0.escudo2 = 10;
}
if (8 > _level0.contra2) {
_level0.contra2 = 8;
}
_level0.veneno2 = 0;
_level0.mveneno2.gotoAndStop(1);
_level0.bveneno2._height = 0;
}
if (_level0["da\u00F1o"] > 0) {
_level0["da\u00F1o1"] = ((((_level0["da\u00F1o"] + _level0.arma2) + _level0.maldicion1) - _level0.escudo1) - _level0.bless1) * _level0.mult2;
if (_level0.mult2 > 1) {
_level0.mult2 = 1;
}
if (_level0["da\u00F1o1"] > _level0.largest) {
_level0.largest = _level0["da\u00F1o1"];
}
} else if (_level0["da\u00F1o"] <= 0) {
_level0["da\u00F1o1"] = 0;
}
if (_level0.multiplyaux > _level0.mult2) {
_level0.mult2 = _level0.multiplyaux;
}
if (_level0.regenaux > _level0.regen2) {
_level0.regen2 = _level0.regenaux;
}
if (_level0.arma1aux > _level0.arma2) {
_level0.arma2 = _level0.arma1aux;
}
if (_level0.escudo1aux > _level0.escudo2) {
_level0.escudo2 = _level0.escudo1aux;
}
if (_level0.contra1aux > _level0.contra2) {
_level0.contra2 = _level0.contra1aux;
}
if ((((_level0.veneno1aux > _level0.veneno1) && (_level0.runa1 < 35)) && (_level0.immunity == 0)) && (_level0.invisible == 0)) {
_level0.veneno1 = _level0.veneno1aux;
_level0.mveneno1.gotoAndStop(2);
_level0.bveneno1._height = _level0.veneno1;
}
if (((_level0.maldicion1aux > _level0.maldicion1) && (_level0.immunity == 0)) && (_level0.invisible == 0)) {
_level0.maldicion1 = _level0.maldicion1aux;
_level0.mmaldicion1.gotoAndStop(2);
}
if (_level0.bless1aux > _level0.bless2) {
_level0.bless2 = _level0.bless1aux;
}
if ((_level0.paraliza > _level0.paraliza2) && (_level0.invisible == 0)) {
_level0.paraliza2 = _level0.paraliza;
}
if ((_level0.ceguera1aux == 1) || ((random(100) < _level0.paraliza2) && (_level0.invisible == 0))) {
_level0.ceguera1 = 1;
}
if (_level0.parapeto1aux > _level0.parapeto2) {
_level0.parapeto2 = _level0.parapeto1aux;
}
if (_level0.dispels > 0) {
_level0.mmaldicion2.gotoAndStop(1);
_level0.maldicion2 = 0;
} else if ((_level0.dispelo > 0) && (_level0.invisible == 0)) {
if (_level0.axeofmight == 1) {
_level0.animplayer1.espada.gotoAndStop(8);
} else {
_level0.animplayer1.espada.gotoAndStop(1);
}
_level0.animplayer1.escudo.gotoAndStop(1);
_level0.paraliza1 = 0;
_level0.barma1._height = 0;
_level0.bescudo1._height = 0;
_level0.bcontra1._height = 0;
_level0.mmaldicion1.gotoAndStop(1);
_level0.mescudo1.gotoAndStop(1);
_level0.marma1.gotoAndStop(1);
_level0.ccontra1.gotoAndStop(1);
_level0.mbless1.gotoAndStop(1);
_level0.regen1 = 0;
_level0.maldicion1 = 0;
_level0.escudo1 = 0;
_level0.arma1 = 0;
_level0.contra1 = 0;
_level0.bless1 = 0;
_level0.barma1._height = 0;
_level0.bescudo1._height = 0;
_level0.bcontra1._height = 0;
}
if (_level0.curaveneno > 0) {
_level0.mveneno2.gotoAndStop(1);
_level0.veneno2 = 0;
}
_level0.cura2 = _level0.cura1aux;
}
_level0.turno = 0;
stop();
Symbol 1124 MovieClip Frame 22
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
_level0.barmalo[i]._visible = false;
i = i + 1;
}
_level0.turno = 0;
stop();
Symbol 1125 MovieClip Frame 1
stop();
Symbol 1125 MovieClip Frame 2
matriz1 = new Array(b1.carta1, b1.carta2, b1.carta3, b1.carta4, b1.carta5, b1.carta6, b1.carta7, b1.carta8, b1.carta9, b1.carta10, b1.carta11, b1.carta12, b1.carta13, b1.carta14, b1.carta15, b1.carta16, b1.carta17, b1.carta18, b1.carta19, b1.carta20, b1.carta21, b1.carta22, b1.carta23, b1.carta24, b1.carta25, b1.carta26, b1.carta27, b1.carta28, b1.carta29, b1.carta30, b1.carta31, b1.carta32, b1.carta33, b1.carta34, b1.carta35, b1.carta36);
i = 0;
while (i < _level0.numcartas) {
matriz1[i]._visible = false;
i = i + 1;
}
visible = _level0.cartasp2[1];
matriz1[visible]._visible = true;
Symbol 1126 MovieClip Frame 1
stop();
Symbol 1126 MovieClip Frame 2
matriz1 = new Array(b1.carta1, b1.carta2, b1.carta3, b1.carta4, b1.carta5, b1.carta6, b1.carta7, b1.carta8, b1.carta9, b1.carta10, b1.carta11, b1.carta12, b1.carta13, b1.carta14, b1.carta15, b1.carta16, b1.carta17, b1.carta18, b1.carta19, b1.carta20, b1.carta21, b1.carta22, b1.carta23, b1.carta24, b1.carta25, b1.carta26, b1.carta27, b1.carta28, b1.carta29, b1.carta30, b1.carta31, b1.carta32, b1.carta33, b1.carta34, b1.carta35, b1.carta36);
i = 0;
while (i < _level0.numcartas) {
matriz1[i]._visible = false;
i = i + 1;
}
visible = _level0.cartasp2[2];
matriz1[visible]._visible = true;
Symbol 1127 MovieClip Frame 1
stop();
Symbol 1127 MovieClip Frame 2
matriz1 = new Array(b1.carta1, b1.carta2, b1.carta3, b1.carta4, b1.carta5, b1.carta6, b1.carta7, b1.carta8, b1.carta9, b1.carta10, b1.carta11, b1.carta12, b1.carta13, b1.carta14, b1.carta15, b1.carta16, b1.carta17, b1.carta18, b1.carta19, b1.carta20, b1.carta21, b1.carta22, b1.carta23, b1.carta24, b1.carta25, b1.carta26, b1.carta27, b1.carta28, b1.carta29, b1.carta30, b1.carta31, b1.carta32, b1.carta33, b1.carta34, b1.carta35, b1.carta36);
i = 0;
while (i < _level0.numcartas) {
matriz1[i]._visible = false;
i = i + 1;
}
visible = _level0.cartasp2[3];
matriz1[visible]._visible = true;
Symbol 1128 MovieClip Frame 1
stop();
Symbol 1128 MovieClip Frame 2
matriz1 = new Array(b1.carta1, b1.carta2, b1.carta3, b1.carta4, b1.carta5, b1.carta6, b1.carta7, b1.carta8, b1.carta9, b1.carta10, b1.carta11, b1.carta12, b1.carta13, b1.carta14, b1.carta15, b1.carta16, b1.carta17, b1.carta18, b1.carta19, b1.carta20, b1.carta21, b1.carta22, b1.carta23, b1.carta24, b1.carta25, b1.carta26, b1.carta27, b1.carta28, b1.carta29, b1.carta30, b1.carta31, b1.carta32, b1.carta33, b1.carta34, b1.carta35, b1.carta36);
i = 0;
while (i < _level0.numcartas) {
matriz1[i]._visible = false;
i = i + 1;
}
visible = _level0.cartasp2[4];
matriz1[visible]._visible = true;
Symbol 1129 MovieClip Frame 1
stop();
Symbol 1130 MovieClip Frame 1
stop();
Symbol 1131 MovieClip Frame 1
k = 4;
stop();
Symbol 1132 MovieClip Frame 1
k = 3;
stop();
Symbol 1133 MovieClip Frame 1
k = 2;
stop();
Symbol 1134 MovieClip Frame 1
k = 1;
stop();
Symbol 1138 Button
on (release) {
this.play();
}
Symbol 1167 Button
on (release) {
this.play();
}
Symbol 1172 Button
on (release) {
_level0.gotoAndPlay("menu");
this._parent.play();
}
Symbol 1173 Button
on (release) {
if (muerto == 0) {
_level0.Mouse.hide();
gotoAndPlay ("morder");
}
}
Symbol 1182 MovieClip Frame 9
gotoAndPlay ("reposo");
Symbol 1182 MovieClip Frame 16
gotoAndPlay ("llorar");
Symbol 1187 MovieClip Frame 13
gotoAndPlay ("reposo");
Symbol 1187 MovieClip Frame 20
gotoAndPlay ("llorar");
Symbol 1188 MovieClip Frame 1
if (random(15) == 0) {
ojoi._yscale = 5;
ojod._yscale = 5;
}
Symbol 1188 MovieClip Frame 3
ojoi._yscale = 100;
ojod._yscale = 100;
Symbol 1188 MovieClip Frame 6
gotoAndPlay (1);
Symbol 1234 MovieClip Frame 1
var count = 0;
var change = 0;
var muerto = 0;
var seq = 0;
Symbol 1234 MovieClip Frame 110
count = count + 1;
if (count > 10) {
count = 0;
play();
seq = 2;
}
gotoAndPlay ("baila1");
Symbol 1234 MovieClip Frame 121
Symbol 1234 MovieClip Frame 126
Symbol 1234 MovieClip Frame 128
Symbol 1234 MovieClip Frame 130
Symbol 1234 MovieClip Frame 132
gotoAndPlay ("baila2");
Symbol 1234 MovieClip Frame 143
gotoAndPlay ("baila1");
Symbol 1234 MovieClip Frame 181
seq = seq + 1;
trace("seq=" + seq);
gotoAndPlay ("baila2");
Symbol 1234 MovieClip Frame 182
muerto = 1;
if (this._parent.madder1.muerto == 1) {
this._parent.madder1r.muerto = 1;
this._parent.madder1r.gotoAndPlay("morder2");
}
if (this._parent.madder1r.muerto == 1) {
this._parent.madder1.muerto = 1;
this._parent.madder1.gotoAndPlay("morder2");
}
if (this._parent.madder2.muerto == 1) {
this._parent.madder2r.muerto = 1;
this._parent.madder2r.gotoAndPlay("morder2");
}
if (this._parent.madder2r.muerto == 1) {
this._parent.madder2.muerto = 1;
this._parent.madder2.gotoAndPlay("morder2");
}
Symbol 1234 MovieClip Frame 188
_level0.cmouse._visible = false;
Symbol 1234 MovieClip Frame 211
_level0.createwindow2(("Plaff!...by the way did you know the cheats code is '" + _level0.password) + "'?");
_level0.cmouse._visible = true;
_level0.cmouse.gotoAndPlay("vuela");
Symbol 1234 MovieClip Frame 215
muerto = 2;
stop();
Symbol 1234 MovieClip Frame 216
cojos.ojoi.gotoAndPlay("llorar");
cojos.ojod.gotoAndPlay("llorar");
Symbol 1234 MovieClip Frame 228
gotoAndPlay ("llorar");
Symbol 1235 MovieClip Frame 1
besthit = _level0.besthit;
largest = _level0.largest;
trafo1 = _level0.trafo1;
trafo2 = _level0.trafo2;
trafo3 = _level0.trafo3;
lifehealed = _level0.lifehealed;
ncounter = _level0.ncounter;
totaldamage = _level0.totaldamage;
tiempojusto = _level0.gametime;
time = Math.round(tiempojusto / 60000) + " minutes";
stop();
Symbol 1235 MovieClip Frame 53
stop();
botonsecreto.useHandCursor = false;
Symbol 1235 MovieClip Frame 54
seq = 1;
Symbol 1235 MovieClip Frame 89
if ((madder1.muerto == 0) && (madder2.muerto == 0)) {
if ((madder1.seq == 2) && (madder1._x < 401)) {
madder1._x = madder1._x + 1;
madder1r._x = madder1._x + 1;
madder2._x = madder2._x - 1;
madder2r._x = madder2._x - 1;
}
if ((madder1._x == 401) && (madder1.seq == 2)) {
madder1._x = madder1._x + 1;
madder1r._x = madder1._x + 1;
madder2._x = madder2._x - 1;
madder2r._x = madder2._x - 1;
madder1.gotoAndPlay("vuelta");
madder1r.gotoAndPlay("vuelta");
madder2.gotoAndPlay("vuelta");
madder2r.gotoAndPlay("vuelta");
}
if ((madder1.seq == 3) && (madder1._x < 601)) {
madder1._x = madder1._x + 1;
madder1r._x = madder1._x + 1;
madder2._x = madder2._x - 1;
madder2r._x = madder2._x - 1;
}
if ((madder1._x == 601) && (madder1.seq == 3)) {
madder1._x = madder1._x + 1;
madder1r._x = madder1._x + 1;
madder2._x = madder2._x - 1;
madder2r._x = madder2._x - 1;
madder1.gotoAndPlay("vuelta");
madder1r.gotoAndPlay("vuelta");
madder2.gotoAndPlay("vuelta");
madder2r.gotoAndPlay("vuelta");
}
if ((madder1.seq == 4) && (madder1._x > 200)) {
madder1._x = madder1._x - 1;
madder1r._x = madder1._x - 1;
madder2._x = madder2._x + 1;
madder2r._x = madder2._x + 1;
}
if ((madder1._x == 200) && (madder1.seq == 4)) {
madder1._x = madder1._x - 1;
madder1r._x = madder1._x - 1;
madder2._x = madder2._x + 1;
madder2r._x = madder2._x + 1;
madder1.gotoAndPlay("vuelta");
madder1r.gotoAndPlay("vuelta");
madder2.gotoAndPlay("vuelta");
madder2r.gotoAndPlay("vuelta");
}
if (madder1.seq == 5) {
trace("estoy aki");
madder1.seq = 1;
madder1r.seq = 1;
madder2.seq = 1;
madder2r.seq = 1;
madder1.gotoAndPlay("baila1");
madder1r.gotoAndPlay("baila1");
madder2.gotoAndPlay("baila1");
madder2r.gotoAndPlay("baila1");
}
} else if ((madder1.muerto == 1) && (madder2.muerto == 0)) {
madder2.gotoAndPlay("llorar");
madder2r.gotoAndPlay("llorar");
} else if ((madder2.muerto == 1) && (madder1.muerto == 0)) {
madder1.gotoAndPlay("llorar");
madder1r.gotoAndPlay("llorar");
}
Symbol 1235 MovieClip Frame 90
stop();
gotoAndPlay ("bucle");