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;
_level0.version = "MW Survival OS v1.0";
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
testeoFinal = 0;
testeoCartas = 0;
testeoRecords = 0;
testeoLocal = 1;
diffArray = ["Newbie", "Skilled", "Master"];
_level0.hacha1 = 0;
_level0.hacha2 = 0;
_level0.plume = 0;
_level0.resucita = 0;
_level0.ring = 0;
_level0.orbofsaruman = 0;
_level0.munchetes = 0;
_level0.gem = 0;
pricesArray = [[1000, 1250, 1300], [650, 900, 1000], [350, 550, 700], [750, 1000, 1050], [800, 1100, 1100], [1100, 1300, 1350], [1000, 1250, 1300]];
vendedor.gotoAndPlay("cargando");
_level0.vendedor.setx = 120;
_level0.vendedor.sety = 120;
stop();
Frame 8
stop();
_level0.fat2 = this.getBytesTotal();
_level0.lmp1 = 48946;
_level0.lmp2 = 13470;
_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.password = "gambit";
_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.hacha1 = 0;
_level0.hacha2 = 0;
_level0.plume = 0;
_level0.resucita = 0;
_level0.ring = 0;
_level0.orbofsaruman = 0;
_level0.munchetes = 0;
_level0.gem = 0;
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();
cardpat.play();
hfondo.play();
Frame 9
gotoAndStop ("menu");
Frame 14
nextFrame();
Frame 15
stop();
Frame 20
nextFrame();
Frame 21
stop();
Frame 22
prevFrame();
Frame 26
nextFrame();
Frame 28
matchcardsused = 0;
matchdamagereceived = 0;
gotoAndStop ("shop");
Frame 33
function initModifiers() {
if (difficulty == _level0.diffArray[0]) {
arma2 = 0;
marma2.gotoAndStop(1);
barma2._height = 0;
escudo2 = 0;
mescudo2.gotoAndStop(1);
bescudo2._height = 0;
contra2 = 0;
ccontra2.gotoAndStop(1);
bcontra2._height = 0;
} else if (difficulty == _level0.diffArray[1]) {
arma2 = ((_level0.level <= 6) ? 1 : 1);
marma2.gotoAndStop(2);
barma2._height = arma2;
escudo2 = ((_level0.level <= 6) ? 1 : 3);
mescudo2.gotoAndStop(2);
bescudo2._height = escudo2;
contra2 = ((_level0.level <= 6) ? 0 : 1);
ccontra2.gotoAndStop(contra2);
bcontra2._height = contra2;
} else if (difficulty == _level0.diffArray[2]) {
arma2 = ((_level0.level <= 6) ? 2 : 4);
marma2.gotoAndStop(2);
barma2._height = arma2;
escudo2 = ((_level0.level <= 6) ? 2 : 4);
mescudo2.gotoAndStop(2);
bescudo2._height = escudo2;
contra2 = ((_level0.level <= 6) ? 1 : 3);
ccontra2.gotoAndStop(2);
bcontra2._height = contra2;
}
vida2 = maxvida;
Set("da\u00F1o2", 0);
mult2 = 1;
paraliza2 = 0;
bless2 = 0;
parapeto2 = 0;
runa2 = 0;
ceguera2 = 0;
maldicion2 = 0;
veneno2 = 0;
regen2 = 0;
mregen2.gotoAndStop(1);
bregen2._height = 0;
mmaldicion2.gotoAndStop(1);
mveneno2.gotoAndStop(1);
mceguera2.gotoAndStop(1);
cruna2.gotoAndStop(1);
bruna2._width = 1;
}
function initGame() {
if (difficulty == _level0.diffArray[0]) {
penaltyFix = 13;
penaltyMultiply = 1;
diffactor = 5;
survivalhealth = 150;
} else if (difficulty == _level0.diffArray[1]) {
penaltyFix = 9;
penaltyMultiply = 1;
diffactor = 10;
survivalhealth = 130;
} else if (difficulty == _level0.diffArray[2]) {
penaltyFix = 6;
penaltyMultiply = 0.5;
diffactor = 20;
survivalhealth = 99;
} else {
createwindow("difficulty variable not defined", 150, 100);
this.gotoAndStop("menu");
}
if (testeoRecords == 1) {
survivalhealth = 25;
}
if (_level0.level == 0) {
vida1 = survivalhealth;
}
penalty = 0;
penaltyCounter = Math.floor(penaltyFix + (penaltyMultiply * _level0.level));
trace((((("PENALTY SETTINGS (" + difficulty) + "): penaltyFix=") + penaltyFix) + "; penaltyCounter=") + penaltyCounter);
}
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;
initGame();
initModifiers();
if (_level0.hacha1 > 0) {
_level0.animplayer1.espada.gotoAndStop(8);
}
if (_level0.hacha2 > 0) {
_level0.animplayer1.espada.gotoAndStop(6);
}
_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.bveneno2._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;
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;
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;
mregen1.gotoAndStop(1);
bregen1._height = 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;
if (testeoFinal == 1) {
vida2 = 5;
_level0.level = 11;
}
Frame 76
function barajacartas(tipo) {
trace("Barajando baraja " + tipo);
if (tipo == "inicial") {
auxSub = 0;
} else if (tipo == "normal") {
auxSub = 10;
}
_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;
}
trace("duplicados=" + cartasenmesa);
if (tipo == "normal") {
_level0.eliminaDuplicados(cartasenmesa);
}
trace("Nuestra Baraja: " + _level0.barajar);
_level0.cindice = (_level0.actualcards - 1) - auxSub;
_level0.flagbarajar = false;
trace("HEMOS BARAJADO: cindice actual=" + _level0.cindice);
}
function eliminaDuplicados(duplicados) {
trace("Eliminando Duplicados...");
auxlength = _level0.actualcards;
i = 0;
while (i < auxlength) {
if ((((((((((_level0.barajar[i] == duplicados[0]) || (_level0.barajar[i] == duplicados[1])) || (_level0.barajar[i] == duplicados[2])) || (_level0.barajar[i] == duplicados[3])) || (_level0.barajar[i] == duplicados[4])) || (_level0.barajar[i] == duplicados[5])) || (_level0.barajar[i] == duplicados[6])) || (_level0.barajar[i] == duplicados[7])) || (_level0.barajar[i] == duplicados[8])) || (_level0.barajar[i] == duplicados[9])) {
k = i;
while (k < (auxlength - 1)) {
_level0.barajar[k] = _level0.barajar[k + 1];
k++;
}
i--;
auxlength--;
}
i++;
}
}
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 * diffactor) * fact;
_level0.score = _level0.score + bonus;
trace((("level0.score=" + _level0.score) + "+") + bonus);
}
if ((_arg1 >= 20) && (_arg1 < 30)) {
bonus = ((_arg1 * diffactor) + 50) * fact;
_level0.score = _level0.score + bonus;
_level0.createbonuswindow("Great Hit", (_arg1 * diffactor) + "+50", p);
} else if ((_arg1 >= 30) && (_arg1 < 40)) {
bonus = ((_arg1 * diffactor) + 60) * fact;
_level0.score = _level0.score + bonus;
_level0.createbonuswindow("Outstanding Hit", (_arg1 * diffactor) + "+60", p);
} else if ((_arg1 >= 40) && (_arg1 < 60)) {
bonus = ((_arg1 * diffactor) + 70) * fact;
_level0.score = _level0.score + bonus;
_level0.createbonuswindow("Supreme Hit", (_arg1 * diffactor) + "+70", p);
} else if ((_arg1 >= 60) && (_arg1 < 70)) {
bonus = ((_arg1 * diffactor) + 85) * fact;
_level0.score = _level0.score + bonus;
_level0.createbonuswindow("Death Hit", (_arg1 * diffactor) + "+85", p);
} else if (_arg1 > 70) {
bonus = ((_arg1 * diffactor) + 100) * fact;
_level0.score = _level0.score + bonus;
_level0.createbonuswindow("Perfect Hit", (_arg1 * diffactor) + "+100", p);
}
}
function setabg() {
_level0.anclado.alfa = _level0.score;
_level0.anclado.beta = _level0.besthit;
_level0.anclado.gamma = _level0.vida1;
_level0.calcularack();
}
function mirarcartas() {
_level0.cmalo1.gotoAndStop(2);
_level0.cmalo2.gotoAndStop(2);
_level0.cmalo3.gotoAndStop(2);
_level0.cmalo4.gotoAndStop(2);
_level0.cmalo5.gotoAndStop(2);
}
function updatePenalty() {
penaltyCounter--;
if (penaltyCounter == 0) {
penaltyCounter = penaltyFix + Math.floor(_level0.level * penaltyMultiply);
penalty--;
infoPanel.penalty.play();
}
}
function executePenalty() {
if ((penalty < 0) && (_level0.vida1 > 0)) {
_level0.lifePenalty.play();
}
}
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);
cartasenmesa = new Array(10);
barajar = new Array(numcartas);
cindice = actualcards - 1;
barajacartas("inicial");
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];
cartasenmesa[k] = visible;
cindice = cindice - 1;
barajas[k][visible]._visible = true;
k = k + 1;
}
cartasp2 = new Array(5);
k = 0;
while (k < 5) {
cartasenmesa[k + 5] = barajar[cindice];
cartasp2[k] = barajar[cindice];
cindice = cindice - 1;
k = k + 1;
}
if (_level0.testeoCartas == 1) {
_level0.mirarcartas();
}
stop();
Frame 78
gotoAndStop ("juego");
Frame 81
stop();
Symbol 17 MovieClip Frame 20
this._parent.rayos2.play();
Symbol 22 MovieClip Frame 1
stop();
Symbol 22 MovieClip Frame 20
this._parent.rayos3.play();
Symbol 26 MovieClip Frame 1
stop();
Symbol 27 MovieClip Frame 1
rayos1._rotation = random(360);
Symbol 27 MovieClip Frame 2
rayos2._rotation = random(360);
Symbol 27 MovieClip Frame 3
rayos3._rotation = random(360);
Symbol 35 MovieClip Frame 49
gotoAndPlay ("reposo");
Symbol 35 MovieClip Frame 50
Symbol 35 MovieClip Frame 69
gotoAndPlay ("cargando");
Symbol 35 MovieClip Frame 70
_level0.createEmptyMovieClip("vacio1", 1);
_level0.vacio1._x = -800;
Symbol 35 MovieClip Frame 85
trace("TAMA\u00D1O PRINCIPAL=" + _level0.fat);
trace("TAMA\u00D1O SECUNDARIO=" + _level0.fat2);
trace("TAMA\u00D1O TOTAL=" + (_level0.fat + _level0.fat2));
_level0.fat = _level0.fat + _level0.fat2;
_level0.gotoAndStop("menu");
Symbol 50 MovieClip Frame 1
_level0.fat = _level0.getBytesTotal();
total = ("Total size: " + Math.round(_level0.fat / 1024)) + " kbytes";
lcarga.mask._width = 1;
escalar = 0;
Symbol 50 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 50 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 50 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 50 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 50 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 61 MovieClip Frame 8
stop();
Symbol 82 Button
on (release) {
_level0.difficulty = "Master";
_level0.gotoAndPlay("game");
this.gotoAndPlay("fadeout");
_level0.gametimeoffset = getTimer();
}
Symbol 83 Button
on (release) {
_level0.difficulty = "Skilled";
_level0.gotoAndPlay("game");
this.gotoAndPlay("fadeout");
_level0.gametimeoffset = getTimer();
}
Symbol 84 Button
on (release) {
_level0.difficulty = "Newbie";
_level0.gotoAndPlay("game");
this.gotoAndPlay("fadeout");
_level0.gametimeoffset = getTimer();
}
Symbol 90 MovieClip [difficultySettings] Frame 57
gotoAndPlay ("bucle");
Symbol 90 MovieClip [difficultySettings] Frame 64
this.removeMovieClip();
Symbol 99 MovieClip [bonuswindow] Frame 1
cuadrotexto.texto = this.texto;
Symbol 99 MovieClip [bonuswindow] Frame 34
cuadrotexto.texto = this.bonus;
Symbol 99 MovieClip [bonuswindow] Frame 65
_level0.bonuswindow.removeMovieClip();
Symbol 104 Button
on (release) {
_level0.calcularack();
this.play();
}
Symbol 107 MovieClip [connectionproblem] Frame 4
stop();
Symbol 107 MovieClip [connectionproblem] Frame 7
_level0.connectionproblem.removeMovieClip();
Symbol 118 Button
on (release) {
_level0.gotoAndPlay("matchscores");
play();
}
Symbol 126 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 127 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 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"] = 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 142 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 143 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 151 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 152 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 159 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 160 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 168 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 169 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 177 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 178 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 185 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 186 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 193 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 194 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 201 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 202 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 213 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 214 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 221 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 222 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 230 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 231 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 237 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 238 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 243 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 244 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 251 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 252 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 259 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 260 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 267 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 268 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 275 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 276 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 282 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 283 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 291 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 292 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 296 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 297 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 301 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 302 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 308 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 309 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 313 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 314 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 321 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 322 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 329 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 330 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 336 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 337 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 343 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 344 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 348 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 349 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 353 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 354 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 358 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 359 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 364 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 365 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 369 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 370 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 376 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 377 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 384 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 385 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 386 MovieClip Frame 1
k = 0;
stop();
Symbol 398 MovieClip Frame 1
stop();
Symbol 398 MovieClip Frame 7
stop();
Symbol 402 MovieClip Frame 1
stop();
Symbol 402 MovieClip Frame 9
gotoAndPlay ("bucle");
Symbol 410 MovieClip Frame 1
stop();
Symbol 410 MovieClip Frame 6
stop();
Symbol 425 Button
on (release) {
this.gotoAndPlay("fin");
_level0.gotoAndStop("shop");
}
Symbol 427 Button
on (release) {
this.gotoAndPlay("fin");
_level0.level = 12;
_level0.setabg();
}
Symbol 430 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 434 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 434 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 434 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 434 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 434 MovieClip Frame 58
gotoAndPlay ("bucle");
Symbol 434 MovieClip Frame 64
_level0.matchscores.removeMovieClip();
Symbol 435 MovieClip [matchscores] Frame 1
Symbol 435 MovieClip [matchscores] Frame 2
stop();
Symbol 446 Button
on (release) {
getURL ("http://www.maganicwars.com", "_blank");
}
Symbol 451 Button
on (release) {
this.gotoAndPlay("fin");
}
Symbol 455 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 455 MovieClip [offline] Frame 9
texto = "Congrats, you've entered one or more top 1000 tables";
score = _level0.score;
nombre = "";
stop();
Symbol 455 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 459 Button
on (release) {
_level0.gotoAndStop("menu");
this.gotoAndPlay("fin");
}
Symbol 468 Button
on (release) {
_level0.level = -1;
_level0.score = 0;
_level0.besthit = 0;
_level0.gametimeoffset = getTimer();
_level0.gotoAndPlay("game");
this.gotoAndPlay("fin");
}
Symbol 472 MovieClip [playerpierde] Frame 52
gotoAndPlay (10);
Symbol 472 MovieClip [playerpierde] Frame 57
this.removeMovieClip();
Symbol 478 Button
on (release) {
_level0.createwindow2("You can find full highscores, besthit and fastest winner top 100 tables at www.maganicwars.com");
}
Symbol 481 Button
on (release) {
_level0.gotoAndStop("menu");
this.play();
}
Symbol 499 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 499 MovieClip [top15] Frame 13
this.removeMovieClip();
Symbol 500 Button
on (release) {
this.play();
}
Symbol 502 MovieClip [window2] Frame 4
stop();
cuadrotexto._width = sizex - 20;
cuadrotexto._x = 10;
cuadrotexto._y = 10;
cuadrotexto._height = sizey - 20;
Symbol 502 MovieClip [window2] Frame 7
_level0.window2.removeMovieClip();
Symbol 503 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 506 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 515 MovieClip Frame 1
email = "";
Symbol 517 Button
on (release) {
this.gotoAndStop("entername");
}
Symbol 521 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 524 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 524 MovieClip [introducirrecord] Frame 9
texto = "Congrats, you've entered one or more top 1000 tables";
nombre = "";
stop();
Symbol 524 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 524 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 524 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 524 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 524 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 526 MovieClip [window] Frame 4
stop();
Symbol 526 MovieClip [window] Frame 7
_level0.window.removeMovieClip();
Symbol 539 Button
on (release) {
_level0.attachMovie("top15", "top15", 1);
_level0.top15._x = 26;
_level0.top15._y = 27;
_level0.gotoAndPlay("matchscores");
}
Symbol 540 Button
on (release) {
_level0.attachMovie("difficultySettings", "difficulty", 1, {_x:208, _y:162, _xscale:80, _yscale:80});
_level0.gotoAndStop("matchscores");
trace("aun no ha llegado fat2");
}
Symbol 542 Button
on (release) {
_level0.gotoAndPlay("instructions");
}
Symbol 546 MovieClip Frame 52
gotoAndPlay ("bucle");
Symbol 571 Button
on (release) {
_level0.createwindow("OutSite version of Maganic Wars Survival. Check website for details on hosting.", 200, 80);
}
Symbol 584 MovieClip Frame 1
stop();
Symbol 584 MovieClip Frame 18
gotoAndPlay ("ataca");
Symbol 584 MovieClip Frame 41
gotoAndPlay ("ataca");
Symbol 584 MovieClip Frame 44
gotoAndPlay ("veneno");
Symbol 584 MovieClip Frame 45
stop();
Symbol 588 MovieClip Frame 10
Symbol 588 MovieClip Frame 23
Symbol 588 MovieClip Frame 35
Symbol 588 MovieClip Frame 50
Symbol 588 MovieClip Frame 65
Symbol 605 MovieClip Frame 1
stop();
Symbol 613 MovieClip Frame 1
stop();
Symbol 613 MovieClip Frame 2
stop();
Symbol 618 MovieClip Frame 1
stop();
Symbol 618 MovieClip Frame 2
stop();
Symbol 625 MovieClip Frame 1
stop();
Symbol 628 MovieClip Frame 1
stop();
Symbol 628 MovieClip Frame 2
stop();
Symbol 632 MovieClip Frame 1
stop();
Symbol 632 MovieClip Frame 2
stop();
Symbol 632 MovieClip Frame 3
stop();
Symbol 633 MovieClip Frame 1
stop();
Symbol 633 MovieClip Frame 10
stop();
Symbol 667 MovieClip Frame 1
stop();
Symbol 667 MovieClip Frame 2
stop();
Symbol 667 MovieClip Frame 3
stop();
Symbol 667 MovieClip Frame 8
stop();
Symbol 671 MovieClip Frame 1
stop();
Symbol 671 MovieClip Frame 2
stop();
Symbol 671 MovieClip Frame 3
stop();
Symbol 677 MovieClip Frame 1
stop();
Symbol 677 MovieClip Frame 2
stop();
Symbol 677 MovieClip Frame 3
stop();
Symbol 685 MovieClip Frame 1
stop();
Symbol 690 MovieClip Frame 1
stop();
Symbol 690 MovieClip Frame 2
stop();
Symbol 701 MovieClip Frame 1
function setallhair(f) {
pelomedio.gotoAndStop(f);
pelofront.gotoAndStop(f);
peloback.gotoAndStop(f);
}
Symbol 701 MovieClip Frame 49
gotoAndPlay ("reposo");
Symbol 701 MovieClip Frame 80
gotoAndPlay ("reposo");
Symbol 701 MovieClip Frame 81
brazoizquierdo.gotoAndPlay("doblar");
Symbol 701 MovieClip Frame 94
this.cara.boca.gotoAndStop("veneno");
Symbol 701 MovieClip Frame 126
cara.boca.gotoAndStop("reposo");
brazoizquierdo.gotoAndPlay("estirar");
this.gotoAndPlay("reposo");
Symbol 701 MovieClip Frame 127
brazoizquierdo.gotoAndStop("estirar");
Symbol 701 MovieClip Frame 138
gotoAndPlay ("trafo");
Symbol 704 MovieClip Frame 1
function calcularancla(i) {
aux = 0;
_level0.cambiodearray.calcularagrandar();
if (i == 1) {
aux = (((3 * Number(alfa)) + (2 * Number(auxr))) + Number(auxb)) + 4;
} else if (i == 12) {
aux = ((Number(alfa) + (3 * Number(auxr))) + (2 * Number(auxb))) + 1;
} else if (i == 13) {
aux = (((2 * Number(alfa)) + Number(auxr)) + (4 * Number(auxb))) + 8;
} else if (i == 2) {
aux = (((3 * Number(beta)) + (2 * Number(auxr))) + Number(auxb)) + 4;
} else if (i == 22) {
aux = ((Number(beta) + (3 * Number(auxr))) + (2 * Number(auxb))) + 1;
} else if (i == 23) {
aux = (((2 * Number(beta)) + Number(auxr)) + (4 * Number(auxb))) + 8;
} else if (i == 3) {
aux = (((3 * Math.round(Number(gamma))) + (2 * Number(auxr))) + Number(auxb)) + 4;
} else if (i == 32) {
aux = ((Math.round(Number(gamma)) + (3 * Number(auxr))) + (2 * Number(auxb))) + 1;
} else if (i == 33) {
aux = (((2 * Math.round(Number(gamma))) + Number(auxr)) + (4 * Number(auxb))) + 8;
} else {
trace("error de datos en calcular ancla");
}
trace((((("CALCULAR ANCLA: alfa=" + alfa) + " beta=") + beta) + " gamma=") + gamma);
trace((("CALCULAR ANCLA: auxr=" + auxr) + " auxb=") + auxb);
trace((("CALCULAR ANCLA: aux(" + i) + ")=") + aux);
_level0.cambiodearray.agrandar = 0;
return(aux);
}
Symbol 705 MovieClip Frame 2
length = 369.82;
stop();
Symbol 714 Button
on (release) {
_level0.gotoAndStop("menu");
}
Symbol 746 MovieClip Frame 1
stop();
Symbol 746 MovieClip Frame 2
mask.useHandCursor = false;
Symbol 748 Button
on (release) {
this.tapete._visible = false;
}
Symbol 755 Button
on (release) {
_level0.gotoAndPlay("game");
}
Symbol 764 Button
on (release) {
if ((_level0.vida1 - 20) > 0) {
_level0.vida1 = _level0.vida1 - 20;
this.catattack.play();
} else {
_level0.vida1 = 1;
}
}
Symbol 769 Button
on (release) {
if (_level0.score > price) {
gotoAndStop (2);
_level0.plume = 1;
_level0.resucita = 1;
_level0.score = _level0.score - price;
this._parent.money = _level0.score;
}
}
Symbol 772 MovieClip Frame 1
k = 5;
if (_level0.difficulty == _level0.diffArray[0]) {
price = _level0.pricesArray[k][0];
} else if (_level0.difficulty == _level0.diffArray[1]) {
price = _level0.pricesArray[k][1];
} else if (_level0.difficulty == _level0.diffArray[2]) {
price = _level0.pricesArray[k][2];
}
stop();
Symbol 772 MovieClip Frame 2
stop();
Symbol 778 Button
on (release) {
if (_level0.score > price) {
gotoAndStop (2);
this._parent.hacha1.enabled = false;
_level0.hacha1 = 0;
_level0.hacha2 = axemodif;
_level0.score = _level0.score - price;
this._parent.money = _level0.score;
}
}
Symbol 781 MovieClip Frame 1
stop();
k = 0;
if (_level0.difficulty == _level0.diffArray[0]) {
price = _level0.pricesArray[k][0];
axemodif = 2;
} else if (_level0.difficulty == _level0.diffArray[1]) {
price = _level0.pricesArray[k][1];
axemodif = 2;
} else if (_level0.difficulty == _level0.diffArray[2]) {
price = _level0.pricesArray[k][2];
axemodif = 2;
}
button.axetext = axemodif;
Symbol 781 MovieClip Frame 2
stop();
Symbol 785 Button
on (release) {
if (_level0.score > price) {
gotoAndStop (2);
this._parent.hacha2.enabled = false;
_level0.hacha2 = 0;
_level0.hacha1 = axemodif;
_level0.score = _level0.score - price;
this._parent.money = _level0.score;
}
}
Symbol 788 MovieClip Frame 1
stop();
k = 6;
if (_level0.difficulty == _level0.diffArray[0]) {
price = _level0.pricesArray[k][0];
axemodif = 2;
} else if (_level0.difficulty == _level0.diffArray[1]) {
price = _level0.pricesArray[k][1];
axemodif = 2;
} else if (_level0.difficulty == _level0.diffArray[2]) {
price = _level0.pricesArray[k][2];
axemodif = 2;
}
button.axetext = axemodif;
Symbol 788 MovieClip Frame 2
stop();
Symbol 792 Button
on (release) {
if (_level0.score > price) {
gotoAndStop (2);
_level0.orbofsaruman = 1;
_level0.score = _level0.score - price;
this._parent.money = _level0.score;
}
}
Symbol 795 MovieClip Frame 1
stop();
k = 2;
if (_level0.difficulty == _level0.diffArray[0]) {
price = _level0.pricesArray[k][0];
} else if (_level0.difficulty == _level0.diffArray[1]) {
price = _level0.pricesArray[k][1];
} else if (_level0.difficulty == _level0.diffArray[2]) {
price = _level0.pricesArray[k][2];
}
Symbol 795 MovieClip Frame 2
stop();
Symbol 799 Button
on (release) {
if (_level0.score > price) {
gotoAndStop (2);
_level0.gem = 1;
_level0.score = _level0.score - price;
this._parent.money = _level0.score;
}
}
Symbol 802 MovieClip Frame 1
k = 4;
if (_level0.difficulty == _level0.diffArray[0]) {
price = _level0.pricesArray[k][0];
} else if (_level0.difficulty == _level0.diffArray[1]) {
price = _level0.pricesArray[k][1];
} else if (_level0.difficulty == _level0.diffArray[2]) {
price = _level0.pricesArray[k][2];
}
stop();
Symbol 802 MovieClip Frame 2
stop();
Symbol 806 Button
on (release) {
if (_level0.score > price) {
gotoAndStop (2);
_level0.munchetes = 1;
_level0.score = _level0.score - price;
this._parent.money = _level0.score;
}
}
Symbol 809 MovieClip Frame 1
k = 3;
if (_level0.difficulty == _level0.diffArray[0]) {
price = _level0.pricesArray[k][0];
} else if (_level0.difficulty == _level0.diffArray[1]) {
price = _level0.pricesArray[k][1];
} else if (_level0.difficulty == _level0.diffArray[2]) {
price = _level0.pricesArray[k][2];
}
stop();
Symbol 809 MovieClip Frame 2
stop();
Symbol 813 Button
on (release) {
if (_level0.score > price) {
gotoAndStop (2);
_level0.ring = 1;
_level0.score = _level0.score - price;
this._parent.money = _level0.score;
}
}
Symbol 816 MovieClip Frame 1
k = 1;
if (_level0.difficulty == _level0.diffArray[0]) {
price = _level0.pricesArray[k][0];
} else if (_level0.difficulty == _level0.diffArray[1]) {
price = _level0.pricesArray[k][1];
} else if (_level0.difficulty == _level0.diffArray[2]) {
price = _level0.pricesArray[k][2];
}
stop();
Symbol 816 MovieClip Frame 2
stop();
Symbol 822 MovieClip Frame 1
stop();
Symbol 822 MovieClip Frame 2
stop();
Symbol 851 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 854 MovieClip Frame 1
stop();
Symbol 854 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 859 MovieClip Frame 1
stop();
Symbol 859 MovieClip Frame 2
this.clipPenalty.texto = _level0.penalty;
_level0.vida1 = _level0.vida1 + _level0.penalty;
Symbol 859 MovieClip Frame 29
Symbol 866 Button
on (release) {
gotoAndPlay (2);
}
Symbol 871 Button
on (release) {
gotoAndStop (2);
_level0.invisible = 2;
_level0.animplayer1._alpha = 50;
_level0.ring = 0;
}
Symbol 872 MovieClip Frame 1
stop();
Symbol 873 Button
on (release) {
gotoAndStop (2);
_level0.mirarcartas();
_level0.orbofsaruman = 0;
}
Symbol 874 MovieClip Frame 1
stop();
Symbol 875 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 876 MovieClip Frame 1
stop();
Symbol 880 Button
on (release) {
gotoAndStop ("more1");
}
Symbol 883 Button
on (release) {
this.gotoAndPlay("cierra");
}
Symbol 885 Button
on (release) {
gotoAndStop (2);
if (_level0.vida1 < (_level0.survivalhealth - 20)) {
_level0.vida1 = _level0.vida1 + 20;
} else {
_level0.vida1 = _level0.survivalhealth;
}
_level0.munchetes = 0;
mysound = new Sound();
mySound.attachSound("mascar");
mySound.start();
}
Symbol 886 MovieClip Frame 1
stop();
Symbol 887 Button
on (release) {
gotoAndStop (2);
_level0.resucita = 1;
}
Symbol 888 MovieClip Frame 1
stop();
Symbol 889 Button
on (release) {
gotoAndStop ("inventory");
}
Symbol 893 MovieClip Frame 1
stop();
Symbol 893 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 893 MovieClip Frame 8
if (_level0.plume == 0) {
cplume.gotoAndStop(2);
}
if (_level0.munchetes == 0) {
cmunchetes.gotoAndStop(2);
}
stop();
Symbol 893 MovieClip Frame 9
stop();
Symbol 903 MovieClip Frame 1
_level0.animplayer2.gotoAndPlay("trafo");
Symbol 903 MovieClip Frame 11
_level0.animplayer2.setallhair(2);
Symbol 903 MovieClip Frame 15
_level0.animplayer2.gotoAndPlay("reposo");
Symbol 903 MovieClip Frame 27
gotoAndPlay ("last");
Symbol 920 MovieClip Frame 1
_level0.animplayer2.gotoAndPlay("trafo");
Symbol 920 MovieClip Frame 19
_level0.animplayer2.setallhair(3);
Symbol 920 MovieClip Frame 22
_level0.animplayer2.gotoAndPlay("reposo");
Symbol 920 MovieClip Frame 48
gotoAndPlay ("last");
Symbol 954 MovieClip Frame 7
stop();
Symbol 956 MovieClip Frame 1
stop();
_level0.animplayer2.gotoAndPlay("trafo");
Symbol 956 MovieClip Frame 9
_level0.animplayer2.setallhair(4);
Symbol 956 MovieClip Frame 16
_level0.animplayer2.gotoAndPlay("reposo");
Symbol 956 MovieClip Frame 30
rayosnew1._rotation = random(360);
rayosnew1.play();
Symbol 956 MovieClip Frame 38
rayosnew2._rotation = random(360);
rayosnew2.play();
Symbol 956 MovieClip Frame 98
gotoAndPlay ("bucle");
Symbol 959 MovieClip Frame 18
stop();
this._parent.tercera.play();
Symbol 960 MovieClip Frame 1
_level0.animplayer2.setallhair(1);
stop();
Symbol 960 MovieClip Frame 2
stop();
Symbol 960 MovieClip Frame 3
stop();
Symbol 960 MovieClip Frame 4
stop();
Symbol 968 MovieClip Frame 1
_level0.trafo1 = _level0.trafo1 + 1;
_level0.animplayer.gotoAndPlay("trafo");
Symbol 968 MovieClip Frame 11
_level0.animplayer.setallhair(2);
Symbol 968 MovieClip Frame 15
_level0.animplayer.gotoAndPlay("reposo");
Symbol 968 MovieClip Frame 27
gotoAndPlay ("last");
Symbol 982 MovieClip Frame 1
_level0.trafo2 = _level0.trafo2 + 1;
_level0.animplayer.gotoAndPlay("trafo");
Symbol 982 MovieClip Frame 19
_level0.animplayer.setallhair(3);
Symbol 982 MovieClip Frame 22
_level0.animplayer.gotoAndPlay("reposo");
Symbol 982 MovieClip Frame 48
gotoAndPlay ("last");
Symbol 985 MovieClip Frame 1
stop();
_level0.trafo3 = _level0.trafo3 + 1;
_level0.animplayer.gotoAndPlay("trafo");
Symbol 985 MovieClip Frame 9
_level0.animplayer.setallhair(4);
Symbol 985 MovieClip Frame 15
_level0.animplayer.gotoAndPlay("reposo");
Symbol 985 MovieClip Frame 30
rayosnew1._rotation = random(360);
rayosnew1.play();
Symbol 985 MovieClip Frame 38
rayosnew2._rotation = random(360);
rayosnew2.play();
Symbol 985 MovieClip Frame 98
gotoAndPlay ("bucle");
Symbol 988 MovieClip Frame 19
stop();
this._parent.tercera.play();
Symbol 989 MovieClip Frame 1
_level0.animplayer.setallhair(1);
stop();
Symbol 989 MovieClip Frame 2
stop();
Symbol 989 MovieClip Frame 3
stop();
Symbol 989 MovieClip Frame 4
stop();
Symbol 994 MovieClip Frame 1
stop();
Symbol 994 MovieClip Frame 2
stop();
Symbol 994 MovieClip Frame 3
stop();
Symbol 995 MovieClip Frame 1
stop();
Symbol 995 MovieClip Frame 2
stop();
Symbol 1001 MovieClip Frame 29
stop();
Symbol 1002 MovieClip Frame 1
stop();
Symbol 1002 MovieClip Frame 2
stop();
Symbol 1003 MovieClip Frame 1
stop();
_level0.animplayer1.espada.gotoAndStop("estandar");
Symbol 1003 MovieClip Frame 2
stop();
Symbol 1004 MovieClip Frame 1
stop();
Symbol 1004 MovieClip Frame 2
stop();
Symbol 1005 MovieClip Frame 1
stop();
Symbol 1005 MovieClip Frame 2
stop();
Symbol 1005 MovieClip Frame 3
_level0.animplayer2.escudo.gotoAndStop(2);
stop();
Symbol 1008 MovieClip Frame 17
stop();
Symbol 1009 MovieClip Frame 1
stop();
Symbol 1009 MovieClip Frame 2
stop();
Symbol 1010 MovieClip Frame 1
stop();
Symbol 1010 MovieClip Frame 2
stop();
Symbol 1012 MovieClip Frame 1
Symbol 1016 MovieClip Frame 1
stop();
Symbol 1016 MovieClip Frame 2
stop();
Symbol 1016 MovieClip Frame 3
stop();
Symbol 1016 MovieClip Frame 17
if (_level0.flagbarajar == false) {
_level0.ejecutar.ccartabueno.nextFrame();
this.gotoAndStop(1);
} else {
this.gotoAndPlay("bucle");
}
Symbol 1025 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 1027 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 1029 MovieClip Frame 1
i = _level0.qualityindex + 1;
while (i <= 4) {
this["star" + i]._visible = false;
i++;
}
boton1.useHandCursor = false;
boton2.useHandCursor = false;
Symbol 1034 MovieClip Frame 1
stop();
Symbol 1050 MovieClip Frame 1
penaltyCounter = _level0.penaltyCounter;
penalty.penalty = _level0.penalty;
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 1052 MovieClip Frame 1
texto = "";
stop();
Symbol 1054 Button
on (rollOver) {
tregen1.gotoAndPlay(2);
tregen1.texto = _level0.regen1;
}
Symbol 1055 Button
on (rollOver) {
tregen2.gotoAndPlay(2);
tregen2.texto = _level0.regen2;
}
Symbol 1056 Button
on (rollOver) {
tarma2.gotoAndPlay(2);
tarma2.texto = _level0.arma2;
}
Symbol 1057 Button
on (rollOver) {
tveneno2.gotoAndPlay(2);
tveneno2.texto = _level0.veneno2;
}
Symbol 1058 Button
on (rollOver) {
tcontra2.gotoAndPlay(2);
tcontra2.texto = _level0.contra2;
}
Symbol 1059 Button
on (rollOver) {
tescudo2.gotoAndPlay(2);
tescudo2.texto = _level0.escudo2;
}
Symbol 1060 Button
on (rollOver) {
tarma1.gotoAndPlay(2);
if (_level0.hacha1 == 0) {
tarma1.texto = _level0.arma1;
} else {
tarma1.texto = (_level0.arma1 + "+") + _level0.hacha1;
}
}
Symbol 1061 Button
on (rollOver) {
tescudo1.gotoAndPlay(2);
tescudo1.texto = _level0.escudo1;
}
Symbol 1062 Button
on (rollOver) {
tcontra1.gotoAndPlay(2);
if (_level0.hacha2 == 0) {
tcontra1.texto = _level0.contra1;
} else {
tcontra1.texto = (_level0.contra1 + "+") + _level0.hacha2;
}
}
Symbol 1063 Button
on (rollOver) {
tveneno1.gotoAndPlay(2);
tveneno1.texto = _level0.veneno1;
}
Symbol 1064 MovieClip Frame 1
stop();
Symbol 1064 MovieClip Frame 2
stop();
Symbol 1065 MovieClip Frame 1
stop();
Symbol 1065 MovieClip Frame 2
stop();
Symbol 1073 MovieClip Frame 1
button.useHandCursor = false;
Symbol 1154 MovieClip Frame 1
stop();
Symbol 1154 MovieClip Frame 2
_level0.executePenalty();
_level0.updatePenalty();
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.hacha1 > 0) {
_level0.animplayer1.espada.gotoAndStop(8);
} else if (_level0.hacha2 > 0) {
_level0.animplayer1.espada.gotoAndStop(6);
} 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 1154 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 1154 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 1154 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 1154 MovieClip Frame 42
_level0.animplayer2.gotoAndPlay("ataca");
Symbol 1154 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 1154 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 1154 MovieClip Frame 82
_level0.animplayer1.gotoAndPlay("veneno");
Symbol 1154 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 1154 MovieClip Frame 112
gotoAndPlay ("fin");
Symbol 1154 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.survivalhealth) {
_level0.vida1 = (_level0.vida1 + _level0.cura) + _level0.regen1;
} else {
_level0.vida1 = _level0.survivalhealth;
}
Symbol 1154 MovieClip Frame 136
if (_level0.veneno1 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 1154 MovieClip Frame 159
if (_level0.regen1 > 0) {
gotoAndPlay ("cura");
} else if (_level0.veneno1 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 1154 MovieClip Frame 164
this["tda\u00F1o"] = _level0["da\u00F1o2"];
_level0.parapeto2 = 0;
Symbol 1154 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 1154 MovieClip Frame 186
_level0.attachMovie("matchscores", "matchscores", 0);
_level0.matchscores._x = _level0.matchscoresx;
_level0.matchscores._y = _level0.matchscoresy;
_level0.gotoAndStop("matchscores");
stop();
Symbol 1154 MovieClip Frame 196
stop();
_level0.setabg();
_level0.gotoAndStop("matchscores");
stop();
Symbol 1154 MovieClip Frame 206
_level0.vida1 = 30;
_level0.resucita = 0;
_level0.plume = 0;
Symbol 1154 MovieClip Frame 231
this._parent.ccartamalo.play();
this._parent.play();
Symbol 1155 MovieClip Frame 1
button.useHandCursor = false;
Symbol 1158 Button
on (release) {
_level0.matchcardsused++;
this.mascara1._visible = true;
this.mascara3._visible = true;
this.mascara4._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;
} 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;
} 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;
}
trace("" + _level0.mult1);
if (_level0["da\u00F1o"] > 0) {
_level0["da\u00F1o2"] = (((((_level0["da\u00F1o"] + _level0.hacha1) + _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;
_level0.mregen1.gotoAndStop(2);
_level0.bregen1._height = _level0.regen1;
}
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.animplayer2.escudo._visible = false;
_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.mregen2.gotoAndStop(1);
_level0.bregen2._height = 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 1159 MovieClip Frame 1
stop();
Symbol 1159 MovieClip Frame 3
stop();
if (_level0.difficulty == _level0.diffArray[0]) {
activeIA = 2;
} else if (_level0.difficulty == _level0.diffArray[1]) {
activeIA = 1;
} else if (_level0.difficulty == _level0.diffArray[2]) {
activeIA = 0;
}
if (_level0.level < activeIA) {
ind = random(5);
visible = _level0.cartasp2[ind];
} else if (_level0.level >= activeIA) {
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 1159 MovieClip Frame 22
stop();
Symbol 1159 MovieClip Frame 41
stop();
Symbol 1159 MovieClip Frame 60
stop();
Symbol 1159 MovieClip Frame 79
stop();
Symbol 1159 MovieClip Frame 98
stop();
Symbol 1178 MovieClip Frame 1
Symbol 1178 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 1178 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 1178 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 1178 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 + _level0.hacha2) > 0) {
gotoAndPlay ("contra");
} else if ((_level0.cura > 0) || (_level0.regen2 > 0)) {
gotoAndPlay ("cura");
} else if (_level0.veneno2 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 1178 MovieClip Frame 42
_level0.animplayer1.gotoAndPlay("ataca");
Symbol 1178 MovieClip Frame 52
this["tda\u00F1o"] = _level0.contra1 + _level0.hacha2;
_level0.totaldamage = _level0.totaldamage + (_level0.contra1 + _level0.hacha2);
_level0.ncounter = _level0.ncounter + 1;
if ((_level0.vida2 - (_level0.contra1 + _level0.hacha2)) >= 0) {
_level0.vida2 = _level0.vida2 - (_level0.contra1 + _level0.hacha2);
_level0.calcularpuntaje(_level0.contra1 + _level0.hacha2, 1);
} else {
_level0.calcularpuntaje(_level0.contra1 + _level0.hacha2, 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 1178 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 1178 MovieClip Frame 83
_level0.animplayer2.gotoAndPlay("veneno");
Symbol 1178 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 1178 MovieClip Frame 121
gotoAndPlay ("fin");
Symbol 1178 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 1178 MovieClip Frame 145
if (_level0.veneno2 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 1178 MovieClip Frame 167
if (_level0.regen2 > 0) {
gotoAndPlay ("cura");
} else if (_level0.veneno2 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 1178 MovieClip Frame 172
this["tda\u00F1o"] = _level0["da\u00F1o1"];
_level0.parapeto1 = 0;
Symbol 1178 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 1178 MovieClip Frame 194
stop();
_level0.setabg();
_level0.gotoAndStop("matchscores");
stop();
Symbol 1178 MovieClip Frame 203
_level0.attachMovie("matchscores", "matchscores", 0);
_level0.matchscores._x = _level0.matchscoresx;
_level0.matchscores._y = _level0.matchscoresy;
_level0.gotoAndStop("matchscores");
stop();
Symbol 1178 MovieClip Frame 213
_level0.vida1 = 30;
_level0.resucita = 0;
_level0.plume = 0;
Symbol 1178 MovieClip Frame 234
if (_level0.invisible > 0) {
_level0.invisible = _level0.invisible - 1;
if (_level0.invisible == 0) {
_level0.animplayer1._alpha = 100;
}
}
this._parent.play();
Symbol 1179 MovieClip Frame 1
Symbol 1179 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("normal");
stop();
trace("cindice: " + _level0.cindice);
}
Symbol 1179 MovieClip Frame 3
gotoAndPlay(4 + (_level0.numbar * 20));
Symbol 1179 MovieClip Frame 18
trace("repartiondo a player1...visible " + visible);
Symbol 1179 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.cartasenmesa[_level0.numbar] = visible;
_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("normal");
stop();
trace("cindice: " + _level0.cindice);
}
Symbol 1179 MovieClip Frame 23
trace("REPARTIMOS A PLAYER 2 EN POSICION:" + _level0.reparte);
gotoAndPlay(104 + (_level0.reparte * 7));
Symbol 1179 MovieClip Frame 38
trace("repartiondo a player1...visible " + visible);
Symbol 1179 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.cartasenmesa[_level0.numbar] = visible;
_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("normal");
stop();
trace("cindice: " + _level0.cindice);
}
Symbol 1179 MovieClip Frame 43
trace("REPARTIMOS A PLAYER 2 EN POSICION:" + _level0.reparte);
gotoAndPlay(104 + (_level0.reparte * 7));
Symbol 1179 MovieClip Frame 58
trace("repartiondo a player1...visible " + visible);
Symbol 1179 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.cartasenmesa[_level0.numbar] = visible;
_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("normal");
stop();
trace("cindice: " + _level0.cindice);
}
Symbol 1179 MovieClip Frame 63
trace("REPARTIMOS A PLAYER 2 EN POSICION:" + _level0.reparte);
gotoAndPlay(104 + (_level0.reparte * 7));
Symbol 1179 MovieClip Frame 78
trace("repartiondo a player1...visible " + visible);
Symbol 1179 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.cartasenmesa[_level0.numbar] = visible;
_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("normal");
stop();
trace("cindice: " + _level0.cindice);
}
Symbol 1179 MovieClip Frame 83
trace("REPARTIMOS A PLAYER 2 EN POSICION:" + _level0.reparte);
gotoAndPlay(104 + (_level0.reparte * 7));
Symbol 1179 MovieClip Frame 98
trace("repartiondo a player1...visible " + visible);
Symbol 1179 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.cartasenmesa[_level0.numbar] = visible;
_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("normal");
stop();
trace("cindice: " + _level0.cindice);
}
Symbol 1179 MovieClip Frame 103
trace("REPARTIMOS A PLAYER 2 EN POSICION:" + _level0.reparte);
gotoAndPlay(104 + (_level0.reparte * 7));
Symbol 1179 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;
_level0.cartasenmesa[_level0.reparte + 5] = visible;
trace("" + _level0.cartasenmesa);
this._parent.play();
stop();
Symbol 1179 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;
_level0.cartasenmesa[_level0.reparte + 5] = visible;
trace("" + _level0.cartasenmesa);
this._parent.play();
stop();
Symbol 1179 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;
_level0.cartasenmesa[_level0.reparte + 5] = visible;
trace("" + _level0.cartasenmesa);
this._parent.play();
stop();
Symbol 1179 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;
_level0.cartasenmesa[_level0.reparte + 5] = visible;
trace("" + _level0.cartasenmesa);
this._parent.play();
stop();
Symbol 1179 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;
_level0.cartasenmesa[_level0.reparte + 5] = visible;
trace("" + _level0.cartasenmesa);
this._parent.play();
stop();
Symbol 1180 MovieClip Frame 1
if (_level0.testeoCartas == 1) {
_level0.mirarcartas();
}
stop();
Symbol 1180 MovieClip Frame 2
mascara2.useHandCursor = false;
mascara3.useHandCursor = false;
mascara1.useHandCursor = false;
mascara4.useHandCursor = false;
this.mascara1._visible = false;
this.mascara3._visible = false;
this.mascara4._visible = false;
stop();
Instance of Symbol 1154 MovieClip "cdaño2" in Symbol 1180 MovieClip Frame 2
/* no clip actions */
Symbol 1180 MovieClip Frame 3
mascara3.useHandCursor = false;
Symbol 1180 MovieClip Frame 22
_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;
} 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;
} 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;
}
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;
_level0.mregen2.gotoAndStop(2);
_level0.bregen2._height = _level0.regen2;
}
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.hacha1 > 0) {
_level0.animplayer1.espada.gotoAndStop(8);
}
if (_level0.hacha2 > 0) {
_level0.animplayer1.espada.gotoAndStop(6);
} else {
_level0.animplayer1.espada.gotoAndStop(1);
}
_level0.animplayer1.escudo._visible = false;
_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.mregen1.gotoAndStop(1);
_level0.bregen1._height = 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;
}
if (_level0.testeoCartas == 1) {
_level0.mirarcartas();
}
_level0.turno = 0;
stop();
Symbol 1180 MovieClip Frame 23
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 1181 MovieClip Frame 1
stop();
Symbol 1181 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 1182 MovieClip Frame 1
stop();
Symbol 1182 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 1183 MovieClip Frame 1
stop();
Symbol 1183 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 1184 MovieClip Frame 1
stop();
Symbol 1184 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 1185 MovieClip Frame 1
stop();
Symbol 1186 MovieClip Frame 1
stop();
Symbol 1187 MovieClip Frame 1
k = 4;
stop();
Symbol 1188 MovieClip Frame 1
k = 3;
stop();
Symbol 1189 MovieClip Frame 1
k = 2;
stop();
Symbol 1190 MovieClip Frame 1
k = 1;
stop();
Symbol 1197 Button
on (release) {
this.play();
}
Symbol 1229 Button
on (release) {
_level0.gotoAndPlay("menu");
this._parent.play();
}
Symbol 1230 Button
on (release) {
if (muerto == 0) {
_level0.Mouse.hide();
gotoAndPlay ("morder");
}
}
Symbol 1239 MovieClip Frame 9
gotoAndPlay ("reposo");
Symbol 1239 MovieClip Frame 16
gotoAndPlay ("llorar");
Symbol 1244 MovieClip Frame 13
gotoAndPlay ("reposo");
Symbol 1244 MovieClip Frame 20
gotoAndPlay ("llorar");
Symbol 1245 MovieClip Frame 1
if (random(15) == 0) {
ojoi._yscale = 5;
ojod._yscale = 5;
}
Symbol 1245 MovieClip Frame 3
ojoi._yscale = 100;
ojod._yscale = 100;
Symbol 1245 MovieClip Frame 6
gotoAndPlay (1);
Symbol 1291 MovieClip Frame 1
var count = 0;
var change = 0;
var muerto = 0;
var seq = 0;
Symbol 1291 MovieClip Frame 110
count = count + 1;
if (count > 10) {
count = 0;
play();
seq = 2;
}
gotoAndPlay ("baila1");
Symbol 1291 MovieClip Frame 121
Symbol 1291 MovieClip Frame 126
Symbol 1291 MovieClip Frame 128
Symbol 1291 MovieClip Frame 130
Symbol 1291 MovieClip Frame 132
gotoAndPlay ("baila2");
Symbol 1291 MovieClip Frame 143
gotoAndPlay ("baila1");
Symbol 1291 MovieClip Frame 181
seq = seq + 1;
trace("seq=" + seq);
gotoAndPlay ("baila2");
Symbol 1291 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 1291 MovieClip Frame 188
_level0.cmouse._visible = false;
Symbol 1291 MovieClip Frame 211
_level0.createwindow2("This game has NO cheats so don't look or ask for them. Thanks.");
_level0.cmouse._visible = true;
_level0.cmouse.gotoAndPlay("vuela");
Symbol 1291 MovieClip Frame 215
muerto = 2;
stop();
Symbol 1291 MovieClip Frame 216
cojos.ojoi.gotoAndPlay("llorar");
cojos.ojod.gotoAndPlay("llorar");
Symbol 1291 MovieClip Frame 228
gotoAndPlay ("llorar");
Symbol 1292 MovieClip Frame 1
besthit = _level0.besthit;
largest = _level0.largest;
trafo1 = _level0.trafo1;
trafo2 = _level0.trafo2;
trafo3 = _level0.trafo3;
difficulty = _level0.difficulty;
lifeleft = _level0.vida1;
lifehealed = _level0.lifehealed;
ncounter = _level0.ncounter;
totaldamage = _level0.totaldamage;
tiempojusto = _level0.gametime;
time = Math.round(tiempojusto / 60000) + " minutes";
stop();
Symbol 1292 MovieClip Frame 53
botonsecreto.useHandCursor = false;
Symbol 1292 MovieClip Frame 54
seq = 1;
Symbol 1292 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 1292 MovieClip Frame 90
stop();
gotoAndPlay ("bucle");