Instance of Symbol 553 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;
_root.kongregateServices.connect();
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]);
};
if (_root.sound != 0) {
_root.sound = 1;
}
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);
lifepopup1.maxlife = maxvida;
maxvida2 = 35 + (5 * _level0.level);
lifepopup2.maxlife2 = maxvida2;
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 = 24 + _level0.cardsunlocked;
}
if (_level0.gamecomplete == 1) {
actualcards = 36;
}
_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;
stopAllSounds();
if (_root.sound == 1) {
playmus = new Sound();
playmus.setVolume(50);
playmus.attachSound("intromusic");
playmus.start();
}
Frame 85
if (_root.sound == 1) {
playgong = new Sound();
playgong.setVolume(50);
playgong.attachSound("Gong");
playgong.start();
}
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();
Frame 112
stop();
Symbol 47 Button
on (release) {
_level0.level = 20;
_level0.gotoAndStop("final");
_level0.setabg();
}
Symbol 50 Button
on (release) {
stopAllSounds();
_level0.gotoAndPlay("game");
}
Symbol 53 Button
on (release) {
_level0.level = 1;
_level0.gamecomplete = 0;
_level0.cardsunlocked = 0;
stopAllSounds();
_root.gotoAndStop("menu");
}
Symbol 56 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 67 MovieClip Frame 1
stop();
Symbol 90 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 91 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 106 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 107 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 119 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 120 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 131 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 132 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 146 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 147 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 158 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 159 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 169 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 170 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 180 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 181 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 192 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 193 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 206 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 207 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 221 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 222 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 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 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"] = 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 240 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 241 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 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 253 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 254 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 263 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 264 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 276 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 277 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 288 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 289 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 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 303 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 304 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 314 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 315 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 327 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 328 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 339 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 340 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 346 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 347 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 360 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 361 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 373 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 374 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 384 Button
on (release) {
i = 0;
while (i < _level0.numcartas) {
_level0.bactiva[i]._visible = false;
i = i + 1;
}
i = 0;
while (i < _level0.numcartas) {
if (_level0.barajas[this._parent.k][i]._visible != true) {
} else {
visible = i;
}
i = i + 1;
}
_level0.bactiva[visible]._visible = true;
_level0.carbueno = visible;
_level0.numbar = this._parent.k;
_level0.turno = 1;
_level0.ejecutar.gotoAndStop(2);
}
Symbol 385 MovieClip Frame 1
function juegacarta() {
_level0["da\u00F1o"] = 0;
_level0.ceguera1aux = 0;
_level0.arma1aux = 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 396 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 397 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 410 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 411 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 = 0;
_level0.dispelo = 0;
_level0.dispels = 0;
_level0.dispelc = 0;
_level0.curaveneno = 1;
_level0.multiplyaux = 1;
_level0.regenaux = 0;
_level0.paraliza = 0;
_level0.sanitycost = 0;
_level0.sanitygain = 5;
_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 427 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 428 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 = 1;
_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 437 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 438 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 451 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 452 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 465 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 466 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 = 3;
_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 479 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 480 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 498 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 499 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 511 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 512 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 522 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 523 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 535 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 536 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.sanitygain = 0;
_level0.sanitycost = 6;
_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 537 MovieClip Frame 1
k = 0;
stop();
Symbol 540 MovieClip Frame 1
button.useHandCursor = false;
Symbol 541 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 541 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 541 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.gamecomplete != 1) {
}
if (_level0.level == 1) {
_level0.rank2.rankani.ranktext = "1- Thug";
if (_level0.gamecomplete != 1) {
_level0.cardsunlocked = 0;
}
}
if (_level0.level == 2) {
_level0.rank2.rankani.ranktext = "2- Hoodlum";
if (_level0.gamecomplete != 1) {
_level0.cardsunlocked = 1;
}
}
if (_level0.level == 3) {
_level0.rank2.rankani.ranktext = "3- Mobster";
if (_level0.gamecomplete != 1) {
_level0.cardsunlocked = 1;
}
}
if (_level0.level == 4) {
_level0.rank2.rankani.ranktext = "4- Mob Boss";
if (_level0.gamecomplete != 1) {
_level0.cardsunlocked = 2;
}
}
if (_level0.level == 5) {
_level0.rank2.rankani.ranktext = "5- Cult Initiate";
if (_level0.gamecomplete != 1) {
_level0.cardsunlocked = 2;
}
}
if (_level0.level == 6) {
_level0.rank2.rankani.ranktext = "6- Cult Priest";
if (_level0.gamecomplete != 1) {
_level0.cardsunlocked = 3;
}
}
if (_level0.level == 7) {
_level0.rank2.rankani.ranktext = "7- Cult Leader";
if (_level0.gamecomplete != 1) {
_level0.cardsunlocked = 3;
}
}
if (_level0.level == 8) {
_level0.rank2.rankani.ranktext = "8- Cult High Priest";
if (_level0.gamecomplete != 1) {
_level0.cardsunlocked = 4;
}
}
if (_level0.level == 9) {
_level0.rank2.rankani.ranktext = "9- Ghoul";
if (_level0.gamecomplete != 1) {
_level0.cardsunlocked = 4;
}
}
if (_level0.level == 10) {
_level0.rank2.rankani.ranktext = "10- Necromancer";
if (_level0.gamecomplete != 1) {
_level0.cardsunlocked = 5;
}
}
if (_level0.level == 11) {
_level0.rank2.rankani.ranktext = "11- Deep One Spawn";
if (_level0.gamecomplete != 1) {
_level0.cardsunlocked = 5;
}
}
if (_level0.level == 12) {
_level0.rank2.rankani.ranktext = "12- Deep One Priest";
if (_level0.gamecomplete != 1) {
_level0.cardsunlocked = 6;
}
}
if (_level0.level == 13) {
_level0.rank2.rankani.ranktext = "13- Elder Deep One";
if (_level0.gamecomplete != 1) {
_level0.cardsunlocked = 6;
}
}
if (_level0.level == 14) {
_level0.rank2.rankani.ranktext = "14- Mi-Go Slave";
if (_level0.gamecomplete != 1) {
_level0.cardsunlocked = 7;
}
}
if (_level0.level == 15) {
_level0.rank2.rankani.ranktext = "15-Mi-Go Warrior";
if (_level0.gamecomplete != 1) {
_level0.cardsunlocked = 8;
}
}
if (_level0.level == 16) {
_level0.rank2.rankani.ranktext = "16- Mi-Go Surgeon";
if (_level0.gamecomplete != 1) {
_level0.cardsunlocked = 9;
}
}
if (_level0.level == 17) {
_level0.rank2.rankani.ranktext = "17- Mi-Go General";
if (_level0.gamecomplete != 1) {
_level0.cardsunlocked = 10;
}
}
if (_level0.level == 18) {
_level0.rank2.rankani.ranktext = "18- Yithian Peasant";
if (_level0.gamecomplete != 1) {
_level0.cardsunlocked = 11;
}
}
if (_level0.level == 19) {
_level0.rank2.rankani.ranktext = "19- Yithian Librarian";
if (_level0.gamecomplete != 1) {
_level0.cardsunlocked = 12;
}
}
if (_level0.level == 20) {
_level0.rank2.rankani.ranktext = "20- Yithian Scholar";
if (_level0.gamecomplete != 1) {
_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";
}
if (_level0.gamecomplete != 1) {
_level0.actualcards = 24 + _level0.cardsunlocked;
} else {
_level0.actualcards = 36;
}
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)) {
_level0.gamecomplete = 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);
_root.setCookie("cardgame", "complete", _level0.gamecomplete);
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);
_root.setCookie("cardgame", "complete", _level0.gamecomplete);
}
if (_level0.level > _level0.maxlevel) {
_level0.level = _level0.maxlevel;
}
stop();
Symbol 542 MovieClip [matchscores] Frame 2
stop();
Symbol 553 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 557 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;
_level0.gamecomplete = 0;
stop();
Symbol 561 Button
on (release) {
_root.sound = 0;
this.gotoAndStop(2);
}
Symbol 564 Button
on (release) {
_root.sound = 1;
this.gotoAndStop(1);
}
Symbol 565 MovieClip Frame 1
if (_root.sound == 0) {
gotoAndStop (2);
}
if (_root.sound == 1) {
play0 = new Sound();
play0.setVolume(50);
play0.attachSound("titlemusic1");
play0.start(0, 9999);
}
stop();
Symbol 565 MovieClip Frame 2
stopAllSounds();
if (_root.sound == 1) {
gotoAndStop (1);
}
stop();
Symbol 566 MovieClip Frame 135
stop();
Symbol 586 MovieClip Frame 197
stop();
Symbol 587 MovieClip Frame 152
stop();
Symbol 593 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 597 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 605 MovieClip Frame 1
i = _level0.qualitylevel + 1;
while (i <= 4) {
this["star" + i]._visible = false;
i++;
}
boton1.useHandCursor = false;
boton2.useHandCursor = false;
Symbol 627 MovieClip Frame 15
stop();
Symbol 628 Button
on (release) {
_level0.level = 1;
_level0.gametimeoffset = getTimer();
_level0.gametime = getTimer() - _level0.gametimeoffset;
trace((("gametimeoffset=" + _level0.gametimeoffset) + " gametime=") + _level0.gametime);
_level0.gotoAndPlay("game");
}
Symbol 632 Button
on (release) {
_level0.gotoAndPlay("instructions");
}
Symbol 635 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.gamecomplete = _root.getCookie("cardgame", "complete");
if (_level0.level == undefined) {
_level0.level = 1;
}
_level0.gotoAndPlay("game");
}
Symbol 640 Button
on (release) {
_level0.gotoAndStop("library");
}
Symbol 641 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.gamecomplete = _root.getCookie("cardgame", "complete");
if (_level0.level == undefined) {
_level0.level = 1;
}
_level0.gotoAndPlay("game");
}
Symbol 642 MovieClip Frame 52
stop();
Symbol 654 Button
on (release) {
this.instruction = "These are your opponents cards.";
this.gotoAndStop(3);
}
Symbol 655 Button
on (release) {
this.instruction = "This is your hand. 5 cards are dealt to you and your opponent.";
this.gotoAndStop(5);
}
Symbol 656 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 657 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 or less 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. -10 sanity is the lowest you can go.";
this.gotoAndStop(4);
}
Symbol 658 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 659 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 660 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 661 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.";
this.gotoAndStop(6);
}
Symbol 662 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 663 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 664 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 665 Button
on (release) {
this.instruction = "<b>Discard Button</b><br><br>If you don't want to play a card, you can select it, then click Discard. If the discarded card has a sanity cost, then it will be ADDED to your sanity.";
this.gotoAndStop(13);
}
Symbol 667 Button
on (release) {
_root.gotoAndPlay("menu");
}
Symbol 680 MovieClip Frame 1
stop();
Symbol 683 MovieClip Frame 1
stop();
Symbol 683 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 686 MovieClip Frame 1
stop();
Symbol 686 MovieClip Frame 2
stop();
Symbol 686 MovieClip Frame 3
stop();
Symbol 686 MovieClip Frame 17
if (_level0.flagbarajar == false) {
_level0.ejecutar.ccartabueno.nextFrame();
this.gotoAndStop(1);
} else {
this.gotoAndPlay("bucle");
}
Symbol 693 Button
on (release) {
_root.sound = 1;
this.gotoAndStop(1);
}
Symbol 694 MovieClip Frame 1
if (_root.sound == 0) {
gotoAndStop (2);
}
stop();
Symbol 694 MovieClip Frame 2
stopAllSounds();
if (_root.sound == 1) {
gotoAndStop (1);
}
stop();
Symbol 697 Button
on (release) {
this.gotoAndStop(2);
}
Symbol 700 Button
on (release) {
this.gotoAndStop(1);
}
Symbol 701 MovieClip Frame 1
playmusic = new Sound();
playmusic.setVolume(30);
playmusic.attachSound("main_music");
playmusic.start(0, 9999);
stop();
Symbol 701 MovieClip Frame 2
playmusic.stop();
stop();
Symbol 702 MovieClip Frame 1
stop();
Symbol 702 MovieClip Frame 29
this.gotoAndPlay(2);
Symbol 702 MovieClip Frame 50
this.gotoAndPlay(2);
Symbol 703 MovieClip Frame 1
stop();
_level0.animplayer1.espada.gotoAndStop("estandar");
Symbol 703 MovieClip Frame 28
this.gotoAndPlay(2);
Symbol 705 MovieClip Frame 1
stop();
Symbol 705 MovieClip Frame 29
this.gotoAndPlay(2);
Symbol 713 MovieClip Frame 1
stop();
Symbol 713 MovieClip Frame 2
stop();
Symbol 715 Button
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Symbol 717 MovieClip Frame 1
stop();
Symbol 721 MovieClip Frame 1
stop();
Symbol 721 MovieClip Frame 13
this.gotoAndStop(1);
Symbol 725 Button
on (release) {
_level0.level = 1;
_level0.gamecomplete = 0;
_level0.cardsunlocked = 0;
actualcards = 24;
_root.gotoAndPlay("menu");
}
Symbol 734 MovieClip Frame 1
stop();
Symbol 734 MovieClip Frame 36
this.gotoAndStop(1);
Symbol 737 MovieClip Frame 1
stop();
Symbol 737 MovieClip Frame 36
this.gotoAndStop(1);
Symbol 740 MovieClip Frame 1
stop();
Symbol 740 MovieClip Frame 36
this.gotoAndStop(1);
Symbol 741 MovieClip Frame 1
stop();
Symbol 741 MovieClip Frame 36
this.gotoAndStop(1);
Symbol 748 Button
on (rollOver) {
gotoAndStop (25);
}
on (rollOut) {
gotoAndStop (24);
}
Symbol 756 MovieClip Frame 1
stop();
Symbol 756 MovieClip Frame 2
if (_root.sound == 1) {
play0 = new Sound();
play0.setVolume(50);
play0.attachSound("creaturesound");
play0.start();
}
Symbol 756 MovieClip Frame 24
stop();
Symbol 756 MovieClip Frame 25
stop();
Symbol 760 Button
on (rollOver) {
gotoAndStop (25);
}
on (rollOut) {
gotoAndStop (24);
}
Symbol 764 MovieClip Frame 1
stop();
Symbol 764 MovieClip Frame 2
if (_root.sound == 1) {
play0 = new Sound();
play0.setVolume(50);
play0.attachSound("creaturesound");
play0.start();
}
Symbol 764 MovieClip Frame 24
stop();
Symbol 764 MovieClip Frame 25
stop();
Symbol 768 Button
on (rollOver) {
gotoAndStop (25);
}
on (rollOut) {
gotoAndStop (24);
}
Symbol 772 MovieClip Frame 1
stop();
Symbol 772 MovieClip Frame 2
if (_root.sound == 1) {
play0 = new Sound();
play0.setVolume(50);
play0.attachSound("creaturesound");
play0.start();
}
Symbol 772 MovieClip Frame 24
stop();
Symbol 772 MovieClip Frame 25
stop();
Symbol 776 Button
on (rollOver) {
gotoAndStop (25);
}
on (rollOut) {
gotoAndStop (24);
}
Symbol 780 MovieClip Frame 1
stop();
Symbol 780 MovieClip Frame 2
if (_root.sound == 1) {
play0 = new Sound();
play0.setVolume(50);
play0.attachSound("creaturesound");
play0.start();
}
Symbol 780 MovieClip Frame 24
stop();
Symbol 780 MovieClip Frame 25
stop();
Symbol 783 Button
on (rollOver) {
gotoAndStop (25);
}
on (rollOut) {
gotoAndStop (24);
}
Symbol 788 MovieClip Frame 1
stop();
Symbol 788 MovieClip Frame 2
if (_root.sound == 1) {
play0 = new Sound();
play0.setVolume(50);
play0.attachSound("creaturesound");
play0.start();
}
Symbol 788 MovieClip Frame 24
stop();
Symbol 788 MovieClip Frame 25
stop();
Symbol 790 Button
on (rollOver) {
gotoAndStop (25);
}
on (rollOut) {
gotoAndStop (24);
}
Symbol 792 MovieClip Frame 1
stop();
Symbol 792 MovieClip Frame 24
stop();
Symbol 793 Button
on (rollOver) {
gotoAndStop (25);
}
on (rollOut) {
gotoAndStop (24);
}
Symbol 795 MovieClip Frame 1
stop();
Symbol 795 MovieClip Frame 24
stop();
Symbol 799 Button
on (rollOver) {
gotoAndStop (25);
}
on (rollOut) {
gotoAndStop (24);
}
Symbol 801 MovieClip Frame 1
stop();
Symbol 801 MovieClip Frame 24
stop();
Symbol 802 Button
on (rollOver) {
gotoAndStop (25);
}
on (rollOut) {
gotoAndStop (24);
}
Symbol 803 MovieClip Frame 1
stop();
Symbol 803 MovieClip Frame 24
stop();
Symbol 807 Button
on (rollOver) {
gotoAndStop (25);
}
on (rollOut) {
gotoAndStop (24);
}
Symbol 809 MovieClip Frame 1
stop();
Symbol 809 MovieClip Frame 24
stop();
Symbol 810 Button
on (rollOver) {
gotoAndStop (25);
}
on (rollOut) {
gotoAndStop (24);
}
Symbol 811 MovieClip Frame 1
stop();
Symbol 811 MovieClip Frame 24
stop();
Symbol 814 MovieClip Frame 1
stop();
Symbol 814 MovieClip Frame 2
stop();
Symbol 817 MovieClip Frame 1
stop();
Symbol 817 MovieClip Frame 2
stop();
Symbol 823 Button
on (rollOver) {
gotoAndStop (25);
}
on (rollOut) {
gotoAndStop (24);
}
Symbol 825 MovieClip Frame 1
stop();
Symbol 825 MovieClip Frame 22
masks = random(4);
this.mask1._visible = false;
this.mask2._visible = false;
this.mask3._visible = false;
this.mask4._visible = false;
this.mask5._visible = false;
this.cover1._visible = false;
this.cover2._visible = false;
this.cover2a._visible = false;
this.cover3._visible = false;
this.cover3a._visible = false;
this.cover4._visible = false;
Symbol 825 MovieClip Frame 23
if (masks == 0) {
this.mask1._visible = false;
this.mask2._visible = false;
this.mask3._visible = true;
this.mask4._visible = true;
this.mask5._visible = true;
this.cover1._visible = true;
this.cover2._visible = false;
this.cover2a._visible = false;
this.cover3._visible = false;
this.cover3a._visible = false;
this.cover4._visible = false;
}
if (masks == 1) {
this.mask1._visible = true;
this.mask2._visible = false;
this.mask3._visible = false;
this.mask4._visible = true;
this.mask5._visible = true;
this.cover1._visible = false;
this.cover2._visible = true;
this.cover2a._visible = true;
this.cover3._visible = false;
this.cover3a._visible = false;
this.cover4._visible = false;
}
if (masks == 2) {
this.mask1._visible = true;
this.mask2._visible = true;
this.mask3._visible = false;
this.mask4._visible = false;
this.mask5._visible = true;
this.cover1._visible = false;
this.cover2._visible = false;
this.cover2a._visible = false;
this.cover3._visible = true;
this.cover3a._visible = true;
this.cover4._visible = false;
}
if (masks == 3) {
this.mask1._visible = true;
this.mask2._visible = true;
this.mask3._visible = true;
this.mask4._visible = false;
this.mask5._visible = false;
this.cover1._visible = false;
this.cover2._visible = false;
this.cover2a._visible = false;
this.cover3._visible = false;
this.cover3a._visible = false;
this.cover4._visible = true;
}
Symbol 825 MovieClip Frame 24
stop();
Symbol 826 Button
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
Symbol 829 MovieClip Frame 1
stop();
Symbol 831 MovieClip Frame 1
stop();
Symbol 833 MovieClip Frame 1
stop();
Symbol 836 MovieClip Frame 1
stop();
Symbol 838 MovieClip Frame 1
stop();
Symbol 840 MovieClip Frame 1
stop();
Symbol 840 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 840 MovieClip Frame 22
stop();
Symbol 840 MovieClip Frame 41
stop();
Symbol 840 MovieClip Frame 60
stop();
Symbol 840 MovieClip Frame 79
stop();
Symbol 840 MovieClip Frame 98
stop();
Symbol 841 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.text_attack1 = 0;
_level0.marma1.gotoAndStop(1);
_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.veneno1 = _level0.veneno2;
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) {
if (_level0.sanity2 <= 0) {
_level0["da\u00F1o"] = 20;
} else {
_level0.sanity2 = -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 (_root.sound == 1) {
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.escudo2) * _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.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 843 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.text_attack1 = 0;
_level0.marma1.gotoAndStop(1);
_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 844 MovieClip Frame 1
button.useHandCursor = false;
Symbol 846 MovieClip Frame 1
scale = random(50) + 30;
setProperty(_target, _x , (../:x + random(12)) - 6);
setProperty(_target, _yscale , scale);
Symbol 847 MovieClip Frame 1
i = 1;
max = 60;
x = getProperty("fire", _x);
Symbol 847 MovieClip Frame 2
if (max >= i) {
duplicateMovieClip ("fire", "fire" + i, i + 16384);
i = i + 1;
}
Symbol 847 MovieClip Frame 3
if (max >= i) {
duplicateMovieClip ("fire", "fire" + i, i + 16384);
i = i + 1;
}
this.gotoAndPlay(2);
Symbol 872 Button
on (release) {
_level0.gotoAndStop("scores");
}
Symbol 875 Button
on (release) {
_level0.setabg();
_level0.gotoAndStop("scores");
}
Symbol 877 MovieClip Frame 1
stop();
Symbol 877 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 877 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 877 MovieClip Frame 4
if (_root.sound == 1) {
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 877 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);
}
if (_root.sound == 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 877 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 877 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;
}
if (_root.sound == 1) {
mySound2 = new Sound();
mySound2.attachSound("creature_attack");
mySound2.setVolume(40);
mySound2.start();
if (creaturedamage > 0) {
mySound = new Sound();
mySound.attachSound("ih01350");
mySound.start();
}
}
Symbol 877 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 877 MovieClip Frame 107
if (_root.sound == 1) {
mySound2 = new Sound();
mySound2.attachSound("cough2");
mySound2.setVolume(40);
mySound2.start();
}
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 877 MovieClip Frame 150
gotoAndPlay ("fin");
Symbol 877 MovieClip Frame 151
if (_root.sound == 1) {
mySound2 = new Sound();
mySound2.attachSound("healsound");
mySound2.setVolume(40);
mySound2.start();
}
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 877 MovieClip Frame 194
if (_level0.veneno1 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 877 MovieClip Frame 195
_level0.mceguera1.gotoAndStop(1);
Symbol 877 MovieClip Frame 231
if (_level0.regen1 > 0) {
gotoAndPlay ("cura");
} else if (_level0.veneno1 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 877 MovieClip Frame 236
this["tda\u00F1o"] = _level0["da\u00F1o2"];
_level0.parapeto2 = 0;
if (_root.sound == 1) {
mySound2 = new Sound();
mySound2.attachSound("blocked");
mySound2.setVolume(40);
mySound2.start();
}
Symbol 877 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 877 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;
}
if (_root.sound == 1) {
mySound2 = new Sound();
mySound2.attachSound("gameover");
mySound2.setVolume(40);
mySound2.start();
}
stop();
Symbol 877 MovieClip Frame 274
if (_root.sound == 1) {
mySound2 = new Sound();
mySound2.attachSound("gameover");
mySound2.setVolume(40);
mySound2.start();
}
stop();
Symbol 877 MovieClip Frame 284
_level0.vida1 = 20;
_level0.resucita = 0;
Symbol 877 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 (_root.sound == 1) {
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 (_root.sound == 1) {
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 877 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.arma1 = 0;
_level0.escudo1 = 0;
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 880 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 880 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 880 MovieClip Frame 4
if (_root.sound == 1) {
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 880 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;
}
if (_root.sound == 1) {
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 880 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 880 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;
}
if (_root.sound == 1) {
mySound2 = new Sound();
mySound2.attachSound("creature_attack");
mySound2.setVolume(40);
mySound2.start();
if (creaturedamage > 0) {
mySound = new Sound();
mySound.attachSound("ih01350");
mySound.start();
}
}
Symbol 880 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 880 MovieClip Frame 106
if (_root.sound == 1) {
mySound2 = new Sound();
mySound2.attachSound("cough2");
mySound2.setVolume(40);
mySound2.start();
}
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");
}
Symbol 880 MovieClip Frame 151
gotoAndPlay ("fin");
Symbol 880 MovieClip Frame 152
if (_root.sound == 1) {
mySound2 = new Sound();
mySound2.attachSound("healsound");
mySound2.setVolume(40);
mySound2.start();
}
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 880 MovieClip Frame 183
if (_level0.veneno2 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 880 MovieClip Frame 184
_level0.mceguera2.gotoAndStop(1);
Symbol 880 MovieClip Frame 217
if (_level0.regen2 > 0) {
gotoAndPlay ("cura");
} else if (_level0.veneno2 > 0) {
gotoAndPlay ("veneno");
} else {
gotoAndPlay ("fin");
}
Symbol 880 MovieClip Frame 222
this["tda\u00F1o"] = _level0["da\u00F1o1"];
_level0.parapeto1 = 0;
if (_root.sound == 1) {
mySound2 = new Sound();
mySound2.attachSound("blocked");
mySound2.setVolume(40);
mySound2.start();
}
Symbol 880 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 880 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;
}
if (_root.sound == 1) {
mySound2 = new Sound();
mySound2.attachSound("gameover");
mySound2.setVolume(40);
mySound2.start();
}
stop();
Symbol 880 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;
}
if (_root.sound == 1) {
mySound2 = new Sound();
mySound2.attachSound("gameover");
mySound2.setVolume(40);
mySound2.start();
}
stop();
Symbol 880 MovieClip Frame 270
_level0.vida1 = 20;
_level0.resucita = 0;
Symbol 880 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 880 MovieClip Frame 314
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.arma2 = 0;
_level0.escudo2 = 0;
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 891 MovieClip Frame 31
stop();
Symbol 892 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 892 MovieClip Frame 3
gotoAndPlay(4 + (_level0.numbar * 34));
Symbol 892 MovieClip Frame 32
trace("repartiondo a player1...visible " + visible);
Symbol 892 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 892 MovieClip Frame 37
trace("WE DISTRIBUTE TO PLAYER 2 ON GUARD:" + _level0.reparte);
gotoAndPlay(175 + (_level0.reparte * 7));
Symbol 892 MovieClip Frame 38
trace("deal out card 2");
Symbol 892 MovieClip Frame 66
trace("repartiondo a player1...visible " + visible);
Symbol 892 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 892 MovieClip Frame 71
trace("WE DISTRIBUTE TO PLAYER 2 ON GUARD:" + _level0.reparte);
gotoAndPlay(175 + (_level0.reparte * 7));
Symbol 892 MovieClip Frame 72
trace("deal out card 3");
Symbol 892 MovieClip Frame 100
trace("distribute to player1...visible " + visible);
Symbol 892 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 892 MovieClip Frame 105
trace("WE DISTRIBUTE TO PLAYER 2 ON GUARD:" + _level0.reparte);
gotoAndPlay(175 + (_level0.reparte * 7));
Symbol 892 MovieClip Frame 106
trace("deal out card 4");
Symbol 892 MovieClip Frame 134
trace("distribute to player1...visible " + visible);
Symbol 892 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 892 MovieClip Frame 139
trace("WE DISTRIBUTE TO PLAYER 2 ON GUARD:" + _level0.reparte);
gotoAndPlay(175 + (_level0.reparte * 7));
Symbol 892 MovieClip Frame 140
trace("deal out card 5");
Symbol 892 MovieClip Frame 169
trace("distribute to player1...visible " + visible);
Symbol 892 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 892 MovieClip Frame 174
trace("WE DISTRIBUTE TO PLAYER 2 ON GUARD:" + _level0.reparte);
gotoAndPlay(175 + (_level0.reparte * 7));
Symbol 892 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 892 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 892 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 892 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 892 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 893 MovieClip Frame 1
stop();
Symbol 893 MovieClip Frame 2
this.mascara1._visible = false;
this.mascara2._visible = false;
this.mascara3._visible = false;
stop();
Symbol 893 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.text_attack2 = 0;
_level0.marma2.gotoAndStop(1);
_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.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.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);
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) {
if (_level0.sanity1 <= 0) {
_level0["da\u00F1o"] = 20;
} else {
_level0.sanity1 = -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 (_root.sound == 1) {
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.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.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 893 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 894 MovieClip Frame 1
k = 1;
stop();
Symbol 895 MovieClip Frame 1
k = 2;
stop();
Symbol 896 MovieClip Frame 1
k = 3;
stop();
Symbol 897 MovieClip Frame 1
k = 4;
stop();
Symbol 898 MovieClip Frame 1
stop();
Symbol 898 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 899 MovieClip Frame 1
stop();
Symbol 899 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 900 MovieClip Frame 1
stop();
Symbol 900 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 901 MovieClip Frame 1
stop();
Symbol 901 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 902 MovieClip Frame 1
stop();
Symbol 903 MovieClip Frame 1
stop();
Symbol 906 Button
on (release) {
stopAllSounds();
_root.gotoAndStop("menu");
}
Symbol 907 Button
on (release) {
stopAllSounds();
_root.setCookie("cardgame", "level", _level0.level);
_root.setCookie("cardgame", "score", _level0.score);
_root.setCookie("cardgame", "rank", _level0.currentrank);
}
Symbol 908 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 908 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);
_level0.level = 1;
_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", "complete", _level0.gamecomplete);
stop();
Symbol 911 Button
on (release) {
library_cards.gotoAndStop(7);
}
Symbol 912 Button
on (release) {
library_cards.gotoAndStop(10);
}
Symbol 913 Button
on (release) {
library_cards.gotoAndStop(2);
}
Symbol 914 Button
on (release) {
library_cards.gotoAndStop(8);
}
Symbol 915 Button
on (release) {
library_cards.gotoAndStop(4);
}
Symbol 916 Button
on (release) {
library_cards.gotoAndStop(5);
}
Symbol 917 Button
on (release) {
library_cards.gotoAndStop(12);
}
Symbol 918 Button
on (release) {
library_cards.gotoAndStop(13);
}
Symbol 919 Button
on (release) {
library_cards.gotoAndStop(3);
}
Symbol 920 Button
on (release) {
library_cards.gotoAndStop(11);
}
Symbol 921 Button
on (release) {
library_cards.gotoAndStop(14);
}
Symbol 922 Button
on (release) {
library_cards.gotoAndStop(6);
}
Symbol 923 Button
on (release) {
library_cards.gotoAndStop(9);
}
Symbol 924 Button
on (release) {
library_cards.gotoAndStop(15);
}
Symbol 925 Button
on (release) {
library_cards.gotoAndStop(16);
}
Symbol 926 Button
on (release) {
library_cards.gotoAndStop(17);
}
Symbol 927 Button
on (release) {
library_cards.gotoAndStop(20);
}
Symbol 928 Button
on (release) {
library_cards.gotoAndStop(19);
}
Symbol 929 Button
on (release) {
library_cards.gotoAndStop(18);
}
Symbol 930 Button
on (release) {
library_cards.gotoAndStop(21);
}
Symbol 931 Button
on (release) {
library_cards.gotoAndStop(22);
}
Symbol 932 Button
on (release) {
library_cards.gotoAndStop(23);
}
Symbol 933 Button
on (release) {
library_cards.gotoAndStop(24);
}
Symbol 934 Button
on (release) {
library_cards.gotoAndStop(25);
}
Symbol 935 Button
on (release) {
library_cards.gotoAndStop(27);
}
Symbol 936 Button
on (release) {
library_cards.gotoAndStop(26);
}
Symbol 937 Button
on (release) {
library_cards.gotoAndStop(29);
}
Symbol 938 Button
on (release) {
library_cards.gotoAndStop(31);
}
Symbol 943 Button
on (release) {
nextFrame();
}
Symbol 944 Button
on (release) {
gotoAndPlay ("menu");
}
Symbol 945 MovieClip Frame 1
stop();
Symbol 946 Button
on (release) {
library_cards.gotoAndStop(28);
}
Symbol 947 Button
on (release) {
library_cards.gotoAndStop(32);
}
Symbol 948 Button
on (release) {
library_cards.gotoAndStop(30);
}
Symbol 949 Button
on (release) {
library_cards.gotoAndStop(33);
}
Symbol 950 Button
on (release) {
library_cards.gotoAndStop(35);
}
Symbol 951 Button
on (release) {
library_cards.gotoAndStop(36);
}
Symbol 952 Button
on (release) {
library_cards.gotoAndStop(34);
}
Symbol 953 Button
on (release) {
library_cards.gotoAndStop(37);
}
Symbol 957 Button
on (release) {
prevFrame();
}