Instance of Symbol 511 MovieClip in Frame 1
onClipEvent (load) {
if (_parent.getBytesTotal() == _parent.getBytesLoaded()) {
quickPlay = true;
} else {
preLoad = _parent.getBytesTotal() * 0.99;
}
_parent.stop();
}
onClipEvent (enterFrame) {
gotoAndStop(loadedIndicatorFrame());
if (quickPlay == true) {
if (_currentframe == _totalframes) {
_parent.play();
}
} else if (_parent.getBytesLoaded() >= preLoad) {
_parent.play();
}
}
Frame 27
qualitylevel = 4;
MENU = new ContextMenu();
MENU.hideBuiltInItems();
_root.menu = MENU;
fscommand ("allowscale", "false");
fscommand ("showmenu", "false");
MovieClip.prototype.setCookie = function (c, n, v) {
var _local1 = SharedObject.getLocal(c);
_local1.data[n] = v;
_local1.flush();
};
MovieClip.prototype.getCookie = function (c, n) {
var _local1 = SharedObject.getLocal(c);
return(_local1.data[n]);
};
Frame 28
Frame 30
gotoAndStop ("menu");
Frame 35
nextFrame();
Frame 36
stop();
Frame 41
nextFrame();
Frame 42
_level0.besthit = 0;
if (_level0.level == 1) {
_level0.score = 0;
_level0.currentrank = 1;
_level0.besthit = 0;
_level0.rank1.rankani.ranktext = "1- Thug";
_level0.rank2.rankani.ranktext = "1- Thug";
}
if (_level0.level == 1) {
_level0.rank2.rankani.ranktext = "1- Thug";
_level0.cardsunlocked = 0;
}
if (_level0.level == 2) {
_level0.rank2.rankani.ranktext = "2- Hoodlum";
_level0.cardsunlocked = 1;
}
if (_level0.level == 3) {
_level0.rank2.rankani.ranktext = "3- Mobster";
_level0.cardsunlocked = 1;
}
if (_level0.level == 4) {
_level0.rank2.rankani.ranktext = "4- Mob Boss";
_level0.cardsunlocked = 2;
}
if (_level0.level == 5) {
_level0.rank2.rankani.ranktext = "5- Cult Initiate";
_level0.cardsunlocked = 2;
}
if (_level0.level == 6) {
_level0.rank2.rankani.ranktext = "6- Cult Priest";
_level0.cardsunlocked = 3;
}
if (_level0.level == 7) {
_level0.rank2.rankani.ranktext = "7- Cult Leader";
_level0.cardsunlocked = 3;
}
if (_level0.level == 8) {
_level0.rank2.rankani.ranktext = "8- Cult High Priest";
_level0.cardsunlocked = 4;
}
if (_level0.level == 9) {
_level0.rank2.rankani.ranktext = "9- Ghoul";
_level0.cardsunlocked = 4;
}
if (_level0.level == 10) {
_level0.rank2.rankani.ranktext = "10- Necromancer";
_level0.cardsunlocked = 5;
}
if (_level0.level == 11) {
_level0.rank2.rankani.ranktext = "11- Deep One Spawn";
_level0.cardsunlocked = 5;
}
if (_level0.level == 12) {
_level0.rank2.rankani.ranktext = "12- Deep One Priest";
_level0.cardsunlocked = 6;
}
if (_level0.level == 13) {
_level0.rank2.rankani.ranktext = "13- Elder Deep One";
_level0.cardsunlocked = 6;
}
if (_level0.level == 14) {
_level0.rank2.rankani.ranktext = "14- Mi-Go Slave";
_level0.cardsunlocked = 7;
}
if (_level0.level == 15) {
_level0.rank2.rankani.ranktext = "15-Mi-Go Warrior";
_level0.cardsunlocked = 7;
}
if (_level0.level == 16) {
_level0.rank2.rankani.ranktext = "16- Mi-Go Surgeon";
_level0.cardsunlocked = 8;
}
if (_level0.level == 17) {
_level0.rank2.rankani.ranktext = "17- Mi-Go General";
_level0.cardsunlocked = 9;
}
if (_level0.level == 18) {
_level0.rank2.rankani.ranktext = "18- Yithian Peasant";
_level0.cardsunlocked = 10;
}
if (_level0.level == 19) {
_level0.rank2.rankani.ranktext = "19- Yithian Librarian";
_level0.cardsunlocked = 11;
}
if (_level0.level == 20) {
_level0.rank2.rankani.ranktext = "20- Yithian Scholar";
_level0.cardsunlocked = 12;
}
if (_level0.currentrank == 1) {
_level0.rank1.rankani.ranktext = "1- Thug";
}
if (_level0.currentrank == 2) {
_level0.rank1.rankani.ranktext = "2- Hoodlum";
}
if (_level0.currentrank == 3) {
_level0.rank1.rankani.ranktext = "3- Mobster";
}
if (_level0.currentrank == 4) {
_level0.rank1.rankani.ranktext = "4- Mob Boss";
}
if (_level0.currentrank == 5) {
_level0.rank1.rankani.ranktext = "5- Cult Initiate";
}
if (_level0.currentrank == 6) {
_level0.rank1.rankani.ranktext = "6- Cult Priest";
}
if (_level0.currentrank == 7) {
_level0.rank1.rankani.ranktext = "7- Cult Leader";
}
if (_level0.currentrank == 8) {
_level0.rank1.rankani.ranktext = "8- Cult High Priest";
}
if (_level0.currentrank == 9) {
_level0.rank1.rankani.ranktext = "9- Ghoul";
}
if (_level0.currentrank == 10) {
_level0.rank1.rankani.ranktext = "10- Necromancer";
}
if (_level0.currentrank == 11) {
_level0.rank1.rankani.ranktext = "11- Deep One Spawn";
}
if (_level0.currentrank == 12) {
_level0.rank1.rankani.ranktext = "12- Deep One Priest";
}
if (_level0.currentrank == 13) {
_level0.rank1.rankani.ranktext = "13- Elder Deep One";
}
if (_level0.currentrank == 14) {
_level0.rank1.rankani.ranktext = "14- Mi-Go Slave";
}
if (_level0.currentrank == 15) {
_level0.rank1.rankani.ranktext = "15- Mi-Go Warrior";
}
if (_level0.currentrank == 16) {
_level0.rank1.rankani.ranktext = "16- Mi-Go Surgeon";
}
if (_level0.currentrank == 17) {
_level0.rank1.rankani.ranktext = "17- Mi-Go General";
}
if (_level0.currentrank == 18) {
_level0.rank1.rankani.ranktext = "18- Yithian Peasant";
}
if (_level0.currentrank == 19) {
_level0.rank1.rankani.ranktext = "19- Yithian Librarian";
}
if (_level0.currentrank == 20) {
_level0.rank1.rankani.ranktext = "20- Yithian Scholar";
}
matchcardsused = 0;
matchdamagereceived = 0;
maxvida = 35 + (5 * _level0.currentrank);
maxvida2 = 35 + (5 * _level0.level);
maxsanity = Math.round(Math.random() * 15) + 15;
invisible = 0;
immunity = 0;
resurrect = 0;
Set("da\u00F1o", 0);
normal = 0;
bless1aux = 0;
arma1aux = 0;
escudo1aux = 0;
contra1aux = 0;
damageinflicted = 0;
elderthing = 0;
yogsothoth = 0;
byakhee = 0;
shoggoth = 0;
shambler = 0;
betrayed = 0;
donotcounter = 0;
betrayal = 0;
ignoreelder = 0;
parapeto1aux = 0;
runa1aux = 0;
ceguera1aux = 0;
maldicion1aux = 0;
veneno1aux = 0;
regenaux = 0;
multiplyaux = 1;
paraliza = 0;
cura = 0;
dispelo = 0;
dispelc = 0;
dispels = 0;
curaveneno = 0;
vida1 = maxvida;
sanity1 = Math.round(Math.random() * 10) + 25;
Set("da\u00F1o1", 0);
bless1 = 0;
arma1 = 0;
escudo1 = 0;
contra1 = 0;
parapeto1 = 0;
sanityloss = 0;
ceguera1 = 0;
maldicion1 = 0;
veneno1 = 0;
regen1 = 0;
mult1 = 1;
paraliza1 = 0;
vida2 = maxvida2;
sanity2 = Math.round(Math.random() * 10) + 25;
Set("da\u00F1o2", 0);
bless2 = 0;
arma2 = 0;
escudo2 = 0;
contra2 = 0;
parapeto2 = 0;
runa2 = 0;
ceguera2 = 0;
maldicion2 = 0;
veneno2 = 0;
regen2 = 0;
mult2 = 1;
paraliza2 = 0;
numbar = -1;
carbueno = -1;
numcartas = 36;
if (actualcards < numcartas) {
actualcards = 25 + _level0.cardsunlocked;
}
_level0.cardsindeck1.cardsindeck2 = actualcards;
cmalo = -1;
destapa = -1;
trace("Number of cards in deck is:" + actualcards);
turno = 0;
marma1.gotoAndStop(1);
ccontra1.gotoAndStop(1);
mmaldicion1.gotoAndStop(1);
mescudo1.gotoAndStop(1);
mataque1.gotoAndStop(1);
mveneno1.gotoAndStop(1);
mceguera1.gotoAndStop(1);
minvulner1.gotoAndStop(1);
byakhee1.gotoAndStop(1);
byakhee2.gotoAndStop(1);
shambler1.gotoAndStop(1);
shambler2.gotoAndStop(1);
shoggoth1.gotoAndStop(1);
shoggoth2.gotoAndStop(1);
elderthing1.gotoAndStop(1);
elderthing2.gotoAndStop(1);
shub1.gotoAndStop(1);
shub2.gotoAndStop(1);
agoraphobiaIcon1.gotoAndStop(1);
xenophobiaIcon1.gotoAndStop(1);
xenophobiaIcon2.gotoAndStop(1);
megalomaniaIcon1.gotoAndStop(1);
megalomaniaIcon2.gotoAndStop(1);
schizophreniaIcon1.gotoAndStop(1);
schizophreniaIcon2.gotoAndStop(1);
insanity1 = 0;
insanity2 = 0;
xenophobia1 = 0;
xenophobia2 = 0;
megalomania1 = 0;
megalomania2 = 0;
schizophrenia1 = 0;
schizophrenia2 = 0;
agoraphobia1 = 0;
marma2.gotoAndStop(1);
ccontra2.gotoAndStop(1);
mmaldicion2.gotoAndStop(1);
mescudo2.gotoAndStop(1);
mataque2.gotoAndStop(1);
mveneno2.gotoAndStop(1);
minvulner2.gotoAndStop(1);
mceguera2.gotoAndStop(1);
text_poison1 = 0;
text_poison2 = 0;
text_counter1 = 0;
text_counter2 = 0;
text_defense1 = 0;
text_defense2 = 0;
text_attack1 = 0;
text_attack2 = 0;
Frame 95
function barajacartas() {
_level0.flagbarajar = true;
_level0.gfxbaraja.gotoAndPlay(4);
i = 0;
while (i < _level0.numcartas) {
_level0.barajar[i] = -1;
i = i + 1;
}
i = 0;
while (i < _level0.actualcards) {
_level0.condicion = false;
while (_level0.condicion == false) {
rand = Math.floor(random((_level0.actualcards * 10) - 1) / 10);
_level0.condicion = true;
k = 0;
while (k < _level0.actualcards) {
if (_level0.barajar[k] == rand) {
_level0.condicion = false;
}
k = k + 1;
}
_level0.barajar[i] = rand;
}
i = i + 1;
}
_level0.cindice = _level0.actualcards - 1;
_level0.flagbarajar = false;
trace("Cards are shuffled: index =" + _level0.cindice);
}
function calcularpuntaje(_arg1, p) {
fact = ((p == 1) ? 1 : -1);
trace(((("Score(" + _arg1) + ",") + p) + ")");
if (_arg1 > 0) {
trace("damage less than 20");
bonus = (_arg1 * 1) * fact;
_level0.damageinflicted = _level0.damageinflicted + bonus;
trace((("_level0.damageinflicted" + _level0.damageinflicted) + "+") + bonus);
}
}
function setabg() {
_level0.anclado.alfa = _level0.score;
_level0.anclado.beta = _level0.besthit;
_level0.anclado.gamma = Math.round(_level0.gametime / 1000);
_level0.calcularack();
}
function mirarcartas() {
_level0.cmalo1.gotoAndStop(2);
_level0.cmalo2.gotoAndStop(2);
_level0.cmalo3.gotoAndStop(2);
_level0.cmalo4.gotoAndStop(2);
_level0.cmalo5.gotoAndStop(2);
}
if (_level0.currentrank == 1) {
_level0.rank1.rankani.ranktext = "1- Thug";
}
if (_level0.currentrank == 2) {
_level0.rank1.rankani.ranktext = "2- Hoodlum";
}
if (_level0.currentrank == 3) {
_level0.rank1.rankani.ranktext = "3- Mobster";
}
if (_level0.currentrank == 4) {
_level0.rank1.rankani.ranktext = "4- Mob Boss";
}
if (_level0.currentrank == 5) {
_level0.rank1.rankani.ranktext = "5- Cult Initiate";
}
if (_level0.currentrank == 6) {
_level0.rank1.rankani.ranktext = "6- Cult Priest";
}
if (_level0.currentrank == 7) {
_level0.rank1.rankani.ranktext = "7- Cult Leader";
}
if (_level0.currentrank == 8) {
_level0.rank1.rankani.ranktext = "8- Cult High Priest";
}
if (_level0.currentrank == 9) {
_level0.rank1.rankani.ranktext = "9- Ghoul";
}
if (_level0.currentrank == 10) {
_level0.rank1.rankani.ranktext = "10- Necromancer";
}
if (_level0.currentrank == 11) {
_level0.rank1.rankani.ranktext = "11- Deep One Spawn";
}
if (_level0.currentrank == 12) {
_level0.rank1.rankani.ranktext = "12- Deep One Priest";
}
if (_level0.currentrank == 13) {
_level0.rank1.rankani.ranktext = "13- Elder Deep One";
}
if (_level0.currentrank == 14) {
_level0.rank1.rankani.ranktext = "14- Mi-Go Slave";
}
if (_level0.currentrank == 15) {
_level0.rank1.rankani.ranktext = "15- Mi-Go Warrior";
}
if (_level0.currentrank == 16) {
_level0.rank1.rankani.ranktext = "16- Mi-Go Surgeon";
}
if (_level0.currentrank == 17) {
_level0.rank1.rankani.ranktext = "17- Mi-Go General";
}
if (_level0.currentrank == 18) {
_level0.rank1.rankani.ranktext = "18- Yithian Peasant";
}
if (_level0.currentrank == 19) {
_level0.rank1.rankani.ranktext = "19- Yithian Librarian";
}
if (_level0.currentrank == 20) {
_level0.rank1.rankani.ranktext = "20- Yithian Scholar";
}
b1 = this.baraja1;
b2 = this.baraja2;
b3 = this.baraja3;
b4 = this.baraja4;
b5 = this.baraja5;
ba = this.barajaactiva;
bm = this.barajamalo;
matriz1 = new Array(b1.carta1, b1.carta2, b1.carta3, b1.carta4, b1.carta5, b1.carta6, b1.carta7, b1.carta8, b1.carta9, b1.carta10, b1.carta11, b1.carta12, b1.carta13, b1.carta14, b1.carta15, b1.carta16, b1.carta17, b1.carta18, b1.carta19, b1.carta20, b1.carta21, b1.carta22, b1.carta23, b1.carta24, b1.carta25, b1.carta26, b1.carta27, b1.carta28, b1.carta29, b1.carta30, b1.carta31, b1.carta32, b1.carta33, b1.carta34, b1.carta35, b1.carta36);
matriz2 = new Array(b2.carta1, b2.carta2, b2.carta3, b2.carta4, b2.carta5, b2.carta6, b2.carta7, b2.carta8, b2.carta9, b2.carta10, b2.carta11, b2.carta12, b2.carta13, b2.carta14, b2.carta15, b2.carta16, b2.carta17, b2.carta18, b2.carta19, b2.carta20, b2.carta21, b2.carta22, b2.carta23, b2.carta24, b2.carta25, b2.carta26, b2.carta27, b2.carta28, b2.carta29, b2.carta30, b2.carta31, b2.carta32, b2.carta33, b2.carta34, b2.carta35, b2.carta36);
matriz3 = new Array(b3.carta1, b3.carta2, b3.carta3, b3.carta4, b3.carta5, b3.carta6, b3.carta7, b3.carta8, b3.carta9, b3.carta10, b3.carta11, b3.carta12, b3.carta13, b3.carta14, b3.carta15, b3.carta16, b3.carta17, b3.carta18, b3.carta19, b3.carta20, b3.carta21, b3.carta22, b3.carta23, b3.carta24, b3.carta25, b3.carta26, b3.carta27, b3.carta28, b3.carta29, b3.carta30, b3.carta31, b3.carta32, b3.carta33, b3.carta34, b3.carta35, b3.carta36);
matriz4 = new Array(b4.carta1, b4.carta2, b4.carta3, b4.carta4, b4.carta5, b4.carta6, b4.carta7, b4.carta8, b4.carta9, b4.carta10, b4.carta11, b4.carta12, b4.carta13, b4.carta14, b4.carta15, b4.carta16, b4.carta17, b4.carta18, b4.carta19, b4.carta20, b4.carta21, b4.carta22, b4.carta23, b4.carta24, b4.carta25, b4.carta26, b4.carta27, b4.carta28, b4.carta29, b4.carta30, b4.carta31, b4.carta32, b4.carta33, b4.carta34, b4.carta35, b4.carta36);
matriz5 = new Array(b5.carta1, b5.carta2, b5.carta3, b5.carta4, b5.carta5, b5.carta6, b5.carta7, b5.carta8, b5.carta9, b5.carta10, b5.carta11, b5.carta12, b5.carta13, b5.carta14, b5.carta15, b5.carta16, b5.carta17, b5.carta18, b5.carta19, b5.carta20, b5.carta21, b5.carta22, b5.carta23, b5.carta24, b5.carta25, b5.carta26, b5.carta27, b5.carta28, b5.carta29, b5.carta30, b5.carta31, b5.carta32, b5.carta33, b5.carta34, b5.carta35, b5.carta36);
bactiva = new Array(ba.carta1, ba.carta2, ba.carta3, ba.carta4, ba.carta5, ba.carta6, ba.carta7, ba.carta8, ba.carta9, ba.carta10, ba.carta11, ba.carta12, ba.carta13, ba.carta14, ba.carta15, ba.carta16, ba.carta17, ba.carta18, ba.carta19, ba.carta20, ba.carta21, ba.carta22, ba.carta23, ba.carta24, ba.carta25, ba.carta26, ba.carta27, ba.carta28, ba.carta29, ba.carta30, ba.carta31, ba.carta32, ba.carta33, ba.carta34, ba.carta35, ba.carta36);
barmalo = new Array(bm.carta1, bm.carta2, bm.carta3, bm.carta4, bm.carta5, bm.carta6, bm.carta7, bm.carta8, bm.carta9, bm.carta10, bm.carta11, bm.carta12, bm.carta13, bm.carta14, bm.carta15, bm.carta16, bm.carta17, bm.carta18, bm.carta19, bm.carta20, bm.carta21, bm.carta22, bm.carta23, bm.carta24, bm.carta25, bm.carta26, bm.carta27, bm.carta28, bm.carta29, bm.carta30, bm.carta31, bm.carta32, bm.carta33, bm.carta34, bm.carta35, bm.carta36);
barajar = new Array(numcartas);
cindice = actualcards - 1;
barajacartas();
carmalo = new Array(cmalo1, cmalo2, cmalo3, cmalo4, cmalo5);
barajas = new Array(matriz1, matriz2, matriz3, matriz4, matriz5);
i = 0;
while (i < numcartas) {
bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < numcartas) {
barmalo[i]._visible = false;
i = i + 1;
}
bm._visible = false;
k = 0;
while (k < 5) {
i = 0;
while (i < numcartas) {
barajas[k][i]._visible = false;
i = i + 1;
}
visible = barajar[cindice];
cindice = cindice - 1;
barajas[k][visible]._visible = true;
k = k + 1;
}
cartasp2 = new Array(5);
k = 0;
while (k < 5) {
cartasp2[k] = barajar[cindice];
cindice = cindice - 1;
k = k + 1;
}
stop();
Frame 96
nextFrame();
Frame 97
stop();
Frame 98
gotoAndStop ("play2");
prevFrame();
Frame 102
stop();
Frame 104
stop();
Frame 105
stop();
Symbol 38 Button
on (release) {
_level0.level = 20;
_level0.gotoAndStop("final");
_level0.setabg();
}
Symbol 41 Button
on (release) {
_level0.gotoAndPlay("game");
}
Symbol 44 Button
on (release) {
_level0.level = 1;
_root.gotoAndStop("menu");
}
Symbol 47 Button
on (release) {
stopAllSounds();
_root.setCookie("cardgame", "level", _level0.level);
_root.setCookie("cardgame", "score", _level0.score);
_root.setCookie("cardgame", "rank", _level0.currentrank);
_root.setCookie("cardgame", "bestattack", _level0.highbesthit);
_root.setCookie("cardgame", "higharcane", _level0.higharcane);
_root.setCookie("cardgame", "highelder", _level0.highelder);
_root.setCookie("cardgame", "highsanity", _level0.highsanity);
_root.setCookie("cardgame", "hightaint", _level0.hightaint);
_root.setCookie("cardgame", "time", _level0.minutes);
}
Symbol 58 MovieClip Frame 1
stop();
Symbol 79 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 80 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 3;
_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.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 2;
_level0.elderthing = 0;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 93 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 94 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 = 7;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 1;
_level0.elderthing = 0;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 104 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 105 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 = 6;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 0;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 116 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 117 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 = 14;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 3;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 130 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 131 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.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 0;
_level0.elderthing = 0;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 1;
_level0.betrayed = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 1;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 140 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 141 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.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 1;
_level0.elderthing = 0;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 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"] = 10;
_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 = 3;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 2;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.ignoreelder = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 162 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 163 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_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.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 2;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 1;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 174 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 175 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 = 8;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.dispelc = 1;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 2;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 186 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 187 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 14;
_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.dispelc = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 4;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 199 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 200 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 4;
_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.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 3;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 1;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 209 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 210 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.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 0;
_level0.elderthing = 0;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 1;
_level0.betrayed = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 1;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 218 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 219 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.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 0;
_level0.elderthing = 0;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 1;
_level0.betrayed = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 1;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 231 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 232 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 = 1;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 1;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.elderthing = 0;
_level0.betrayed = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 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 = 2;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 2;
_level0.sanitygain = 0;
_level0.sanityloss = 5;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 254 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 255 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 = 2;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.dispelc = 0;
_level0.curaveneno = 1;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 3;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 266 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 267 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 6;
_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.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 4;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 1;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 279 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 280 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.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 0;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 1;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 290 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 291 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 = 0;
_level0.runa1aux = 0;
_level0.cura = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 3;
_level0.sanitygain = 0;
_level0.sanityloss = 6;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 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"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 2;
_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.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 0;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 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"] = 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.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 0;
_level0.elderthing = 0;
_level0.sanitygain = 15;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 322 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 323 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.dispelc = 1;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 0;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 334 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 335 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.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 1;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 347 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 348 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.curaveneno = 1;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.dispelc = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 1;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.elderthing = 1;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 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"] = 0;
_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 = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 3;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 368 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 369 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.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 0;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 379 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 380 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.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 0;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 2;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 395 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 396 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.dispelc = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 3;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 3;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 405 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 406 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.dispelc = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.sanitycost = 4;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 1;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 417 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 418 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 10;
_level0.ceguera1aux = 0;
_level0.arma1aux = 2;
_level0.escudo1aux = 2;
_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.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitygain = 0;
_level0.sanitycost = 4;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 431 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 432 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.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 0;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 5;
_level0.betrayed = 0;
_level0.ignoreelder = 0;
_level0.elderthing = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 442 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 443 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.dispelc = 0;
_level0.dispels = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.sanitycost = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 4;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 459 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 460 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 8;
_level0.paraliza = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 0;
_level0.escudo1aux = 0;
_level0.contra1aux = 10;
_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.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.sanitycost = 8;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 1;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 472 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 473 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.paraliza = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 2;
_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.dispelc = 0;
_level0.dispels = 0;
_level0.curaveneno = 1;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.sanitygain = 0;
_level0.sanitycost = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 481 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 482 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_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 = 0;
_level0.dispels = 0;
_level0.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.sanitycost = 0;
_level0.sanitygain = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 6;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 493 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 494 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.paraliza = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 10;
_level0.escudo1aux = 10;
_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.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.sanitygain = 0;
_level0.sanitycost = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 7;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
Symbol 495 MovieClip Frame 1
k = 0;
stop();
Symbol 498 MovieClip Frame 1
button.useHandCursor = false;
Symbol 499 MovieClip Frame 1
lifepoints = 0;
auxvida = _level0.vida1;
if (auxvida == _level0.maxvida) {
if (_level0.level <= 2) {
perfectlife = 30;
} else if ((_level0.level > 2) && (_level0.level <= 6)) {
perfectlife = 35;
} else {
perfectlife = 40;
}
} else {
perfectlife = 0;
}
if (_level0.vida1 == 0) {
currenttotaltag._visible = false;
currentranktag._visible = false;
finalranktag._visible = true;
finaltotaltag._visible = true;
} else {
currenttotaltag._visible = true;
currentranktag._visible = true;
finalranktag._visible = false;
finaltotaltag._visible = false;
}
life = 0;
damageinflicteda = _level0.damageinflicted;
damagereceived = _level0.matchdamagereceived;
trace("damagereceived:" + damagereceived);
cardsused = _level0.matchcardsused;
trace("cardsused:" + cardsused);
totalextra = 0;
totalscore = 0;
Symbol 499 MovieClip Frame 11
botonmask.useHandCursor = false;
cliplevel.texto = levelpoints;
cliplifeleft.texto = auxvida;
clipbesthit.texto = _level0.besthit;
clipdamageinflicted.texto = damageinflicteda;
clipdamagereceived.texto = damagereceived;
clipremainingsanity.texto = _level0.sanity1;
if (_level0.currentrank == 1) {
rank1.rankani.ranktext = "1- Thug";
}
if (_level0.currentrank == 2) {
rank1.rankani.ranktext = "2- Hoodlum";
}
if (_level0.currentrank == 3) {
rank1.rankani.ranktext = "3- Mobster";
}
if (_level0.currentrank == 4) {
rank1.rankani.ranktext = "4- Mob Boss";
}
if (_level0.currentrank == 5) {
rank1.rankani.ranktext = "5- Cult Initiate";
}
if (_level0.currentrank == 6) {
rank1.rankani.ranktext = "6- Cult Priest";
}
if (_level0.currentrank == 7) {
rank1.rankani.ranktext = "7- Cult Leader";
}
if (_level0.currentrank == 8) {
rank1.rankani.ranktext = "8- Cult High Priest";
}
if (_level0.currentrank == 9) {
rank1.rankani.ranktext = "9- Ghoul";
}
if (_level0.currentrank == 10) {
rank1.rankani.ranktext = "10- Necromancer";
}
if (_level0.currentrank == 11) {
rank1.rankani.ranktext = "11- Deep One Spawn";
}
if (_level0.currentrank == 12) {
rank1.rankani.ranktext = "12- Deep One Priest";
}
if (_level0.currentrank == 13) {
rank1.rankani.ranktext = "13- Elder Deep One";
}
if (_level0.currentrank == 14) {
rank1.rankani.ranktext = "14- Mi-Go Slave";
}
if (_level0.currentrank == 15) {
rank1.rankani.ranktext = "15- Mi-Go Warrior";
}
if (_level0.currentrank == 16) {
rank1.rankani.ranktext = "16- Mi-Go Surgeon";
}
if (_level0.currentrank == 17) {
rank1.rankani.ranktext = "17- Mi-Go General";
}
if (_level0.currentrank == 18) {
rank1.rankani.ranktext = "18- Yithian Peasant";
}
if (_level0.currentrank == 19) {
rank1.rankani.ranktext = "19- Yithian Librarian";
}
if (_level0.currentrank == 20) {
rank1.rankani.ranktext = "20- Yithian Scholar";
}
this.nextlevel._visible = false;
this.finalstats._visible = false;
this.returnmenu._visible = false;
this.autosave._visible = false;
this.savebut._visible = false;
Symbol 499 MovieClip Frame 34
if (_level0.level < (_level0.maxlevel + 1)) {
_level0.level = _level0.level + 1;
}
cliplifeleft.texto = _level0.vida1;
clipdamagereceived.texto = damagereceived;
clipremainingsanity.texto = _level0.sanity1;
clipdamageinflicted.texto = damageinflicteda;
totalextra = (((_level0.vida1 + _level0.sanity1) + damageinflicteda) + _level0.besthit) - damagereceived;
cliptotalextra.texto = totalextra;
cliptotalscore.texto = _level0.score + totalextra;
_level0.score = _level0.score + totalextra;
clipmyscore.texto = _level0.score - totalextra;
if (_level0.score <= 49) {
newrank.rankani.ranktext = "1- Thug";
_level0.currentrank = 1;
}
if ((_level0.score >= 50) && (_level0.score <= 99)) {
newrank.rankani.ranktext = "2- Hoodlum";
_level0.currentrank = 2;
}
if ((_level0.score >= 100) && (_level0.score <= 149)) {
newrank.rankani.ranktext = "3- Mobster";
_level0.currentrank = 3;
}
if ((_level0.score >= 150) && (_level0.score <= 249)) {
newrank.rankani.ranktext = "4- Mob Boss";
_level0.currentrank = 4;
}
if ((_level0.score >= 250) && (_level0.score <= 349)) {
newrank.rankani.ranktext = "5- Cult Initiate";
_level0.currentrank = 5;
}
if ((_level0.score >= 350) && (_level0.score <= 449)) {
newrank.rankani.ranktext = "6- Cult Priest";
_level0.currentrank = 6;
}
if ((_level0.score >= 450) && (_level0.score <= 549)) {
newrank.rankani.ranktext = "7- Cult Leader";
_level0.currentrank = 7;
}
if ((_level0.score >= 550) && (_level0.score <= 649)) {
newrank.rankani.ranktext = "8- Cult High Priest";
_level0.currentrank = 8;
}
if ((_level0.score >= 650) && (_level0.score <= 749)) {
newrank.rankani.ranktext = "9- Ghoul";
_level0.currentrank = 9;
}
if ((_level0.score >= 750) && (_level0.score <= 849)) {
newrank.rankani.ranktext = "10- Necromancer";
_level0.currentrank = 10;
}
if ((_level0.score >= 850) && (_level0.score <= 949)) {
newrank.rankani.ranktext = "11- Deep One Spawn";
_level0.currentrank = 11;
}
if ((_level0.score >= 950) && (_level0.score <= 1049)) {
newrank.rankani.ranktext = "12- Deep One Priest";
_level0.currentrank = 12;
}
if ((_level0.score >= 1050) && (_level0.score <= 1149)) {
newrank.rankani.ranktext = "13- Elder Deep One";
_level0.currentrank = 13;
}
if ((_level0.score >= 1150) && (_level0.score <= 1249)) {
newrank.rankani.ranktext = "14- Mi-Go Slave";
_level0.currentrank = 14;
}
if ((_level0.score >= 1250) && (_level0.score <= 1349)) {
newrank.rankani.ranktext = "15- Mi-Go Warrior";
_level0.currentrank = 15;
}
if ((_level0.score >= 1350) && (_level0.score <= 1449)) {
newrank.rankani.ranktext = "16- Mi-Go Surgeon";
_level0.currentrank = 16;
}
if ((_level0.score >= 1450) && (_level0.score <= 1549)) {
newrank.rankani.ranktext = "17- Mi-Go General";
_level0.currentrank = 17;
}
if ((_level0.score >= 1550) && (_level0.score <= 1649)) {
newrank.rankani.ranktext = "18- Yithian Peasant";
_level0.currentrank = 18;
}
if ((_level0.score >= 1650) && (_level0.score <= 1749)) {
newrank.rankani.ranktext = "19- Yithian Librarian";
_level0.currentrank = 19;
}
if ((_level0.score >= 1750) && (_level0.score <= 8899)) {
newrank.rankani.ranktext = "20- Yithian Scholar";
_level0.currentrank = 20;
}
if (_level0.level == 1) {
_level0.rank2.rankani.ranktext = "1- Thug";
_level0.cardsunlocked = 0;
}
if (_level0.level == 2) {
_level0.rank2.rankani.ranktext = "2- Hoodlum";
_level0.cardsunlocked = 1;
}
if (_level0.level == 3) {
_level0.rank2.rankani.ranktext = "3- Mobster";
_level0.cardsunlocked = 1;
}
if (_level0.level == 4) {
_level0.rank2.rankani.ranktext = "4- Mob Boss";
_level0.cardsunlocked = 2;
}
if (_level0.level == 5) {
_level0.rank2.rankani.ranktext = "5- Cult Initiate";
_level0.cardsunlocked = 2;
}
if (_level0.level == 6) {
_level0.rank2.rankani.ranktext = "6- Cult Priest";
_level0.cardsunlocked = 3;
}
if (_level0.level == 7) {
_level0.rank2.rankani.ranktext = "7- Cult Leader";
_level0.cardsunlocked = 3;
}
if (_level0.level == 8) {
_level0.rank2.rankani.ranktext = "8- Cult High Priest";
_level0.cardsunlocked = 4;
}
if (_level0.level == 9) {
_level0.rank2.rankani.ranktext = "9- Ghoul";
_level0.cardsunlocked = 4;
}
if (_level0.level == 10) {
_level0.rank2.rankani.ranktext = "10- Necromancer";
_level0.cardsunlocked = 5;
}
if (_level0.level == 11) {
_level0.rank2.rankani.ranktext = "11- Deep One Spawn";
_level0.cardsunlocked = 5;
}
if (_level0.level == 12) {
_level0.rank2.rankani.ranktext = "12- Deep One Priest";
_level0.cardsunlocked = 6;
}
if (_level0.level == 13) {
_level0.rank2.rankani.ranktext = "13- Elder Deep One";
_level0.cardsunlocked = 6;
}
if (_level0.level == 14) {
_level0.rank2.rankani.ranktext = "14- Mi-Go Slave";
_level0.cardsunlocked = 7;
}
if (_level0.level == 15) {
_level0.rank2.rankani.ranktext = "15-Mi-Go Warrior";
_level0.cardsunlocked = 8;
}
if (_level0.level == 16) {
_level0.rank2.rankani.ranktext = "16- Mi-Go Surgeon";
_level0.cardsunlocked = 9;
}
if (_level0.level == 17) {
_level0.rank2.rankani.ranktext = "17- Mi-Go General";
_level0.cardsunlocked = 10;
}
if (_level0.level == 18) {
_level0.rank2.rankani.ranktext = "18- Yithian Peasant";
_level0.cardsunlocked = 11;
}
if (_level0.level == 19) {
_level0.rank2.rankani.ranktext = "19- Yithian Librarian";
_level0.cardsunlocked = 12;
}
if (_level0.level == 20) {
_level0.rank2.rankani.ranktext = "20- Yithian Scholar";
_level0.cardsunlocked = 12;
}
if (_level0.currentrank == 1) {
_level0.rank1.rankani.ranktext = "1- Thug";
}
if (_level0.currentrank == 2) {
_level0.rank1.rankani.ranktext = "2- Hoodlum";
}
if (_level0.currentrank == 3) {
_level0.rank1.rankani.ranktext = "3- Mobster";
}
if (_level0.currentrank == 4) {
_level0.rank1.rankani.ranktext = "4- Mob Boss";
}
if (_level0.currentrank == 5) {
_level0.rank1.rankani.ranktext = "5- Cult Initiate";
}
if (_level0.currentrank == 6) {
_level0.rank1.rankani.ranktext = "6- Cult Priest";
}
if (_level0.currentrank == 7) {
_level0.rank1.rankani.ranktext = "7- Cult Leader";
}
if (_level0.currentrank == 8) {
_level0.rank1.rankani.ranktext = "8- Cult High Priest";
}
if (_level0.currentrank == 9) {
_level0.rank1.rankani.ranktext = "9- Ghoul";
}
if (_level0.currentrank == 10) {
_level0.rank1.rankani.ranktext = "10- Necromancer";
}
if (_level0.currentrank == 11) {
_level0.rank1.rankani.ranktext = "11- Deep One Spawn";
}
if (_level0.currentrank == 12) {
_level0.rank1.rankani.ranktext = "12- Deep One Priest";
}
if (_level0.currentrank == 13) {
_level0.rank1.rankani.ranktext = "13- Elder Deep One";
}
if (_level0.currentrank == 14) {
_level0.rank1.rankani.ranktext = "14- Mi-Go Slave";
}
if (_level0.currentrank == 15) {
_level0.rank1.rankani.ranktext = "15- Mi-Go Warrior";
}
if (_level0.currentrank == 16) {
_level0.rank1.rankani.ranktext = "16- Mi-Go Surgeon";
}
if (_level0.currentrank == 17) {
_level0.rank1.rankani.ranktext = "17- Mi-Go General";
}
if (_level0.currentrank == 18) {
_level0.rank1.rankani.ranktext = "18- Yithian Peasant";
}
if (_level0.currentrank == 19) {
_level0.rank1.rankani.ranktext = "19- Yithian Librarian";
}
if (_level0.currentrank == 20) {
_level0.rank1.rankani.ranktext = "20- Yithian Scholar";
}
_level0.actualcards = 24 + _level0.cardsunlocked;
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;
if (_level0.vida1 <= 0) {
b1._visible = false;
save._visible = false;
} else if ((_level0.vida1 >= 1) && (((((((((_level0.level == 1) or (_level0.level == 3)) or (_level0.level == 5)) or (_level0.level == 7)) or (_level0.level == 9)) or (_level0.level == 11)) or (_level0.level == 13)) or (_level0.level == 15)) or (_level0.level == 17))) {
b1._visible = false;
save._visible = true;
} else {
b1._visible = true;
save._visible = true;
}
if ((_level0.level == 21) && (_level0.vida1 >= 1)) {
this.finalstats._visible = true;
this.nextlevel._visible = false;
this.returnmenu._visible = false;
}
if ((_level0.level <= 20) && (_level0.vida1 >= 1)) {
this.nextlevel._visible = true;
this.returnmenu._visible = false;
this.finalstats._visible = false;
_root.kongregateScores.submit(_level0.score);
_root.kongregateStats.submit("BestAttack", _level0.highbesthit);
_root.kongregateStats.submit("Arcane", _level0.higharcane);
_root.kongregateStats.submit("Elder", _level0.highelder);
_root.kongregateStats.submit("Taint", _level0.hightaint);
_root.kongregateStats.submit("TimesInsane", _level0.highsanity);
_root.kongregateStats.submit("HighestRank", _level0.currentrank);
} else if (_level0.vida1 == 0) {
this.returnmenu._visible = true;
this.nextlevel._visible = false;
this.finalstats._visible = false;
_root.kongregateScores.submit(_level0.score);
_root.kongregateStats.submit("BestAttack", _level0.highbesthit);
_root.kongregateStats.submit("Arcane", _level0.higharcane);
_root.kongregateStats.submit("Elder", _level0.highelder);
_root.kongregateStats.submit("Taint", _level0.hightaint);
_root.kongregateStats.submit("TimesInsane", _level0.highsanity);
_root.kongregateStats.submit("HighestRank", _level0.currentrank);
}
if (_level0.vida1 >= 1) {
this.autosave._visible = true;
_root.setCookie("cardgame", "level", _level0.level);
_root.setCookie("cardgame", "score", _level0.score);
_root.setCookie("cardgame", "rank", _level0.currentrank);
_root.setCookie("cardgame", "bestattack", _level0.highbesthit);
_root.setCookie("cardgame", "higharcane", _level0.higharcane);
_root.setCookie("cardgame", "highelder", _level0.highelder);
_root.setCookie("cardgame", "highsanity", _level0.highsanity);
_root.setCookie("cardgame", "hightaint", _level0.hightaint);
}
if (_level0.level > _level0.maxlevel) {
_level0.level = _level0.maxlevel;
}
stop();
Symbol 500 MovieClip [matchscores] Frame 2
stop();
Symbol 511 MovieClip Frame 1
function loadedIndicatorFrame() {
var _local2 = int((_parent.getBytesLoaded() / _parent.getBytesTotal()) * 65) + 2;
if ((_local2 - lastFrame) > 4) {
lastFrame = lastFrame + 4;
loadedText = ((int(((_parent.getBytesTotal() / 1024) * (lastFrame - 2)) / 65) + "kb of ") + int(_parent.getBytesTotal() / 1024)) + "kb";
} else if ((_local2 - lastFrame) > 0) {
lastFrame++;
loadedText = ((int(_parent.getBytesLoaded() / 1024) + "kb of ") + int(_parent.getBytesTotal() / 1024)) + "kb";
} else {
loadedText = ((int(_parent.getBytesLoaded() / 1024) + "kb of ") + int(_parent.getBytesTotal() / 1024)) + "kb";
}
return(lastFrame);
}
lastFrame = 1;
Symbol 516 MovieClip Frame 1
_level0.version = "Games of Cthulhu v1.0";
_level0.password = "necro";
_level0.currentrank = 1;
_level0.myget = 4;
_level0.level = 1;
_level0.cardsunlocked = 0;
_level0.maxlevel = 20;
_level0.score = 0;
_level0.showMenu = false;
_level0.actualcards = 0;
_level0.matchcardsused = 0;
_level0.matchdamagereceived = 0;
_level0.score = 0;
_level0.highbesthit = 0;
_level0.higharcane = 0;
_level0.highelder = 0;
_level0.highsanity = 0;
_level0.hightaint = 0;
_level0.deaths = 0;
_level0.largest = 0;
_level0.lifehealed = 0;
_level0.ncounter = 0;
_level0.totaldamage = 0;
stop();
Symbol 517 MovieClip Frame 135
stop();
Symbol 537 MovieClip Frame 197
stop();
Symbol 538 MovieClip Frame 152
stop();
Symbol 544 Button
on (release) {
if (_level0.qualitylevel > 1) {
_level0.qualitylevel--;
i = 1;
while (i <= _level0.qualitylevel) {
this["star" + i]._visible = true;
i++;
}
i = _level0.qualitylevel + 1;
while (i < 5) {
this["star" + i]._visible = false;
i++;
}
if (_level0.qualitylevel == 1) {
_level0._quality = "LOW";
} else if (_level0.qualitylevel == 2) {
_level0._quality = "MEDIUM";
} else if (_level0.qualitylevel == 3) {
_level0._quality = "HIGH";
} else if (_level0.qualitylevel == 4) {
_level0._quality = "Max";
}
}
}
Symbol 548 Button
on (release) {
if (_level0.qualitylevel < 4) {
_level0.qualitylevel++;
i = 1;
while (i <= _level0.qualitylevel) {
this["star" + i]._visible = true;
i++;
}
i = _level0.qualitylevel + 1;
while (i < 5) {
this["star" + i]._visible = false;
i++;
}
if (_level0.qualitylevel == 1) {
_level0._quality = "LOW";
} else if (_level0.qualitylevel == 2) {
_level0._quality = "MEDIUM";
} else if (_level0.qualitylevel == 3) {
_level0._quality = "HIGH";
} else if (_level0.qualitylevel == 4) {
_level0._quality = "Max";
}
}
}
Symbol 556 MovieClip Frame 1
i = _level0.qualitylevel + 1;
while (i <= 4) {
this["star" + i]._visible = false;
i++;
}
boton1.useHandCursor = false;
boton2.useHandCursor = false;
Symbol 575 MovieClip Frame 15
stop();
Symbol 576 Button
on (release) {
_level0.gametimeoffset = getTimer();
_level0.gametime = getTimer() - _level0.gametimeoffset;
trace((("gametimeoffset=" + _level0.gametimeoffset) + " gametime=") + _level0.gametime);
_level0.gotoAndPlay("game");
}
Symbol 580 Button
on (release) {
_level0.gotoAndPlay("instructions");
}
Symbol 584 Button
on (release) {
stopAllSounds();
_level0.level = _root.getCookie("cardgame", "level");
_level0.score = _root.getCookie("cardgame", "score");
_level0.currentrank = _root.getCookie("cardgame", "rank");
_level0.highbesthit = _root.getCookie("cardgame", "bestattack");
_level0.higharcane = _root.getCookie("cardgame", "higharcane");
_level0.highelder = _root.getCookie("cardgame", "highelder");
_level0.highsanity = _root.getCookie("cardgame", "highsanity");
_level0.hightaint = _root.getCookie("cardgame", "hightaint");
_level0.gotoAndPlay("game");
}
Symbol 585 MovieClip Frame 52
stop();
Symbol 595 Button
on (release) {
this.instruction = "These are your opponents cards.";
this.gotoAndStop(3);
}
Symbol 596 Button
on (release) {
this.instruction = "This is your hand. 5 cards are dealt to you and your opponent.";
this.gotoAndStop(5);
}
Symbol 597 Button
on (release) {
this.instruction = "<b>Cards</b><br><br>When you click on a card in your hand, a large clear view of it appears here. Each card will list the effects it has on either you, or your opponent. Most effects are self explanatory, such as damage, gaining life etc. The sanity cost for each card is listed in the bottom right (the green number).";
this.gotoAndStop(9);
}
Symbol 598 Button
on (release) {
this.instruction = "Your <b>Life</b> and <b>Sanity</b> counters.<br><br>When your Life reaches zero, you are dead. You start with the maximum life, and cannot go above your max life from cards. So don't waste life giving cards if you already have high life points.<br><br>Sanity is reduced as you use cards. The more powerful the card, the more sanity required to use it. Sanity is the cost for delving into the Mythos. So some cards cost zero due them not being of an occult nature. If your sanity reaches zero you can still use cards that cost sanity but you will be insane. You start with 25 Sanity plus a random number between 1 and 10. So could start with more, or less sanity than your opponent. You can go above your starting sanity using cards. There's no limit.";
this.gotoAndStop(4);
}
Symbol 599 Button
on (release) {
this.instruction = "<b>The Necronomicon</b><br><br>After selecting a card to play, you click on the <b>Necronomicon</b> to play it.";
this.gotoAndStop(2);
}
Symbol 600 Button
on (release) {
this.instruction = "<b>Arcane Power</b><br><br>As you increase your knowledge of the Mythos through the use of certain cards, you can increase your Arcane power. For every point you have, you will deal one extra damage for all cards that show the symbol next to the damage number. It's also cumulative, so there's no limit to the amount you can build up. Like the Elder Sign, it can also be dispelled on you.";
this.gotoAndStop(8);
}
Symbol 601 Button
on (release) {
this.instruction = "<b>Elder Sign</b><br><br>The Elder Sign is one of the few defenses against the Mythos. It can be increased through the use of certain cards. For each point you have, you will take 1 less damage from cards and monsters (occult cards only - it cannot protect you from normal weapons such as Shotguns etc.). Its effect is also cumulative, and there's no limit to the amount you can build up. But it can be dispelled on you.";
this.gotoAndStop(7);
}
Symbol 602 Button
on (release) {
this.instruction = "<b>Taint of the Yellow Sign</b><br><br>Certain cards and effects <b>Taint</b> you. For every tainted point you have, you will take one damage at the end of your turn. The only way to purge yourself of the taint is to use certain cards. You cannot die from being tainted - if you are down to 1 life point, your taint will be removed. Taint points are NOT cumulative - the number of taint points only increase if the current card used has a higher taint than the current points. So, if your opponent has 1 taint point, and you use card that gives 2 taint points, your opponent will have 2 taint points, not 3.";
this.gotoAndStop(6);
}
Symbol 603 Button
on (release) {
this.instruction = "<b>Creature Icons</b><br><br>You can summon vile creatures and bind them to protect you from your opponents creatures. Due to the difficulty involved in dealing with the Mythos (and to save your sanity), you can only control one creature at a time. Beware - if you summon a second creature while you already have one in play, the first creature will be replaced by the second one. Creatures have an attack score (shown in red on the icon). They don't attack directly, instead they counterattack after your opponent has damaged you. If your opponent has a creature in play, then the damage dealt will be your creatures attack minus his, and also minus any Elder Sign defense your opponent has. Creatures can be banished via certain cards.";
this.gotoAndStop(10);
}
Symbol 604 Button
on (release) {
this.instruction = "<b>Insanity</b><br><br>When your sanity hits zero, you will go insane. There are various types of insanity effects, and one of them will be applied randomly. Generally they will limit you in some way (some could spell certain doom) and can only be removed by increasing your sanity back up beyond zero. ";
this.gotoAndStop(11);
}
Symbol 605 Button
on (release) {
this.instruction = "<b>Ranks</b><br><br>At the end of each round your score is calculated based on remaining life, sanity, damage dealt, and minus damage received. As you score points you increase in rank. For each rank increase you gain an extra 5 max life points.<br><br>Your opponent gains a rank (and 5 life) every round, so if you don't score well to keep up, you will have less life than your opponent as the game continues. But if you score well, you could jump an extra rank and gain an advantage. Cards are unlocked every couple of computer levels you beat. The game will AUTOSAVE every 3 levels. After level 20 (last level) you will get a final stats screen with some extra game information.";
this.gotoAndStop(12);
}
Symbol 607 Button
on (release) {
_root.gotoAndPlay("menu");
}
Symbol 619 MovieClip Frame 1
stop();
Symbol 622 MovieClip Frame 1
stop();
Symbol 622 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 625 MovieClip Frame 1
stop();
Symbol 625 MovieClip Frame 2
stop();
Symbol 625 MovieClip Frame 3
stop();
Symbol 625 MovieClip Frame 17
if (_level0.flagbarajar == false) {
_level0.ejecutar.ccartabueno.nextFrame();
this.gotoAndStop(1);
} else {
this.gotoAndPlay("bucle");
}
Symbol 628 MovieClip Frame 1
stop();
Symbol 628 MovieClip Frame 29
this.gotoAndPlay(2);
Symbol 628 MovieClip Frame 50
this.gotoAndPlay(2);
Symbol 629 MovieClip Frame 1
stop();
_level0.animplayer1.espada.gotoAndStop("estandar");
Symbol 629 MovieClip Frame 28
this.gotoAndPlay(2);
Symbol 631 MovieClip Frame 1
stop();
Symbol 631 MovieClip Frame 29
this.gotoAndPlay(2);
Symbol 639 MovieClip Frame 1
stop();
Symbol 639 MovieClip Frame 2
stop();
Symbol 641 Button
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 643 MovieClip Frame 1
stop();
Symbol 647 MovieClip Frame 1
stop();
Symbol 647 MovieClip Frame 13
this.gotoAndStop(1);
Symbol 651 Button
on (release) {
_level0.level = 1;
_root.gotoAndPlay("menu");
}
Symbol 660 MovieClip Frame 1
stop();
Symbol 660 MovieClip Frame 36
this.gotoAndStop(1);
Symbol 663 MovieClip Frame 1
stop();
Symbol 663 MovieClip Frame 36
this.gotoAndStop(1);
Symbol 666 MovieClip Frame 1
stop();
Symbol 666 MovieClip Frame 36
this.gotoAndStop(1);
Symbol 667 MovieClip Frame 1
stop();
Symbol 667 MovieClip Frame 36
this.gotoAndStop(1);
Symbol 675 Button
on (rollOver) {
gotoAndStop (25);
}
on (rollOut) {
gotoAndStop (24);
}
Symbol 683 MovieClip Frame 1
stop();
Symbol 683 MovieClip Frame 24
stop();
Symbol 683 MovieClip Frame 25
stop();
Symbol 687 Button
on (rollOver) {
gotoAndStop (25);
}
on (rollOut) {
gotoAndStop (24);
}
Symbol 691 MovieClip Frame 1
stop();
Symbol 691 MovieClip Frame 24
stop();
Symbol 691 MovieClip Frame 25
stop();
Symbol 695 Button
on (rollOver) {
gotoAndStop (25);
}
on (rollOut) {
gotoAndStop (24);
}
Symbol 699 MovieClip Frame 1
stop();
Symbol 699 MovieClip Frame 24
stop();
Symbol 699 MovieClip Frame 25
stop();
Symbol 703 Button
on (rollOver) {
gotoAndStop (25);
}
on (rollOut) {
gotoAndStop (24);
}
Symbol 707 MovieClip Frame 1
stop();
Symbol 707 MovieClip Frame 24
stop();
Symbol 707 MovieClip Frame 25
stop();
Symbol 710 Button
on (rollOver) {
gotoAndStop (25);
}
on (rollOut) {
gotoAndStop (24);
}
Symbol 715 MovieClip Frame 1
stop();
Symbol 715 MovieClip Frame 24
stop();
Symbol 715 MovieClip Frame 25
stop();
Symbol 717 Button
on (rollOver) {
gotoAndStop (25);
}
on (rollOut) {
gotoAndStop (24);
}
Symbol 719 MovieClip Frame 1
stop();
Symbol 719 MovieClip Frame 24
stop();
Symbol 720 Button
on (rollOver) {
gotoAndStop (25);
}
on (rollOut) {
gotoAndStop (24);
}
Symbol 722 MovieClip Frame 1
stop();
Symbol 722 MovieClip Frame 24
stop();
Symbol 726 Button
on (rollOver) {
gotoAndStop (25);
}
on (rollOut) {
gotoAndStop (24);
}
Symbol 728 MovieClip Frame 1
stop();
Symbol 728 MovieClip Frame 24
stop();
Symbol 729 Button
on (rollOver) {
gotoAndStop (25);
}
on (rollOut) {
gotoAndStop (24);
}
Symbol 730 MovieClip Frame 1
stop();
Symbol 730 MovieClip Frame 24
stop();
Symbol 734 Button
on (rollOver) {
gotoAndStop (25);
}
on (rollOut) {
gotoAndStop (24);
}
Symbol 736 MovieClip Frame 1
stop();
Symbol 736 MovieClip Frame 24
stop();
Symbol 737 Button
on (rollOver) {
gotoAndStop (25);
}
on (rollOut) {
gotoAndStop (24);
}
Symbol 738 MovieClip Frame 1
stop();
Symbol 738 MovieClip Frame 24
stop();
Symbol 741 MovieClip Frame 1
stop();
Symbol 741 MovieClip Frame 2
stop();
Symbol 744 MovieClip Frame 1
stop();
Symbol 744 MovieClip Frame 2
stop();
Symbol 747 Button
on (rollOver) {
gotoAndStop (25);
}
on (rollOut) {
gotoAndStop (24);
}
Symbol 751 MovieClip Frame 1
stop();
Symbol 751 MovieClip Frame 24
stop();
Symbol 752 Button
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
Symbol 755 MovieClip Frame 1
stop();
Symbol 757 MovieClip Frame 1
stop();
Symbol 759 MovieClip Frame 1
stop();
Symbol 763 MovieClip Frame 1
stop();
Symbol 763 MovieClip Frame 3
stop();
if (_level0.level < 2) {
ind = random(5);
visible = _level0.cartasp2[ind];
} else if (_level0.level >= 2) {
trace("IA ACTIVADA");
juega = false;
i = 0;
if (juega == false) {
if (_level0.ceguera2 != 0) {
ind = random(5);
visible = _level0.cartasp2[ind];
juega = true;
trace("IA: paralyzed-> 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: settle");
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: cure or regenerates");
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: rune" + _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: to poison +" + _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: to improve modifiers");
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: poison cures");
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: blindness");
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: weak damage");
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.dispelc > 0)) || (_level0.dispelo > 0)) || (_level0.curepoison > 0)) && (i < 4)) {
trace(("IA: la carta " + i) + " no juega");
i++;
continue;
}
juega = true;
}
}
_level0.barmalo[visible].juegacarta();
trace("IA: we play the card " + ind);
_level0.reparte = ind;
_level0.destapa = visible;
_level0.carmalo[ind]._visible = false;
gotoAndPlay(4 + (ind * 19));
Symbol 763 MovieClip Frame 22
stop();
Symbol 763 MovieClip Frame 41
stop();
Symbol 763 MovieClip Frame 60
stop();
Symbol 763 MovieClip Frame 79
stop();
Symbol 763 MovieClip Frame 98
stop();
Symbol 764 Button
on (release) {
_level0.matchcardsused++;
this.mascara1._visible = true;
this.mascara2._visible = true;
this.mascara3._visible = true;
if (_level0.turno == 0) {
} else {
if (_level0.ceguera1 == 0) {
_level0.barajas[_level0.numbar][_level0.carbueno].juegacarta();
if (_level0.sanitycost > 0) {
_level0.sanity1 = _level0.sanity1 - _level0.sanitycost;
trace("Sanity loss " + _level0.sanitycost);
_level0.msanity1.sanityfx = _level0.sanitycost;
_level0.sanitycost = 0;
_level0.msanity1.gotoAndPlay(2);
}
if (_level0.sanityloss > 0) {
_level0.sanity2 = _level0.sanity2 - _level0.sanityloss;
_level0.msanity2.sanityfx = _level0.sanityloss;
_level0.msanity2.gotoAndPlay(2);
}
if (_level0.sanitygain > 0) {
_level0.sanity1 = _level0.sanity1 + _level0.sanitygain;
_level0.msanity1plus.sanityfx = _level0.sanitygain;
_level0.msanity1plus.gotoAndPlay(2);
}
if (_level0.sanity2 < -10) {
_level0.sanity2 = -10;
}
if (_level0.sanity1 < -10) {
_level0.sanity1 = -10;
}
if (_level0.sanity1 >= 1) {
_level0.insanity1 = 0;
_level0.agoraphobia1 = 0;
_level0.agoraphobiaIcon1.gotoAndStop(1);
_level0.Xenophobia1 = 0;
_level0.xenophobiaIcon1.gotoAndStop(1);
if (_level0.megalomania1 == 1) {
_level0.megalomania1 = 0;
_level0.megalomaniaIcon1.gotoAndStop(1);
_level0.arma1 = 0;
_level0.mveneno1.gotoAndStop(1);
_level0.text_poison1 = 0;
_level0.veneno1 = 0;
}
if (_level0.schizophrenia1 == 1) {
_level0.schizophrenia1 = 0;
_level0.schizophreniaIcon1.gotoAndStop(1);
_level0.arma1 = 0;
_level0.escudo1 = 0;
_level0.veneno1 = 0;
_level0.marma1.gotoAndStop(1);
_level0.mveneno1.gotoAndStop(1);
_level0.mescudo1.gotoAndStop(1);
_level0.text_poison1 = 0;
_level0.text_defense1 = 0;
_level0.text_attack1 = 0;
}
}
trace("" + _level0.mult1);
if ((_level0.betrayed == 1) && (_level0.contra2 >= 1)) {
_level0["da\u00F1o"] = _level0.contra2;
_level0.betrayed = 0;
_level0.donotcounter = 1;
trace(" betrayal damage" + _level0.contra2);
} else if (_level0.betrayed == 1) {
_level0.betrayed = 0;
}
if (_level0.normal == 2) {
_level0.mirarcartas();
_level0.normal = 0;
}
if (_level0.normal == 3) {
_level0.arma1 = _level0.arma2;
if (_level0.arma1 == 0) {
_level0.marma1.gotoAndStop(1);
} else {
_level0.marma1.gotoAndPlay(2);
}
_level0.escudo1 = _level0.escudo2;
if (_level0.escudo1 == 0) {
_level0.mescudo1.gotoAndStop(1);
} else {
_level0.mescudo1.gotoAndPlay(2);
}
_level0.vida1 = _level0.vida2;
if (_level0.vida1 >= _level0.maxvida) {
_level0.vida1 = _level0.maxvida;
}
_level0.sanity1 = _level0.sanity2;
_level0.veneno1 = _level0.veneno2;
if (_level0.sanity1 >= 1) {
_level0.insanity1 = 0;
_level0.agoraphobia1 = 0;
_level0.agoraphobiaIcon1.gotoAndStop(1);
_level0.Xenophobia1 = 0;
_level0.xenophobiaIcon1.gotoAndStop(1);
if (_level0.megalomania1 == 1) {
_level0.megalomania1 = 0;
_level0.megalomaniaIcon1.gotoAndStop(1);
_level0.arma1 = 0;
_level0.mveneno1.gotoAndStop(1);
_level0.text_poison1 = 0;
_level0.veneno1 = 0;
}
if (_level0.schizophrenia1 == 1) {
_level0.schizophrenia1 = 0;
_level0.schizophreniaIcon1.gotoAndStop(1);
_level0.arma1 = 0;
_level0.escudo1 = 0;
_level0.veneno1 = 0;
_level0.marma1.gotoAndStop(1);
_level0.mveneno1.gotoAndStop(1);
_level0.mescudo1.gotoAndStop(1);
_level0.text_poison1 = 0;
_level0.text_defense1 = 0;
_level0.text_attack1 = 0;
}
}
if (_level0.veneno1 == 0) {
_level0.mveneno1.gotoAndStop(1);
} else {
_level0.mveneno1.gotoAndPlay(2);
}
_level0.normal = 0;
}
if (_level0.normal == 4) {
_level0.parapeto1 = 0;
_level0.minvulner1.gotoAndStop(1);
_level0.parapeto2 = 0;
_level0.minvulner2.gotoAndStop(1);
_level0.arma1 = 0;
_level0.marma1.gotoAndStop(1);
_level0.text_attack1 = 0;
_level0.arma2 = 0;
_level0.marma2.gotoAndStop(1);
_level0.text_attack2 = 0;
_level0.escudo1 = 0;
_level0.mescudo1.gotoAndStop(1);
_level0.text_defense1 = 0;
_level0.escudo2 = 0;
_level0.mescudo2.gotoAndStop(1);
_level0.text_defense2 = 0;
_level0.contra1 = 0;
_level0.ccontra1.gotoAndStop(1);
_level0.text_counter1 = 0;
_level0.contra2 = 0;
_level0.ccontra2.gotoAndStop(1);
_level0.text_counter2 = 0;
_level0.veneno1 = 0;
_level0.mveneno1.gotoAndStop(1);
_level0.text_poison1 = 0;
_level0.veneno2 = 0;
_level0.mveneno2.gotoAndStop(1);
_level0.text_poison2 = 0;
_level0.byakhee2.gotoAndStop(1);
_level0.shambler2.gotoAndStop(1);
_level0.shoggoth2.gotoAndStop(1);
_level0.elderthing2.gotoAndStop(1);
_level0.byakhee1.gotoAndStop(1);
_level0.shambler1.gotoAndStop(1);
_level0.shoggoth1.gotoAndStop(1);
_level0.elderthing1.gotoAndStop(1);
_level0.shub1.gotoAndStop(1);
_level0.shub2.gotoAndStop(1);
if (_level0.sanity1 <= 0) {
_level0.sanity1 = 5;
} else if (_level0.sanity1 >= 1) {
_level0.sanity1 = _level0.sanity1 + 5;
}
if (_level0.sanity2 <= 0) {
_level0.sanity2 = 5;
} else if (_level0.sanity2 >= 1) {
_level0.sanity2 = _level0.sanity2 + 5;
}
_level0.insanity1 = 0;
_level0.insanity2 = 0;
_level0.Xenophobia1 = 0;
_level0.xenophobiaIcon1.gotoAndStop(1);
_level0.megalomania1 = 0;
_level0.megalomaniaIcon1.gotoAndStop(1);
_level0.schizophrenia1 = 0;
_level0.schizophreniaIcon1.gotoAndStop(1);
_level0.Xenophobia2 = 0;
_level0.xenophobiaIcon2.gotoAndStop(1);
_level0.megalomania2 = 0;
_level0.megalomaniaIcon2.gotoAndStop(1);
_level0.schizophrenia2 = 0;
_level0.schizophreniaIcon2.gotoAndStop(1);
_level0.agoraphobia1 = 0;
_level0.agoraphobiaIcon1.gotoAndStop(1);
_level0.normal = 0;
}
if (_level0.normal == 5) {
experiment = random(4);
trace("Experiment number is: " + experiment);
if (experiment == 0) {
_level0.shoggoth = 1;
_level0.contra1 = 6;
}
if (experiment == 1) {
_level0["da\u00F1o"] = 15;
}
if (experiment == 2) {
_level0.arma1 = _level0.arma1 + 5;
_level0.escudo1 = _level0.escudo1 + 5;
}
if (experiment == 3) {
_level0.sanity1 = -5;
}
_level0.normal = 0;
}
if (_level0.normal == 6) {
_level0["da\u00F1o"] = _level0.sanity2 - _level0.arma1;
_level0.yogsothoth = 1;
_level0.normal = 0;
}
if (_level0.normal == 7) {
_level0.sanity1 = -5;
_level0.normal = 0;
}
if (((((_level0.sanity1 <= 0) && (_level0.agoraphobia1 != 1)) && (_level0.schizophrenia1 != 1)) && (_level0.Xenophobia1 != 1)) && (_level0.megalomania1 != 1)) {
_level0.insanity1 = Math.ceil(Math.random() * 4);
trace("Insanity number is " + _level0.insanity1);
_level0.highsanity = _level0.highsanity + 1;
insanesound = random(3);
if (insanesound == 0) {
play0 = new Sound();
play0.setVolume(50);
play0.attachSound("insanitysound");
play0.start();
} else if (insanesound == 1) {
play0 = new Sound();
play0.setVolume(50);
play0.attachSound("insanitysound2");
play0.start();
} else if (insanesound == 2) {
play0 = new Sound();
play0.setVolume(50);
play0.attachSound("insanitysound3");
play0.start();
} else if (insanesound == 3) {
play0 = new Sound();
play0.setVolume(50);
play0.attachSound("insanitysound4");
play0.start();
}
insanesound = 0;
}
if ((_level0.insanity1 == 1) && (_level0.Xenophobia1 != 1)) {
trace("Main button Insanity is Xenophobia");
_level0.Xenophobia1 = 1;
_level0.xenophobiaIcon1.gotoAndPlay(2);
}
if ((_level0.insanity1 == 2) && (_level0.megalomania1 != 1)) {
trace("Main button Insanity is megalomania");
_level0.megalomania1 = 1;
_level0.megalomaniaIcon1.gotoAndPlay(2);
}
if ((_level0.insanity1 == 3) && (_level0.schizophrenia1 != 1)) {
trace("Main button Insanity is schizophrenia1");
_level0.schizophrenia1 = 1;
_level0.schizophreniaIcon1.gotoAndPlay(2);
}
if ((_level0.insanity1 == 4) && (_level0.agoraphobia1 != 1)) {
trace("Main button Insanity is Agoraphobia1");
_level0.agoraphobia1 = 1;
_level0.agoraphobiaIcon1.gotoAndPlay(2);
}
if (((_level0["da\u00F1o"] > 0) && (_level0.normal == 0)) && (_level0.ignoreelder != 1)) {
_level0["da\u00F1o2"] = ((((_level0["da\u00F1o"] + _level0.arma1) + _level0.maldicion2) - _level0.escudo2) - _level0.bless2) * _level0.mult1;
trace("Deal damage with arcane mod and with defense");
if (_level0.mult1 > 1) {
_level0.mult1 = 1;
}
if (_level0["da\u00F1o2"] > _level0.besthit) {
_level0.besthit = _level0["da\u00F1o2"];
}
if ((_level0["da\u00F1o"] > 0) && (_level0["da\u00F1o"] < _level0.escudo2)) {
_level0.mescudo2.gotoAndPlay(30);
}
_level0.totaldamage = _level0.totaldamage + _level0["da\u00F1o2"];
} else if (_level0["da\u00F1o"] <= 0) {
_level0["da\u00F1o2"] = 0;
}
if ((_level0["da\u00F1o"] > 0) && (_level0.normal == 1)) {
_level0["da\u00F1o2"] = ((_level0["da\u00F1o"] + _level0.maldicion2) - _level0.bless2) * _level0.mult1;
trace("Deal damage WITHOUT arcane mod");
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["da\u00F1o"] > 0) && (_level0.ignoreelder == 1)) {
_level0["da\u00F1o2"] = (((_level0["da\u00F1o"] + _level0.arma1) + _level0.maldicion2) - _level0.bless2) * _level0.mult1;
trace("Deal damage with arcane mod, but without defense");
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;
_level0.normal = 0;
}
if (_level0.multiplyaux > _level0.mult1) {
_level0.mult1 = _level0.multiplyaux;
}
if (_level0.regenaux > _level0.regen1) {
_level0.regen1 = _level0.regenaux;
}
if (_level0.besthit > _level0.highbesthit) {
_level0.highbesthit = _level0.besthit;
}
if (_level0.arma1aux > 0) {
_level0.arma1 = _level0.arma1 + _level0.arma1aux;
}
if (_level0.arma1aux < 0) {
_level0.arma1 = _level0.arma1 + _level0.arma1aux;
}
if (_level0.arma1 < 0) {
_level0.arma1 = 0;
}
if (_level0.escudo1aux > 0) {
_level0.escudo1 = _level0.escudo1 + _level0.escudo1aux;
}
if (_level0.escudo1aux < 0) {
_level0.escudo1 = _level0.escudo1 + _level0.escudo1aux;
}
if (_level0.escudo1 < 0) {
_level0.escudo1 = 0;
}
if ((_level0.contra1aux > 0) && (_level0.Xenophobia1 != 1)) {
_level0.contra1 = _level0.contra1aux;
}
if ((_level0.byakhee > 0) && (_level0.Xenophobia1 != 1)) {
_level0.byakhee1.gotoAndPlay(2);
_level0.shambler1.gotoAndStop(1);
_level0.shoggoth1.gotoAndStop(1);
_level0.elderthing1.gotoAndStop(1);
_level0.shub1.gotoAndStop(1);
_level0.byakhee = 0;
}
if ((_level0.shub > 0) && (_level0.Xenophobia1 != 1)) {
_level0.shub1.gotoAndPlay(2);
_level0.byakhee1.gotoAndStop(1);
_level0.shambler1.gotoAndStop(1);
_level0.shoggoth1.gotoAndStop(1);
_level0.elderthing1.gotoAndStop(1);
_level0.shub = 0;
}
if ((_level0.shambler > 0) && (_level0.Xenophobia1 != 1)) {
_level0.shambler1.gotoAndPlay(2);
_level0.byakhee1.gotoAndStop(1);
_level0.shoggoth1.gotoAndStop(1);
_level0.elderthing1.gotoAndStop(1);
_level0.shub1.gotoAndStop(1);
_level0.shambler = 0;
}
if ((_level0.shoggoth > 0) && (_level0.Xenophobia1 != 1)) {
_level0.shoggoth1.gotoAndPlay(2);
_level0.shambler1.gotoAndStop(1);
_level0.byakhee1.gotoAndStop(1);
_level0.elderthing1.gotoAndStop(1);
_level0.shub1.gotoAndStop(1);
_level0.shoggoth = 0;
}
if ((_level0.elderthing > 0) && (_level0.Xenophobia1 != 1)) {
_level0.elderthing1.gotoAndPlay(2);
_level0.shambler1.gotoAndStop(1);
_level0.byakhee1.gotoAndStop(1);
_level0.shoggoth1.gotoAndStop(1);
_level0.shub1.gotoAndStop(1);
_level0.elderthing = 0;
}
if ((_level0.Xenophobia1 == 1) && (_level0.elderthing > 0)) {
_level0.curaveneno = 0;
_level0.escudo1 = _level0.escudo1 - 3;
_level0.elderthing1.gotoAndStop(1);
}
if ((_level0.Xenophobia1 == 1) && (_level0.shub > 0)) {
_level0["da\u00F1o2"] = 0;
_level0.shub1.gotoAndStop(1);
}
if (_level0.Xenophobia1 == 1) {
_level0.contra1 = 0;
_level0.shambler1.gotoAndStop(1);
_level0.byakhee1.gotoAndStop(1);
_level0.shoggoth1.gotoAndStop(1);
_level0.elderthing1.gotoAndStop(1);
_level0.shub1.gotoAndStop(1);
}
if (_level0.veneno1aux > 0) {
_level0.veneno2 = _level0.veneno2 + _level0.veneno1aux;
_level0.mveneno2.gotoAndPlay(2);
_level0.text_poison2 = _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;
_level0.minvulner1.gotoAndStop(2);
}
if (_level0.dispelo > 0) {
_level0.paraliza2 = 0;
_level0.parapeto2 = 0;
_level0.minvulner2.gotoAndStop(1);
_level0.mmaldicion2.gotoAndStop(1);
_level0.mescudo2.gotoAndStop(1);
_level0.text_defense2 = 0;
_level0.marma2.gotoAndStop(1);
_level0.text_attack2 = 0;
_level0.mbless2.gotoAndStop(1);
_level0.regen2 = 0;
_level0.maldicion2 = 0;
_level0.escudo2 = 0;
_level0.arma2 = 0;
_level0.bless2 = 0;
} else if (_level0.dispels > 0) {
_level0.mmaldicion1.gotoAndStop(1);
_level0.maldicion1 = 0;
} else if (_level0.dispelc > 0) {
_level0.contra2 = 0;
_level0.ccontra2.gotoAndStop(1);
_level0.text_counter2 = 0;
_level0.byakhee2.gotoAndStop(1);
_level0.shambler2.gotoAndStop(1);
_level0.shoggoth2.gotoAndStop(1);
_level0.elderthing2.gotoAndStop(1);
_level0.shub2.gotoAndStop(1);
_level0.dispelc = 0;
}
if (_level0.curaveneno > 0) {
_level0.mveneno1.gotoAndStop(1);
_level0.text_poison1 = 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 768 Button
on (release) {
function juegacarta() {
_level0["da\u00F1o"] = 0;
_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 = 0;
_level0.dispels = 0;
_level0.dispelc = 0;
_level0.curaveneno = 0;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.sanitygain = 0;
_level0.sanitycost = 0;
_level0.sanityloss = 0;
_level0.shambler = 0;
_level0.shoggoth = 0;
_level0.byakhee = 0;
_level0.normal = 0;
_level0.betrayed = 0;
_level0.elderthing = 0;
_level0.ignoreelder = 0;
_level0.shub = 0;
_level0.cthulhu = 0;
_level0.cardsound1 = 0;
_level0.cardsound2 = 0;
_level0.cardsound3 = 0;
_level0.cardsound4 = 0;
_level0.cardsound5 = 0;
_level0.cardsound6 = 0;
_level0.cardsound7 = 0;
_level0.cardsound8 = 0;
_level0.cardsound9 = 0;
}
_level0.matchcardsused++;
this.mascara1._visible = true;
this.mascara2._visible = true;
this.mascara3._visible = true;
if (_level0.turno == 0) {
} else if (_level0.ceguera1 == 0) {
_level0.barajas[_level0.numbar][_level0.carbueno].juegacarta();
if (_level0.sanitycost > 0) {
_level0.sanity1 = _level0.sanity1 + _level0.sanitycost;
trace("Sanity gain from discard " + _level0.sanitycost);
_level0.msanity1plus.sanityfx = _level0.sanitycost;
_level0.msanity1plus.gotoAndPlay(2);
_level0.sanitycost = 0;
}
}
if (_level0.sanity1 >= 1) {
_level0.insanity1 = 0;
_level0.agoraphobia1 = 0;
_level0.agoraphobiaIcon1.gotoAndStop(1);
_level0.Xenophobia1 = 0;
_level0.xenophobiaIcon1.gotoAndStop(1);
if (_level0.megalomania1 == 1) {
_level0.megalomania1 = 0;
_level0.megalomaniaIcon1.gotoAndStop(1);
_level0.arma1 = 0;
_level0.mveneno1.gotoAndStop(1);
_level0.text_poison1 = 0;
_level0.veneno1 = 0;
}
if (_level0.schizophrenia1 == 1) {
_level0.schizophrenia1 = 0;
_level0.schizophreniaIcon1.gotoAndStop(1);
_level0.arma1 = 0;
_level0.escudo1 = 0;
_level0.veneno1 = 0;
_level0.marma1.gotoAndStop(1);
_level0.mveneno1.gotoAndStop(1);
_level0.mescudo1.gotoAndStop(1);
_level0.text_poison1 = 0;
_level0.text_defense1 = 0;
_level0.text_attack1 = 0;
}
}
if (_level0.ceguera1 != 0) {
this["cda\u00F1o2"].gotoAndPlay(2);
}
juegacarta();
i = 0;
while (i < _level0.numcartas) {
_level0.barajas[_level0.numbar][i]._visible = false;
i = i + 1;
}
_level0.turno == 0;
this["cda\u00F1o2"].gotoAndPlay("fin");
}
Symbol 769 MovieClip Frame 1
button.useHandCursor = false;
Symbol 771 MovieClip Frame 1
scale = random(50) + 30;
setProperty(_target, _x , (../:x + random(12)) - 6);
setProperty(_target, _yscale , scale);
Symbol 772 MovieClip Frame 1
i = 1;
max = 60;
x = getProperty("fire", _x);
Symbol 772 MovieClip Frame 2
if (max >= i) {
duplicateMovieClip ("fire", "fire" + i, i + 16384);
i = i + 1;
}
Symbol 772 MovieClip Frame 3
if (max >= i) {
duplicateMovieClip ("fire", "fire" + i, i + 16384);
i = i + 1;
}
this.gotoAndPlay(2);
Symbol 800 Button
on (release) {
_level0.gotoAndStop("scores");
}
Symbol 804 Button
on (release) {
_level0.setabg();
_level0.gotoAndStop("scores");
}
Symbol 806 MovieClip Frame 1
stop();
Symbol 806 MovieClip Frame 2
if (_level0.ceguera1 != 0) {
_level0.cura = 0;
_level0.ceguera1 = 0;
gotoAndPlay ("ceguera");
} else {
if (_level0.ceguera2 > 0) {
_level0.mceguera2.gotoAndStop(2);
} else {
_level0.mceguera2.gotoAndStop(1);
}
if (_level0.arma1 > 0) {
_level0.marma1.gotoAndPlay(2);
} else {
_level0.marma1.gotoAndStop(1);
}
if (_level0.escudo1 > 0) {
_level0.mescudo1.gotoAndPlay(2);
} else {
_level0.mescudo1.gotoAndStop(1);
}
if (_level0.veneno2 > 0) {
_level0.mveneno2.gotoAndPlay(2);
} else {
_level0.mveneno2.gotoAndStop(1);
}
_level0.text_poison2 = _level0.veneno2;
_level0.text_attack1 = _level0.arma1;
_level0.text_defense1 = _level0.escudo1;
_level0.text_poison1 = _level0.veneno1;
}
Symbol 806 MovieClip Frame 3
if ((_level0["da\u00F1o2"] > 0) && (_level0.parapeto2 == 0)) {
play();
} else if (((_level0["da\u00F1o2"] > 0) && (_level0.parapeto2 != 0)) && (_level0.normal != 1)) {
gotoAndPlay ("parapeto");
} else if (((_level0["da\u00F1o2"] > 0) && (_level0.parapeto2 != 0)) && (_level0.normal == 1)) {
play();
} else if ((_level0.cura > 0) || (_level0.regen1 > 0)) {
gotoAndPlay ("cura");
} else if (_level0.veneno1 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 806 MovieClip Frame 4
mySound2 = new Sound();
mySound2.setVolume(30);
if (_level0.cardsound1 == 1) {
mySound2.attachSound("shotgun");
} else if (_level0.cardsound2 == 1) {
mySound2.attachSound("tommygun");
} else if (_level0.cardsound3 == 1) {
mySound2.attachSound("raid");
} else {
mySound2.attachSound("attack");
}
mySound2.start();
Symbol 806 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();
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();
Symbol 806 MovieClip Frame 50
if (_level0.vida2 == 0) {
gotoAndPlay ("player1");
} else if ((_level0.contra2 > 0) && (_level0.donotcounter != 1)) {
gotoAndPlay ("contra");
trace("Counter attack");
} else if ((_level0.cura > 0) || (_level0.regen1 > 0)) {
gotoAndPlay ("cura");
} else if (_level0.veneno1 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 806 MovieClip Frame 51
Symbol 806 MovieClip Frame 61
creaturedamage = (_level0.contra2 - _level0.contra1) - _level0.escudo1;
if (creaturedamage < 0) {
creaturedamage = 0;
}
this["tda\u00F1o"] = creaturedamage;
trace("creature damage " + creaturedamage);
_level0.matchdamagereceived = _level0.matchdamagereceived + creaturedamage;
if ((_level0.vida1 - creaturedamage) >= 0) {
_level0.vida1 = _level0.vida1 - creaturedamage;
} else {
_level0.vida1 = 0;
}
mySound2 = new Sound();
mySound2.attachSound("creature_attack");
mySound2.setVolume(40);
mySound2.start();
if (creaturedamage > 0) {
mySound = new Sound();
mySound.attachSound("ih01350");
mySound.start();
}
Symbol 806 MovieClip Frame 101
if (_level0.vida1 == 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 806 MovieClip Frame 107
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.text_poison1 = 0;
}
Symbol 806 MovieClip Frame 150
gotoAndPlay ("fin");
Symbol 806 MovieClip Frame 151
if ((_level0.cura > 0) && (_level0.regen1 > 0)) {
this.theal["tda\u00F1o"] = (_level0.cura + "+") + _level0.regen1;
} else if ((_level0.cura == 0) && (_level0.regen1 > 0)) {
this.theal["tda\u00F1o"] = _level0.regen1;
} else if ((_level0.cura > 0) && (_level0.regen1 == 0)) {
this.theal["tda\u00F1o"] = _level0.cura;
}
_level0.lifehealed = (_level0.lifehealed + _level0.cura) + _level0.regen1;
if (((_level0.vida1 + _level0.cura) + _level0.regen1) <= _level0.maxvida) {
_level0.vida1 = (_level0.vida1 + _level0.cura) + _level0.regen1;
} else {
_level0.vida1 = _level0.maxvida;
}
Symbol 806 MovieClip Frame 194
if (_level0.veneno1 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 806 MovieClip Frame 195
_level0.mceguera1.gotoAndStop(1);
Symbol 806 MovieClip Frame 231
if (_level0.regen1 > 0) {
gotoAndPlay ("cura");
} else if (_level0.veneno1 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 806 MovieClip Frame 236
this["tda\u00F1o"] = _level0["da\u00F1o2"];
_level0.parapeto2 = 0;
Symbol 806 MovieClip Frame 263
_level0.minvulner2.gotoAndStop(1);
if ((_level0.contra2 > 0) && (_level0.donotcounter != 1)) {
gotoAndPlay ("contra");
} else if ((_level0.cura > 0) || (_level0.regen1 > 0)) {
gotoAndPlay ("cura");
} else if (_level0.veneno1 > 0) {
gotoAndPlay ("veneno");
} else {
_level0.minvulner2.gotoAndStop(1);
gotoAndPlay ("fin");
}
Symbol 806 MovieClip Frame 264
if (_level0.higharcane < _level0.arma1) {
_level0.higharcane = _level0.arma1;
}
if (_level0.highelder < _level0.escudo1) {
_level0.highelder = _level0.escudo1;
}
if (_level0.hightaint < _level0.veneno1) {
_level0.hightaint = _level0.veneno1;
}
stop();
Symbol 806 MovieClip Frame 274
stop();
Symbol 806 MovieClip Frame 284
_level0.vida1 = 20;
_level0.resucita = 0;
Symbol 806 MovieClip Frame 296
if (_level0.yogsothoth == 1) {
_level0.sanity1 = -5;
_level0.sanity2 = -5;
_level0.yogsothoth = 0;
}
if ((_level0.sanity1 <= 0) && (_level0.insanity1 == 0)) {
_level0.insanity1 = Math.ceil(Math.random() * 4);
trace("Insanity number is " + _level0.insanity1);
insanesound = random(3);
if (insanesound == 0) {
play0 = new Sound();
play0.setVolume(50);
play0.attachSound("insanitysound");
play0.start();
} else if (insanesound == 1) {
play0 = new Sound();
play0.setVolume(50);
play0.attachSound("insanitysound2");
play0.start();
} else if (insanesound == 2) {
play0 = new Sound();
play0.setVolume(50);
play0.attachSound("insanitysound3");
play0.start();
} else if (insanesound == 3) {
play0 = new Sound();
play0.setVolume(50);
play0.attachSound("insanitysound4");
play0.start();
}
insanesound = 0;
if (_level0.insanity1 == 1) {
trace("Insanity is Xenophobia");
_level0.Xenophobia1 = 1;
_level0.xenophobiaIcon1.gotoAndPlay(2);
_level0.contra1 = 0;
}
if (_level0.insanity1 == 2) {
trace("Insanity is Megalomania");
_level0.megalomania1 = 1;
_level0.megalomaniaIcon1.gotoAndPlay(2);
}
if (_level0.insanity1 == 3) {
trace("Insanity is schizophrenia");
_level0.schizophrenia1 = 1;
_level0.schizophreniaIcon1.gotoAndPlay(2);
}
if (_level0.insanity1 == 4) {
trace("Main button Insanity is Agoraphobia1");
_level0.agoraphobia1 = 1;
_level0.agoraphobiaIcon1.gotoAndPlay(2);
}
}
if ((_level0.sanity2 <= 0) && (_level0.insanity2 == 0)) {
_level0.insanity2 = Math.ceil(Math.random() * 3);
trace("P2 Insanity number is " + _level0.insanity2);
insanesound = random(3);
if (insanesound == 0) {
play0 = new Sound();
play0.setVolume(50);
play0.attachSound("insanitysound");
play0.start();
} else if (insanesound == 1) {
play0 = new Sound();
play0.setVolume(50);
play0.attachSound("insanitysound2");
play0.start();
} else if (insanesound == 2) {
play0 = new Sound();
play0.setVolume(50);
play0.attachSound("insanitysound3");
play0.start();
} else if (insanesound == 3) {
play0 = new Sound();
play0.setVolume(50);
play0.attachSound("insanitysound4");
play0.start();
}
insanesound = 0;
if (_level0.insanity2 == 1) {
trace("P2 Insanity is Xenophobia");
_level0.Xenophobia2 = 1;
_level0.xenophobiaIcon2.gotoAndPlay(2);
_level0.contra2 = 0;
_level0.shambler2.gotoAndStop(1);
_level0.byakhee2.gotoAndStop(1);
_level0.shoggoth2.gotoAndStop(1);
_level0.elderthing2.gotoAndStop(1);
_level0.shub2.gotoAndStop(1);
}
if (_level0.insanity2 == 2) {
trace("P2 Insanity is Megalomania");
trace("Megalomania effects");
_level0.megalomania2 = 1;
_level0.megalomaniaIcon2.gotoAndPlay(2);
}
if (_level0.insanity2 == 3) {
trace("P2 Insanity is schizophrenia");
_level0.schizophrenia2 = 1;
_level0.schizophreniaIcon2.gotoAndPlay(2);
}
}
Symbol 806 MovieClip Frame 313
if (_level0.donotcounter == 1) {
_level0.donotcounter = 0;
trace("Reset counter attack varible");
}
if (_level0.Xenophobia1 == 1) {
_level0.contra1 = 0;
_level0.shambler1.gotoAndStop(1);
_level0.byakhee1.gotoAndStop(1);
_level0.shoggoth1.gotoAndStop(1);
_level0.elderthing1.gotoAndStop(1);
_level0.shub1.gotoAndStop(1);
}
if (_level0.megalomania1 == 1) {
_level0.arma1 = _level0.arma1 + 3;
_level0.marma1.gotoAndPlay(2);
_level0.text_attack1 = _level0.text_attack1 + 3;
_level0.mveneno1.gotoAndPlay(2);
_level0.text_poison1 = _level0.text_poison1 + 3;
_level0.veneno1 = _level0.veneno1 + 3;
}
if (_level0.schizophrenia1 == 1) {
_level0.statchange = random(2);
if (_level0.statchange == 0) {
_level0.arma1 = _level0.arma1 - 3;
} else if (_level0.statchange == 1) {
_level0.arma1 = _level0.arma1 + 3;
}
_level0.statchange = random(2);
if (_level0.statchange == 0) {
_level0.veneno1 = _level0.veneno1 - 3;
} else if (_level0.statchange == 1) {
_level0.veneno1 = _level0.veneno1 + 3;
}
_level0.statchange = random(2);
if (_level0.statchange == 0) {
_level0.escudo1 = _level0.escudo1 - 3;
} else if (_level0.statchange == 1) {
_level0.escudo1 = _level0.escudo1 + 3;
}
if (_level0.arma1 < 0) {
_level0.arma1 = 0;
}
if (_level0.veneno1 < 0) {
_level0.veneno1 = 0;
}
if (_level0.escudo1 < 0) {
_level0.escudo1 = 0;
}
if (_level0.arma1 > 0) {
_level0.marma1.gotoAndPlay(2);
} else {
_level0.marma1.gotoAndStop(1);
}
if (_level0.escudo1 > 0) {
_level0.mescudo1.gotoAndPlay(2);
} else {
_level0.mescudo1.gotoAndStop(1);
}
if (_level0.veneno1 > 0) {
_level0.mveneno1.gotoAndPlay(2);
} else {
_level0.mveneno1.gotoAndStop(1);
}
if (_level0.vida1 > _level0.maxvida) {
_level0.vida1 = _level0.maxvida;
}
if (_level0.vida1 <= 0) {
_level0.vida1 = 1;
}
_level0.text_attack1 = _level0.arma1;
_level0.text_defense1 = _level0.escudo1;
_level0.text_poison1 = _level0.veneno1;
}
if (_level0.higharcane < _level0.arma1) {
_level0.higharcane = _level0.arma1;
}
if (_level0.highelder < _level0.escudo1) {
_level0.highelder = _level0.escudo1;
}
if (_level0.hightaint < _level0.veneno1) {
_level0.hightaint = _level0.veneno1;
}
trace("Turn end");
this._parent.ccartamalo.play();
this._parent.play();
Symbol 809 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.gotoAndPlay(2);
} else {
_level0.marma2.gotoAndStop(1);
}
if (_level0.escudo2 > 0) {
_level0.mescudo2.gotoAndPlay(2);
} else {
_level0.mescudo2.gotoAndStop(1);
}
if (_level0.maldicion1 > 0) {
_level0.mmaldicion1.gotoAndStop(2);
} else {
_level0.mmaldicion1.gotoAndStop(1);
}
if (_level0.veneno1 > 0) {
_level0.mveneno1.gotoAndPlay(2);
} else {
_level0.mveneno1.gotoAndStop(1);
}
_level0.text_attack2 = _level0.arma2;
_level0.text_defense2 = _level0.escudo2;
_level0.text_poison2 = _level0.veneno2;
}
Symbol 809 MovieClip Frame 3
if ((_level0["da\u00F1o1"] > 0) && (_level0.parapeto1 == 0)) {
play();
} else if (((_level0["da\u00F1o1"] > 0) && (_level0.parapeto1 != 0)) && (_level0.normal != 1)) {
gotoAndPlay ("parapeto");
} else if (((_level0["da\u00F1o1"] > 0) && (_level0.parapeto1 != 0)) && (_level0.normal == 1)) {
play();
} else if ((_level0.cura > 0) || (_level0.regen2 > 0)) {
gotoAndPlay ("cura");
} else if (_level0.veneno2 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 809 MovieClip Frame 4
mySound2 = new Sound();
mySound2.setVolume(30);
if (_level0.cardsound1 == 1) {
mySound2.attachSound("shotgun");
} else if (_level0.cardsound2 == 1) {
mySound2.attachSound("tommygun");
} else if (_level0.cardsound3 == 1) {
mySound2.attachSound("raid");
} else {
mySound2.attachSound("attack");
}
mySound2.start();
Symbol 809 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();
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");
}
mySound.start();
Symbol 809 MovieClip Frame 50
if (_level0.vida1 == 0) {
gotoAndPlay ("player2");
} else if ((_level0.contra1 > 0) && (_level0.donotcounter != 1)) {
trace("counter attack");
gotoAndPlay ("contra");
} else if ((_level0.cura > 0) || (_level0.regen2 > 0)) {
gotoAndPlay ("cura");
} else if (_level0.veneno2 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 809 MovieClip Frame 61
creaturedamage = (_level0.contra1 - _level0.contra2) - _level0.escudo2;
if (creaturedamage < 0) {
creaturedamage = 0;
}
this["tda\u00F1o"] = creaturedamage;
trace("creature damage " + creaturedamage);
_level0.totaldamage = _level0.totaldamage + creaturedamage;
_level0.ncounter = _level0.ncounter + 1;
if ((_level0.vida2 - creaturedamage) >= 0) {
_level0.vida2 = _level0.vida2 - creaturedamage;
_level0.calcularpuntaje(creaturedamage, 1);
} else {
_level0.calcularpuntaje(creaturedamage, 1);
_level0.vida2 = 0;
}
mySound2 = new Sound();
mySound2.attachSound("creature_attack");
mySound2.setVolume(40);
mySound2.start();
if (creaturedamage > 0) {
mySound = new Sound();
mySound.attachSound("ih01350");
mySound.start();
}
Symbol 809 MovieClip Frame 100
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 809 MovieClip Frame 106
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.text_poison2 = 0;
_level0.bveneno2._height = 0;
trace("player2 casi muerto");
}
Symbol 809 MovieClip Frame 151
gotoAndPlay ("fin");
Symbol 809 MovieClip Frame 152
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.maxvida2) {
_level0.vida2 = (_level0.vida2 + _level0.cura) + _level0.regen2;
} else {
_level0.vida2 = _level0.maxvida2;
}
Symbol 809 MovieClip Frame 183
if (_level0.veneno2 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 809 MovieClip Frame 184
_level0.mceguera2.gotoAndStop(1);
Symbol 809 MovieClip Frame 217
if (_level0.regen2 > 0) {
gotoAndPlay ("cura");
} else if (_level0.veneno2 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 809 MovieClip Frame 222
this["tda\u00F1o"] = _level0["da\u00F1o1"];
_level0.parapeto1 = 0;
Symbol 809 MovieClip Frame 249
_level0.minvulner1.gotoAndStop(1);
if ((_level0.contra1 > 0) && (_level0.donotcounter != 1)) {
gotoAndPlay ("contra");
} else if ((_level0.cura > 0) || (_level0.regen2 > 0)) {
gotoAndPlay ("cura");
} else if (_level0.veneno2 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 809 MovieClip Frame 250
if (_level0.higharcane < _level0.arma1) {
_level0.higharcane = _level0.arma1;
}
if (_level0.highelder < _level0.escudo1) {
_level0.highelder = _level0.escudo1;
}
if (_level0.hightaint < _level0.veneno1) {
_level0.hightaint = _level0.veneno1;
}
stop();
Symbol 809 MovieClip Frame 260
if (_level0.higharcane < _level0.arma1) {
_level0.higharcane = _level0.arma1;
}
if (_level0.highelder < _level0.escudo1) {
_level0.highelder = _level0.escudo1;
}
if (_level0.hightaint < _level0.veneno1) {
_level0.hightaint = _level0.veneno1;
}
stop();
Symbol 809 MovieClip Frame 270
_level0.vida1 = 20;
_level0.resucita = 0;
Symbol 809 MovieClip Frame 283
if (_level0.yogsothoth == 1) {
_level0.sanity1 = -5;
_level0.sanity2 = -5;
_level0.yogsothoth = 0;
}
if ((_level0.sanity2 <= 0) && (_level0.insanity2 == 0)) {
_level0.insanity2 = Math.ceil(Math.random() * 3);
trace("Insanity number is " + _level0.insanity2);
if (_level0.insanity2 == 1) {
trace("Insanity is Xenophobia");
_level0.Xenophobia2 = 1;
_level0.xenophobiaIcon2.gotoAndPlay(2);
_level0.contra2 = 0;
}
if (_level0.insanity2 == 2) {
trace("Insanity is Megalomania");
_level0.megalomania2 = 1;
_level0.megalomaniaIcon2.gotoAndPlay(2);
}
if (_level0.insanity2 == 3) {
trace("Insanity is schizophrenia");
_level0.schizophrenia2 = 1;
_level0.schizophreniaIcon2.gotoAndPlay(2);
}
}
if ((_level0.sanity1 <= 0) && (_level0.insanity1 == 0)) {
_level0.insanity1 = Math.ceil(Math.random() * 4);
trace("Insanity number is " + _level0.insanity1);
if (_level0.insanity1 == 1) {
trace("Insanity is Xenophobia");
_level0.Xenophobia1 = 1;
_level0.xenophobiaIcon1.gotoAndPlay(2);
_level0.contra1 = 0;
_level0.shambler1.gotoAndStop(1);
_level0.byakhee1.gotoAndStop(1);
_level0.shoggoth1.gotoAndStop(1);
_level0.elderthing1.gotoAndStop(1);
_level0.shub1.gotoAndStop(1);
}
if (_level0.insanity1 == 2) {
trace("Insanity is Megalomania");
_level0.megalomania1 = 1;
_level0.megalomaniaIcon1.gotoAndPlay(2);
}
if (_level0.insanity1 == 3) {
trace("Player 2 Insanity is schizophrenia");
_level0.schizophrenia1 = 1;
_level0.schizophreniaIcon1.gotoAndPlay(2);
}
if (_level0.insanity1 == 4) {
trace("Main button Insanity is Agoraphobia1");
_level0.agoraphobia1 = 1;
_level0.agoraphobiaIcon1.gotoAndPlay(2);
}
}
Symbol 809 MovieClip Frame 317
if (_level0.donotcounter == 1) {
_level0.donotcounter = 0;
trace("Reset counter attack varible");
}
if (_level0.Xenophobia2 == 1) {
_level0.contra2 = 0;
_level0.shambler2.gotoAndStop(1);
_level0.byakhee2.gotoAndStop(1);
_level0.shoggoth2.gotoAndStop(1);
_level0.elderthing2.gotoAndStop(1);
_level0.shub2.gotoAndStop(1);
}
if (_level0.megalomania2 == 1) {
trace("Megalomania effects");
_level0.arma2 = _level0.arma2 + 3;
_level0.marma2.gotoAndPlay(2);
_level0.text_attack2 = _level0.text_attack2 + 3;
_level0.mveneno2.gotoAndPlay(2);
_level0.text_poison2 = _level0.text_poison2 + 3;
_level0.veneno2 = _level0.veneno2 + 3;
}
if (_level0.schizophrenia2 == 1) {
_level0.statchange = random(2);
if (_level0.statchange == 0) {
_level0.arma2 = _level0.arma2 - 3;
} else if (_level0.statchange == 1) {
_level0.arma2 = _level0.arma2 + 3;
}
_level0.statchange = random(2);
if (_level0.statchange == 0) {
_level0.veneno2 = _level0.veneno2 - 3;
} else if (_level0.statchange == 1) {
_level0.veneno2 = _level0.veneno2 + 3;
}
_level0.statchange = random(2);
if (_level0.statchange == 0) {
_level0.escudo2 = _level0.escudo2 - 3;
} else if (_level0.statchange == 1) {
_level0.escudo2 = _level0.escudo2 + 3;
}
if (_level0.arma2 < 0) {
_level0.arma2 = 0;
}
if (_level0.veneno2 < 0) {
_level0.veneno2 = 0;
}
if (_level0.escudo2 < 0) {
_level0.escudo2 = 0;
}
if (_level0.arma2 > 0) {
_level0.marma2.gotoAndPlay(2);
} else {
_level0.marma2.gotoAndStop(1);
}
if (_level0.escudo2 > 0) {
_level0.mescudo2.gotoAndPlay(2);
} else {
_level0.mescudo2.gotoAndStop(1);
}
if (_level0.veneno2 > 0) {
_level0.mveneno2.gotoAndPlay(2);
} else {
_level0.mveneno2.gotoAndStop(1);
}
if (_level0.vida2 > _level0.maxvida2) {
_level0.vida2 = _level0.maxvida2;
}
if (_level0.vida2 <= 0) {
_level0.vida2 = 1;
}
_level0.text_attack2 = _level0.arma2;
_level0.text_defense2 = _level0.escudo2;
_level0.text_poison2 = _level0.veneno2;
}
trace("Turn end");
this._parent.play();
Symbol 820 MovieClip Frame 31
stop();
Symbol 821 MovieClip Frame 2
trace((((("DISTRIBUTING LETTERS: 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("I FINISH THE DECK. WE RETURN TO SHUFFLE...");
_level0.barajacartas();
stop();
trace("cindice: " + _level0.cindice);
}
Symbol 821 MovieClip Frame 3
gotoAndPlay(4 + (_level0.numbar * 34));
Symbol 821 MovieClip Frame 32
trace("repartiondo a player1...visible " + visible);
Symbol 821 MovieClip Frame 36
i = 0;
while (i < _level0.numcartas) {
_level0.barajas[_level0.numbar][i]._visible = false;
i = i + 1;
}
visible = _level0.barajar[_level0.cindice];
trace("visible " + visible);
_level0.barajas[_level0.numbar][visible]._visible = true;
_level0.barajas[_level0.numbar]._visible = true;
_level0.cindice = _level0.cindice - 1;
if (_level0.cindice == 1) {
_level0.gfxbaraja.gotoAndStop(2);
} else if (_level0.cindice == 0) {
_level0.gfxbaraja.gotoAndStop(3);
} else if (_level0.cindice <= -1) {
trace("I FINISH THE DECK. WE RETURN TO SHUFFLE (2)...");
_level0.barajacartas();
stop();
trace("cindice: " + _level0.cindice);
}
Symbol 821 MovieClip Frame 37
trace("WE DISTRIBUTE TO PLAYER 2 ON GUARD:" + _level0.reparte);
gotoAndPlay(175 + (_level0.reparte * 7));
Symbol 821 MovieClip Frame 38
trace("deal out card 2");
Symbol 821 MovieClip Frame 66
trace("repartiondo a player1...visible " + visible);
Symbol 821 MovieClip Frame 70
i = 0;
while (i < _level0.numcartas) {
_level0.barajas[_level0.numbar][i]._visible = false;
i = i + 1;
}
visible = _level0.barajar[_level0.cindice];
trace("visible " + visible);
_level0.barajas[_level0.numbar][visible]._visible = true;
_level0.barajas[_level0.numbar]._visible = true;
_level0.cindice = _level0.cindice - 1;
if (_level0.cindice == 1) {
_level0.gfxbaraja.gotoAndStop(2);
} else if (_level0.cindice == 0) {
_level0.gfxbaraja.gotoAndStop(3);
} else if (_level0.cindice <= -1) {
trace("I FINISH THE DECK. WE RETURN TO SHUFFLE (2)...");
_level0.barajacartas();
stop();
trace("cindice: " + _level0.cindice);
}
Symbol 821 MovieClip Frame 71
trace("WE DISTRIBUTE TO PLAYER 2 ON GUARD:" + _level0.reparte);
gotoAndPlay(175 + (_level0.reparte * 7));
Symbol 821 MovieClip Frame 72
trace("deal out card 3");
Symbol 821 MovieClip Frame 100
trace("distribute to player1...visible " + visible);
Symbol 821 MovieClip Frame 104
i = 0;
while (i < _level0.numcartas) {
_level0.barajas[_level0.numbar][i]._visible = false;
i = i + 1;
}
visible = _level0.barajar[_level0.cindice];
trace("visible " + visible);
_level0.barajas[_level0.numbar][visible]._visible = true;
_level0.barajas[_level0.numbar]._visible = true;
_level0.cindice = _level0.cindice - 1;
if (_level0.cindice == 1) {
_level0.gfxbaraja.gotoAndStop(2);
} else if (_level0.cindice == 0) {
_level0.gfxbaraja.gotoAndStop(3);
} else if (_level0.cindice <= -1) {
trace("I FINISH THE DECK. WE RETURN TO SHUFFLE(2)...");
_level0.barajacartas();
stop();
trace("cindice: " + _level0.cindice);
}
Symbol 821 MovieClip Frame 105
trace("WE DISTRIBUTE TO PLAYER 2 ON GUARD:" + _level0.reparte);
gotoAndPlay(175 + (_level0.reparte * 7));
Symbol 821 MovieClip Frame 106
trace("deal out card 4");
Symbol 821 MovieClip Frame 134
trace("distribute to player1...visible " + visible);
Symbol 821 MovieClip Frame 138
i = 0;
while (i < _level0.numcartas) {
_level0.barajas[_level0.numbar][i]._visible = false;
i = i + 1;
}
visible = _level0.barajar[_level0.cindice];
trace("visible " + visible);
_level0.barajas[_level0.numbar][visible]._visible = true;
_level0.barajas[_level0.numbar]._visible = true;
_level0.cindice = _level0.cindice - 1;
if (_level0.cindice == 1) {
_level0.gfxbaraja.gotoAndStop(2);
} else if (_level0.cindice == 0) {
_level0.gfxbaraja.gotoAndStop(3);
} else if (_level0.cindice <= -1) {
trace("I FINISH THE DECK. WE RETURN TO SHUFFLE (2)...");
_level0.barajacartas();
stop();
trace("cindice: " + _level0.cindice);
}
Symbol 821 MovieClip Frame 139
trace("WE DISTRIBUTE TO PLAYER 2 ON GUARD:" + _level0.reparte);
gotoAndPlay(175 + (_level0.reparte * 7));
Symbol 821 MovieClip Frame 140
trace("deal out card 5");
Symbol 821 MovieClip Frame 169
trace("distribute to player1...visible " + visible);
Symbol 821 MovieClip Frame 173
i = 0;
while (i < _level0.numcartas) {
_level0.barajas[_level0.numbar][i]._visible = false;
i = i + 1;
}
visible = _level0.barajar[_level0.cindice];
trace("visible " + visible);
_level0.barajas[_level0.numbar][visible]._visible = true;
_level0.barajas[_level0.numbar]._visible = true;
_level0.cindice = _level0.cindice - 1;
if (_level0.cindice == 1) {
_level0.gfxbaraja.gotoAndStop(2);
} else if (_level0.cindice == 0) {
_level0.gfxbaraja.gotoAndStop(3);
} else if (_level0.cindice <= -1) {
trace("I FINISH THE DECK. WE RETURN TO SHUFFLE (2)...");
_level0.barajacartas();
stop();
trace("cindice: " + _level0.cindice);
}
Symbol 821 MovieClip Frame 174
trace("WE DISTRIBUTE TO PLAYER 2 ON GUARD:" + _level0.reparte);
gotoAndPlay(175 + (_level0.reparte * 7));
Symbol 821 MovieClip Frame 181
_level0.cmalo1.gotoAndStop(1);
_level0.cmalo1._visible = true;
trace((("Play card " + _level0.barajar[_level0.cindice]) + " in the position ") + _level0.reparte);
visible = _level0.barajar[_level0.cindice];
_level0.cindice = _level0.cindice - 1;
_level0.cartasp2[_level0.reparte] = visible;
trace("" + _level0.cartasp2);
this._parent.play();
stop();
Symbol 821 MovieClip Frame 188
_level0.cmalo2.gotoAndStop(1);
_level0.cmalo2._visible = true;
trace((("Play card " + _level0.barajar[_level0.cindice]) + " in the position ") + _level0.reparte);
visible = _level0.barajar[_level0.cindice];
_level0.cindice = _level0.cindice - 1;
_level0.cartasp2[_level0.reparte] = visible;
trace("" + _level0.cartasp2);
this._parent.play();
stop();
Symbol 821 MovieClip Frame 195
_level0.cmalo3.gotoAndStop(1);
_level0.cmalo3._visible = true;
trace((("Play card " + _level0.barajar[_level0.cindice]) + " in the position ") + _level0.reparte);
visible = _level0.barajar[_level0.cindice];
_level0.cindice = _level0.cindice - 1;
_level0.cartasp2[_level0.reparte] = visible;
trace("" + _level0.cartasp2);
this._parent.play();
stop();
Symbol 821 MovieClip Frame 202
_level0.cmalo4.gotoAndStop(1);
_level0.cmalo4._visible = true;
trace((("Play card " + _level0.barajar[_level0.cindice]) + " in the position ") + _level0.reparte);
visible = _level0.barajar[_level0.cindice];
_level0.cindice = _level0.cindice - 1;
_level0.cartasp2[_level0.reparte] = visible;
trace("" + _level0.cartasp2);
this._parent.play();
stop();
Symbol 821 MovieClip Frame 209
_level0.cmalo5.gotoAndStop(1);
_level0.cmalo5._visible = true;
trace((("Play card " + _level0.barajar[_level0.cindice]) + " in the position ") + _level0.reparte);
visible = _level0.barajar[_level0.cindice];
_level0.cindice = _level0.cindice - 1;
_level0.cartasp2[_level0.reparte] = visible;
trace("" + _level0.cartasp2);
this._parent.play();
stop();
Symbol 822 MovieClip Frame 1
stop();
Symbol 822 MovieClip Frame 2
this.mascara1._visible = false;
this.mascara2._visible = false;
this.mascara3._visible = false;
stop();
Symbol 822 MovieClip Frame 21
_level0.barajamalo._visible = true;
i = 0;
while (i < _level0.numcartas) {
_level0.barmalo[i]._visible = false;
i = i + 1;
}
_level0.barmalo[_level0.destapa]._visible = true;
_level0.turno = 2;
if (_level0.ceguera2 == 0) {
if (_level0.sanitycost > 0) {
_level0.sanity2 = _level0.sanity2 - _level0.sanitycost;
trace("Sanity loss " + _level0.sanitycost);
_level0.msanity2.sanityfx = _level0.sanitycost;
_level0.sanitycost = 0;
_level0.msanity2.gotoAndPlay(2);
}
if (_level0.sanityloss > 0) {
_level0.sanity1 = _level0.sanity1 - _level0.sanityloss;
_level0.msanity1.sanityfx = _level0.sanityloss;
_level0.msanity1.gotoAndPlay(2);
}
if (_level0.sanitygain > 0) {
_level0.sanity2 = _level0.sanity2 + _level0.sanitygain;
_level0.msanity2plus.sanityfx = _level0.sanitygain;
_level0.msanity2plus.gotoAndPlay(2);
}
if (_level0.sanity2 < -10) {
_level0.sanity2 = -10;
}
if (_level0.sanity1 < -10) {
_level0.sanity1 = -10;
}
if (_level0.sanity2 >= 1) {
_level0.insanity2 = 0;
_level0.Xenophobia2 = 0;
_level0.xenophobiaIcon2.gotoAndStop(1);
if (_level0.megalomania2 == 1) {
_level0.megalomania2 = 0;
_level0.megalomaniaIcon2.gotoAndStop(1);
_level0.arma2 = 0;
_level0.mveneno2.gotoAndStop(1);
_level0.text_poison2 = 0;
_level0.veneno2 = 0;
}
if (_level0.schizophrenia2 == 1) {
_level0.schizophrenia2 = 0;
_level0.schizophreniaIcon2.gotoAndStop(1);
_level0.arma2 = 0;
_level0.escudo2 = 0;
_level0.veneno2 = 0;
_level0.marma2.gotoAndStop(1);
_level0.mveneno2.gotoAndStop(1);
_level0.mescudo2.gotoAndStop(1);
_level0.text_poison2 = 0;
_level0.text_defense2 = 0;
_level0.text_attack2 = 0;
}
}
if (_level0.normal == 2) {
_level0.normal = 0;
}
if (_level0.normal == 3) {
_level0.arma2 = _level0.arma1;
if (_level0.arma2 == 0) {
_level0.marma2.gotoAndStop(1);
} else {
_level0.marma2.gotoAndPlay(2);
}
_level0.escudo2 = _level0.escudo1;
if (_level0.escudo2 == 0) {
_level0.mescudo2.gotoAndStop(1);
} else {
_level0.mescudo2.gotoAndPlay(2);
}
_level0.sanity2 = _level0.sanity1;
if (_level0.sanity2 >= 1) {
_level0.insanity2 = 0;
_level0.Xenophobia2 = 0;
_level0.xenophobiaIcon2.gotoAndStop(1);
if (_level0.megalomania2 == 1) {
_level0.megalomania2 = 0;
_level0.megalomaniaIcon2.gotoAndStop(1);
_level0.arma2 = 0;
_level0.mveneno2.gotoAndStop(1);
_level0.text_poison2 = 0;
_level0.veneno2 = 0;
}
if (_level0.schizophrenia2 == 1) {
_level0.schizophrenia2 = 0;
_level0.schizophreniaIcon2.gotoAndStop(1);
_level0.arma2 = 0;
_level0.escudo2 = 0;
_level0.veneno2 = 0;
_level0.marma2.gotoAndStop(1);
_level0.mveneno2.gotoAndStop(1);
_level0.mescudo2.gotoAndStop(1);
_level0.text_poison2 = 0;
_level0.text_defense2 = 0;
_level0.text_attack2 = 0;
}
}
_level0.vida2 = _level0.vida1;
if (_level0.vida2 >= _level0.maxvida2) {
_level0.vida2 = _level0.maxvida2;
}
_level0.veneno2 = _level0.veneno1;
if (_level0.veneno2 == 0) {
_level0.mveneno2.gotoAndStop(1);
} else {
_level0.mveneno2.gotoAndPlay(2);
}
_level0.normal = 0;
}
if (_level0.normal == 4) {
_level0.parapeto1 = 0;
_level0.minvulner1.gotoAndStop(1);
_level0.parapeto2 = 0;
_level0.minvulner2.gotoAndStop(1);
_level0.arma1 = 0;
_level0.marma1.gotoAndStop(1);
_level0.text_attack1 = 0;
_level0.arma2 = 0;
_level0.marma2.gotoAndStop(1);
_level0.text_attack2 = 0;
_level0.escudo1 = 0;
_level0.mescudo1.gotoAndStop(1);
_level0.text_defense1 = 0;
_level0.escudo2 = 0;
_level0.mescudo2.gotoAndStop(1);
_level0.text_defense2 = 0;
_level0.contra1 = 0;
_level0.ccontra1.gotoAndStop(1);
_level0.text_counter1 = 0;
_level0.contra2 = 0;
_level0.ccontra2.gotoAndStop(1);
_level0.text_counter2 = 0;
_level0.veneno1 = 0;
_level0.mveneno1.gotoAndStop(1);
_level0.text_poison1 = 0;
_level0.veneno2 = 0;
_level0.mveneno2.gotoAndStop(1);
_level0.text_poison2 = 0;
_level0.byakhee2.gotoAndStop(1);
_level0.shambler2.gotoAndStop(1);
_level0.shoggoth2.gotoAndStop(1);
_level0.elderthing2.gotoAndStop(1);
_level0.byakhee1.gotoAndStop(1);
_level0.shambler1.gotoAndStop(1);
_level0.shoggoth1.gotoAndStop(1);
_level0.elderthing1.gotoAndStop(1);
_level0.shub1.gotoAndStop(1);
_level0.shub2.gotoAndStop(1);
if (_level0.sanity1 <= 0) {
_level0.sanity1 = 5;
} else if (_level0.sanity1 >= 1) {
_level0.sanity1 = _level0.sanity1 + 5;
}
if (_level0.sanity2 <= 0) {
_level0.sanity2 = 5;
} else if (_level0.sanity2 >= 1) {
_level0.sanity2 = _level0.sanity2 + 5;
}
_level0.Xenophobia1 = 0;
_level0.xenophobiaIcon1.gotoAndStop(1);
_level0.megalomania1 = 0;
_level0.megalomaniaIcon1.gotoAndStop(1);
_level0.schizophrenia1 = 0;
_level0.schizophreniaIcon1.gotoAndStop(1);
_level0.Xenophobia2 = 0;
_level0.xenophobiaIcon2.gotoAndStop(1);
_level0.megalomania2 = 0;
_level0.megalomaniaIcon2.gotoAndStop(1);
_level0.schizophrenia2 = 0;
_level0.schizophreniaIcon2.gotoAndStop(1);
_level0.agoraphobia1 = 0;
_level0.agoraphobiaIcon1.gotoAndStop(1);
_level0.normal = 0;
}
if (_level0.normal == 5) {
experiment = random(4);
if (experiment == 0) {
_level0.shoggoth = 1;
_level0.contra2 = 6;
}
if (experiment == 1) {
_level0["da\u00F1o"] = 15;
}
if (experiment == 2) {
_level0.arma2 = _level0.arma2 + 5;
_level0.escudo2 = _level0.escudo2 + 5;
}
if (experiment == 3) {
_level0.sanity2 = -5;
}
_level0.normal = 0;
}
if (_level0.normal == 6) {
_level0["da\u00F1o"] = _level0.sanity1 - _level0.arma2;
_level0.yogsothoth = 1;
_level0.normal = 0;
}
if (_level0.normal == 7) {
_level0.sanity2 = -5;
_level0.normal = 0;
}
if ((((_level0.sanity2 <= 0) && (_level0.schizophrenia2 != 1)) && (_level0.Xenophobia2 != 1)) && (_level0.megalomania2 != 1)) {
_level0.insanity2 = Math.ceil(Math.random() * 3);
trace("P2 Main Insanity number is " + _level0.insanity1);
insanesound = random(3);
if (insanesound == 0) {
play0 = new Sound();
play0.setVolume(50);
play0.attachSound("insanitysound");
play0.start();
} else if (insanesound == 1) {
play0 = new Sound();
play0.setVolume(50);
play0.attachSound("insanitysound2");
play0.start();
} else if (insanesound == 2) {
play0 = new Sound();
play0.setVolume(50);
play0.attachSound("insanitysound3");
play0.start();
} else if (insanesound == 3) {
play0 = new Sound();
play0.setVolume(50);
play0.attachSound("insanitysound4");
play0.start();
}
insanesound = 0;
}
if ((_level0.insanity2 == 1) && (_level0.Xenophobia2 != 1)) {
trace("P2 Main Insanity is Xenophobia");
_level0.Xenophobia2 = 1;
_level0.xenophobiaIcon2.gotoAndPlay(2);
}
if ((_level0.insanity2 == 2) && (_level0.megalomania2 != 1)) {
trace("P2 Main Insanity is megalomania");
_level0.megalomania2 = 1;
_level0.megalomaniaIcon2.gotoAndPlay(2);
}
if ((_level0.insanity2 == 3) && (_level0.schizophrenia2 != 1)) {
trace("P2 Main Insanity is schizophrenia1");
_level0.schizophrenia2 = 1;
_level0.schizophreniaIcon2.gotoAndPlay(2);
}
if ((_level0.betrayed == 1) && (_level0.contra1 >= 1)) {
_level0["da\u00F1o"] = _level0.contra1;
_level0.betrayed = 0;
_level0.donotcounter = 1;
trace(" betrayal damage" + _level0.contra1);
} else if (_level0.betrayed == 1) {
_level0.betrayed = 0;
}
if (((_level0["da\u00F1o"] > 0) and (_level0.normal != 1)) and (_level0.ignoreelder != 1)) {
_level0["da\u00F1o1"] = ((((_level0["da\u00F1o"] + _level0.arma2) + _level0.maldicion1) - _level0.escudo1) - _level0.bless1) * _level0.mult2;
trace("Add arcane power to attack" + _level0.arma2);
if (_level0.mult2 > 1) {
_level0.mult2 = 1;
}
if (_level0["da\u00F1o1"] > _level0.largest) {
_level0.largest = _level0["da\u00F1o1"];
}
if ((_level0["da\u00F1o"] > 0) && (_level0["da\u00F1o"] < _level0.escudo1)) {
_level0.mescudo1.gotoAndPlay(30);
}
} else if (_level0["da\u00F1o"] <= 0) {
_level0["da\u00F1o1"] = 0;
_level0.normal = 0;
}
if ((_level0["da\u00F1o"] > 0) and (_level0.normal == 1)) {
_level0["da\u00F1o1"] = ((_level0["da\u00F1o"] + _level0.maldicion1) - _level0.bless1) * _level0.mult2;
trace("Normal weapons used - no arcane power");
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["da\u00F1o"] > 0) and (_level0.ignoreelder == 1)) {
_level0["da\u00F1o1"] = (((_level0["da\u00F1o"] + _level0.arma2) + _level0.maldicion1) - _level0.bless1) * _level0.mult2;
trace("ignore elder, but add arcane");
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;
_level0.normal = 0;
}
if (_level0.multiplyaux > _level0.mult2) {
_level0.mult2 = _level0.multiplyaux;
}
if (_level0.regenaux > _level0.regen2) {
_level0.regen2 = _level0.regenaux;
}
if (_level0.arma1aux > 0) {
_level0.arma2 = _level0.arma2 + _level0.arma1aux;
}
if (_level0.arma1aux < 0) {
_level0.arma2 = _level0.arma2 + _level0.arma1aux;
}
if (_level0.arma2 < 0) {
_level0.arma2 = 0;
}
if (_level0.escudo1aux > 0) {
_level0.escudo2 = _level0.escudo2 + _level0.escudo1aux;
}
if (_level0.escudo1aux < 0) {
_level0.escudo2 = _level0.escudo2 + _level0.escudo1aux;
}
if (_level0.escudo2 < 0) {
_level0.escudo2 = 0;
}
if ((_level0.contra1aux > 0) && (_level0.Xenophobia2 != 1)) {
_level0.contra2 = _level0.contra1aux;
}
if ((_level0.byakhee > 0) && (_level0.Xenophobia2 != 1)) {
_level0.byakhee2.gotoAndPlay(2);
_level0.shambler2.gotoAndStop(1);
_level0.shoggoth2.gotoAndStop(1);
_level0.elderthing2.gotoAndStop(1);
_level0.shub2.gotoAndStop(1);
_level0.byakhee = 0;
}
if ((_level0.shambler > 0) && (_level0.Xenophobia2 != 1)) {
_level0.shambler2.gotoAndPlay(2);
_level0.byakhee2.gotoAndStop(1);
_level0.shoggoth2.gotoAndStop(1);
_level0.elderthing2.gotoAndStop(1);
_level0.shub2.gotoAndStop(1);
_level0.shambler = 0;
}
if ((_level0.shoggoth > 0) && (_level0.Xenophobia2 != 1)) {
_level0.shoggoth2.gotoAndPlay(2);
_level0.byakhee2.gotoAndStop(1);
_level0.shambler2.gotoAndStop(1);
_level0.elderthing2.gotoAndStop(1);
_level0.shub2.gotoAndStop(1);
_level0.shoggoth = 0;
}
if ((_level0.elderthing > 0) && (_level0.Xenophobia2 != 1)) {
_level0.elderthing2.gotoAndPlay(2);
_level0.shambler2.gotoAndStop(1);
_level0.byakhee2.gotoAndStop(1);
_level0.shoggoth2.gotoAndStop(1);
_level0.shub2.gotoAndStop(1);
_level0.elderthing = 0;
}
if ((_level0.shub > 0) && (_level0.Xenophobia2 != 1)) {
_level0.shub2.gotoAndPlay(2);
_level0.byakhee2.gotoAndStop(1);
_level0.shambler2.gotoAndStop(1);
_level0.shoggoth2.gotoAndStop(1);
_level0.elderthing2.gotoAndStop(1);
_level0.shub = 0;
}
if ((_level0.Xenophobia2 == 1) && (_level0.elderthing > 0)) {
_level0.curaveneno = 0;
_level0.escudo2 = _level0.escudo2 - 3;
_level0.elderthing2.gotoAndStop(1);
}
if ((_level0.Xenophobia2 == 1) && (_level0.shub > 0)) {
_level0["da\u00F1o1"] = 0;
_level0.shub2.gotoAndStop(1);
}
if (_level0.Xenophobia2 == 1) {
_level0.contra2 = 0;
_level0.shambler2.gotoAndStop(1);
_level0.byakhee2.gotoAndStop(1);
_level0.shoggoth2.gotoAndStop(1);
_level0.elderthing2.gotoAndStop(1);
}
if (_level0.veneno1aux > 0) {
_level0.veneno1 = _level0.veneno1 + _level0.veneno1aux;
_level0.mveneno1.gotoAndPlay(2);
_level0.text_poison1 = _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;
_level0.minvulner2.gotoAndStop(2);
}
if (_level0.dispels > 0) {
_level0.mmaldicion2.gotoAndStop(1);
_level0.maldicion2 = 0;
} else if ((_level0.dispelo > 0) && (_level0.invisible == 0)) {
_level0.parapeto1 = 0;
_level0.minvulner1.gotoAndStop(1);
_level0.paraliza1 = 0;
_level0.mmaldicion1.gotoAndStop(1);
_level0.mescudo1.gotoAndStop(1);
_level0.text_defense1 = 0;
_level0.marma1.gotoAndStop(1);
_level0.text_attack1 = 0;
_level0.mbless1.gotoAndStop(1);
_level0.regen1 = 0;
_level0.maldicion1 = 0;
_level0.escudo1 = 0;
_level0.arma1 = 0;
_level0.bless1 = 0;
} else if ((_level0.dispelc > 0) && (_level0.invisible == 0)) {
_level0.contra1 = 0;
_level0.ccontra1.gotoAndStop(1);
_level0.byakhee1.gotoAndStop(1);
_level0.shambler1.gotoAndStop(1);
_level0.shoggoth1.gotoAndStop(1);
_level0.elderthing1.gotoAndStop(1);
_level0.shub1.gotoAndStop(1);
_level0.text_counter1 = 0;
_level0.dispelc = 0;
}
if (_level0.curaveneno > 0) {
_level0.mveneno2.gotoAndStop(1);
_level0.text_poison2 = 0;
_level0.veneno2 = 0;
}
_level0.cura2 = _level0.cura1aux;
}
_level0.turno = 0;
stop();
Symbol 822 MovieClip Frame 22
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
_level0.barmalo[i]._visible = false;
i = i + 1;
}
_level0.turno = 0;
stop();
Symbol 823 MovieClip Frame 1
k = 1;
stop();
Symbol 824 MovieClip Frame 1
k = 2;
stop();
Symbol 825 MovieClip Frame 1
k = 3;
stop();
Symbol 826 MovieClip Frame 1
k = 4;
stop();
Symbol 827 MovieClip Frame 1
stop();
Symbol 827 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 828 MovieClip Frame 1
stop();
Symbol 828 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 829 MovieClip Frame 1
stop();
Symbol 829 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 830 MovieClip Frame 1
stop();
Symbol 830 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 831 MovieClip Frame 1
stop();
Symbol 832 MovieClip Frame 1
stop();
Symbol 835 Button
on (release) {
_level0.level = 0;
_root.gotoAndStop("menu");
}
Symbol 836 Button
on (release) {
stopAllSounds();
_root.setCookie("cardgame", "level", _level0.level);
_root.setCookie("cardgame", "score", _level0.score);
_root.setCookie("cardgame", "rank", _level0.currentrank);
}
Symbol 837 MovieClip Frame 1
auxvida = _level0.vida1;
damageinflicteda = _level0.damageinflicted;
damagereceived = _level0.matchdamagereceived;
trace("damagereceived:" + damagereceived);
cardsused = _level0.matchcardsused;
trace("cardsused:" + cardsused);
totalextra = 0;
totalscore = 0;
Symbol 837 MovieClip Frame 11
botonmask.useHandCursor = false;
cliparcane.texto = _level0.higharcane;
clipelder.texto = _level0.highelder;
clipbesthit.texto = _level0.highbesthit;
clipsanity.texto = _level0.highsanity;
cliphightaint.texto = _level0.hightaint;
cliptotalscore.texto = _level0.score;
_root.kongregateScores.submit(_level0.score);
if (_level0.currentrank == 1) {
rank1.rankani.ranktext = "1- Thug";
}
if (_level0.currentrank == 2) {
rank1.rankani.ranktext = "2- Hoodlum";
}
if (_level0.currentrank == 3) {
rank1.rankani.ranktext = "3- Mobster";
}
if (_level0.currentrank == 4) {
rank1.rankani.ranktext = "4- Mob Boss";
}
if (_level0.currentrank == 5) {
rank1.rankani.ranktext = "5- Cult Initiate";
}
if (_level0.currentrank == 6) {
rank1.rankani.ranktext = "6- Cult Priest";
}
if (_level0.currentrank == 7) {
rank1.rankani.ranktext = "7- Cult Leader";
}
if (_level0.currentrank == 8) {
rank1.rankani.ranktext = "8- Cult High Priest";
}
if (_level0.currentrank == 9) {
rank1.rankani.ranktext = "9- Ghoul";
}
if (_level0.currentrank == 10) {
rank1.rankani.ranktext = "10- Necromancer";
}
if (_level0.currentrank == 11) {
rank1.rankani.ranktext = "11- Deep One Spawn";
}
if (_level0.currentrank == 12) {
rank1.rankani.ranktext = "12- Deep One Priest";
}
if (_level0.currentrank == 13) {
rank1.rankani.ranktext = "13- Elder Deep One";
}
if (_level0.currentrank == 14) {
rank1.rankani.ranktext = "14- Mi-Go Slave";
}
if (_level0.currentrank == 15) {
rank1.rankani.ranktext = "15- Mi-Go Warrior";
}
if (_level0.currentrank == 16) {
rank1.rankani.ranktext = "16- Mi-Go Surgeon";
}
if (_level0.currentrank == 17) {
rank1.rankani.ranktext = "17- Mi-Go General";
}
if (_level0.currentrank == 18) {
rank1.rankani.ranktext = "18- Yithian Peasant";
}
if (_level0.currentrank == 19) {
rank1.rankani.ranktext = "19- Yithian Librarian";
}
if (_level0.currentrank == 20) {
rank1.rankani.ranktext = "20- Yithian Scholar";
}
if (_level0.score <= 49) {
newrank.rankani.ranktext = "1- Thug";
_level0.currentrank = 1;
}
if ((_level0.score >= 50) && (_level0.score <= 99)) {
newrank.rankani.ranktext = "2- Hoodlum";
_level0.currentrank = 2;
}
if ((_level0.score >= 100) && (_level0.score <= 149)) {
newrank.rankani.ranktext = "3- Mobster";
_level0.currentrank = 3;
}
if ((_level0.score >= 150) && (_level0.score <= 249)) {
newrank.rankani.ranktext = "4- Mob Boss";
_level0.currentrank = 4;
}
if ((_level0.score >= 250) && (_level0.score <= 349)) {
newrank.rankani.ranktext = "5- Cult Initiate";
_level0.currentrank = 5;
}
if ((_level0.score >= 350) && (_level0.score <= 449)) {
newrank.rankani.ranktext = "6- Cult Priest";
_level0.currentrank = 6;
}
if ((_level0.score >= 450) && (_level0.score <= 549)) {
newrank.rankani.ranktext = "7- Cult Leader";
_level0.currentrank = 7;
}
if ((_level0.score >= 550) && (_level0.score <= 649)) {
newrank.rankani.ranktext = "8- Cult High Priest";
_level0.currentrank = 8;
}
if ((_level0.score >= 650) && (_level0.score <= 749)) {
newrank.rankani.ranktext = "9- Ghoul";
_level0.currentrank = 9;
}
if ((_level0.score >= 750) && (_level0.score <= 849)) {
newrank.rankani.ranktext = "10- Necromancer";
_level0.currentrank = 10;
}
if ((_level0.score >= 850) && (_level0.score <= 949)) {
newrank.rankani.ranktext = "11- Deep One Spawn";
_level0.currentrank = 11;
}
if ((_level0.score >= 950) && (_level0.score <= 1049)) {
newrank.rankani.ranktext = "12- Deep One Priest";
_level0.currentrank = 12;
}
if ((_level0.score >= 1050) && (_level0.score <= 1149)) {
newrank.rankani.ranktext = "13- Elder Deep One";
_level0.currentrank = 13;
}
if ((_level0.score >= 1150) && (_level0.score <= 1249)) {
newrank.rankani.ranktext = "14- Mi-Go Slave";
_level0.currentrank = 14;
}
if ((_level0.score >= 1250) && (_level0.score <= 1349)) {
newrank.rankani.ranktext = "15- Mi-Go Warrior";
_level0.currentrank = 15;
}
if ((_level0.score >= 1350) && (_level0.score <= 1449)) {
newrank.rankani.ranktext = "16- Mi-Go Surgeon";
_level0.currentrank = 16;
}
if ((_level0.score >= 1450) && (_level0.score <= 1549)) {
newrank.rankani.ranktext = "17- Mi-Go General";
_level0.currentrank = 17;
}
if ((_level0.score >= 1550) && (_level0.score <= 1649)) {
newrank.rankani.ranktext = "18- Yithian Peasant";
_level0.currentrank = 18;
}
if ((_level0.score >= 1650) && (_level0.score <= 1749)) {
newrank.rankani.ranktext = "19- Yithian Librarian";
_level0.currentrank = 19;
}
if ((_level0.score >= 1750) && (_level0.score <= 8899)) {
newrank.rankani.ranktext = "20- Yithian Scholar";
_level0.currentrank = 20;
}
if (_level0.currentrank == 1) {
_level0.rank1.rankani.ranktext = "1- Thug";
}
if (_level0.currentrank == 2) {
_level0.rank1.rankani.ranktext = "2- Hoodlum";
}
if (_level0.currentrank == 3) {
_level0.rank1.rankani.ranktext = "3- Mobster";
}
if (_level0.currentrank == 4) {
_level0.rank1.rankani.ranktext = "4- Mob Boss";
}
if (_level0.currentrank == 5) {
_level0.rank1.rankani.ranktext = "5- Cult Initiate";
}
if (_level0.currentrank == 6) {
_level0.rank1.rankani.ranktext = "6- Cult Priest";
}
if (_level0.currentrank == 7) {
_level0.rank1.rankani.ranktext = "7- Cult Leader";
}
if (_level0.currentrank == 8) {
_level0.rank1.rankani.ranktext = "8- Cult High Priest";
}
if (_level0.currentrank == 9) {
_level0.rank1.rankani.ranktext = "9- Ghoul";
}
if (_level0.currentrank == 10) {
_level0.rank1.rankani.ranktext = "10- Necromancer";
}
if (_level0.currentrank == 11) {
_level0.rank1.rankani.ranktext = "11- Deep One Spawn";
}
if (_level0.currentrank == 12) {
_level0.rank1.rankani.ranktext = "12- Deep One Priest";
}
if (_level0.currentrank == 13) {
_level0.rank1.rankani.ranktext = "13- Elder Deep One";
}
if (_level0.currentrank == 14) {
_level0.rank1.rankani.ranktext = "14- Mi-Go Slave";
}
if (_level0.currentrank == 15) {
_level0.rank1.rankani.ranktext = "15- Mi-Go Warrior";
}
if (_level0.currentrank == 16) {
_level0.rank1.rankani.ranktext = "16- Mi-Go Surgeon";
}
if (_level0.currentrank == 17) {
_level0.rank1.rankani.ranktext = "17- Mi-Go General";
}
if (_level0.currentrank == 18) {
_level0.rank1.rankani.ranktext = "18- Yithian Peasant";
}
if (_level0.currentrank == 19) {
_level0.rank1.rankani.ranktext = "19- Yithian Librarian";
}
if (_level0.currentrank == 20) {
_level0.rank1.rankani.ranktext = "20- Yithian Scholar";
}
_root.kongregateStats.submit("BestAttack", _level0.highbesthit);
_root.kongregateStats.submit("Arcane", _level0.higharcane);
_root.kongregateStats.submit("Elder", _level0.highelder);
_root.kongregateStats.submit("Taint", _level0.hightaint);
_root.kongregateStats.submit("TimesInsane", _level0.highsanity);
_root.kongregateStats.submit("HighestRank", _level0.currentrank);
_root.kongregateStats.submit("GameComplete", 1);
stop();