Frame 1
kong = 1;
trainer = 0;
if (kong == 1) {
var kongregate = _global.kongregate;
kongregate.services.connect();
var userkong = kongregate.services.getUsername();
var token = kongregate.services.getGameAuthToken();
}
mochi.as2.MochiServices.connect("a918206adbb9b4c6");
mochi.as2.MochiAd.showPreGameAd({id:"a918206adbb9b4c6", res:"910x530"});
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
_root.menu = myMenu;
myGlobalSound = new Sound();
deck1n = 40;
deck1 = "0002000200020027010001000100010001000100010001000100010001010102010201020103010401050105010601060106010801080108020002000200020002000200020202030204020602060208";
deck2n = 40;
deck2 = "0002000200020027020002000200020002000200020002000200020002000200020102020202020202020203020402040206020602060207020702080208020902110300030003000301030303060307";
deck3n = 40;
deck3 = "0002000200020027030003000300030003000300030003000300030003000300030003010301030203020303030303040305030603060307030703090309040004000400040004020405040504080410";
deck4n = 40;
deck4 = "0002000200020027040004000400040004000400040004000400040004000400040004010401040204030404040504050406040604080408040904100411041105000500050005000502050405050506";
deck5n = 40;
deck5 = "0002000200020027050005000500050005000500050005000500050005000500050105020502050305030504050405040505050505060506050705080510051006000600060006000601060106040606";
deck6n = 40;
deck6 = "0002000200020027060006000600060006000600060006000600060006000600060106010601060106020603060306040604060406050606060606080608060906090609070007000700070207030706";
deck7n = 40;
deck7 = "0002000200020027070007000700070007000700070007000700070007000700070107010702070207030703070307030704070407040704070507060709080008000800080008010801080308040807";
deck8n = 40;
deck8 = "0002000200020027080008000800080008000800080008000800080008000800080108010802080308030803080408040805080608060807080708070808090009000900090009000901090209050908";
deck9n = 40;
deck9 = "0002000200020027090009000900090009000900090009000900090009000900090109010901090209020902090309040905090509050906090709080908090810001000100010001001100210021004";
deck10n = 40;
deck10 = "0002000200020027100010001000100010001000100010001000100010001000100010001001100110011002100210021003100410041005100510061007100711001100110011001102110211031105";
deck11n = 40;
deck11 = "0002000200020027110011001100110011001100110011001100110011001100110111021102110211021103110311031104110511051105110611081108110812001200120012001201120212031204";
deck12n = 40;
deck12 = "0002000200020027010001000100010001020105010601070108120012001200120012001200120012001200120012001200120112011201120112021202120212021203120312031204120412051207";
deck51n = 37;
deck51 = "0027010001000100010001000100010601060106010501040107010701020102010201010103000200021000100010001001100210021001060006000600060106010604060606061001";
deck52n = 37;
deck52 = "0027000202000200020002000200020002010203020302030204020502060206020602070208020802080100010001000102010601060102010703000300030003060306030303020303";
deck54n = 37;
deck54 = "0028040004000400040004000400040104010402040204020403040404050405040500021200120012001201120212051203070007000700070207020703070407060401120108010801";
deck53n = 37;
deck53 = "0028030003000300030003000300030103010302030203030303030303040305030603060306040004000400040104010402040508000800080008040806080708070804080604020002";
deck55n = 37;
deck55 = "0027050005000500050005000500050105020502050305040505050605070506050505040503090009000900090109010902090509050300030003000306030603020303030100020902";
deck56n = 37;
deck56 = "0027060006000600060006000600060106010602060306030604060406040605060606060606060406011100110011001102110211031105110600020700070007000701070207020703";
deck57n = 37;
deck57 = "0027070007000700070007000700070107010702070207020703070307030704070407040705070607060500050005000504050605020503000210001000100010011002100410020504";
deck58n = 37;
deck58 = "0027080008000800080008000800080108010802080308030804080408050806080608070807080700020803120012001200120212031204120104000400040004010402040504011204";
deck59n = 37;
deck59 = "0027090009000900090009000900090109010902090209010903090409050905090500021200120012001201120212021203120503000300030003020306030603030303030112010905";
deck60n = 37;
deck60 = "0027100010001000100010001000100110011001100210021002100310041004100510021004100100020200020002000202020302040208020604000400040004010402040504050402";
deck61n = 37;
deck61 = "0027110011001100110011001100110111021102110211031103110411051105110611061105110311020800080008000801000208030804080608070700070007000702070307040706";
deck62n = 37;
deck62 = "0027120012001200120012001200120112011201120212021202120212031203120312041205120412030500050005000502050405050504050601000100010001060106010201010104";
name100 = "Fate";
deck100n = 42;
deck100 = "121212121200120012001200120012001200120012001200120012001200120012001202120212021203120312041204120512051205120512051206120612071207120712081208120812081211121112111211";
name101 = "Morte";
deck101n = 38;
deck101 = "01000100010001000100010001000101010101010103010901100110011001100112011205000500050005000500050005000501050105020502050305030504050405060508050905100511";
name102 = "Vulture";
deck102n = 42;
deck102 = "060006000600060006000600060006000600060006000600060306030606060606070608060806200700070007000700070007000700070007000700070307030704070507050709070907140714071407140714";
name103 = "Emerald Nova";
deck103n = 40;
deck103 = "0510051005100510051005100550055005500550055005500550055005500550055008120812081208120900090009000900090009000900090709070907090709070907090909090909091109110911";
name104 = "Arsenic";
deck104n = 35;
deck104 = "08070807080708070807080708090850085008500850085008500850085008500850085008500850100110011001100310041004100410091009100910091013101310131013";
name105 = "Werewolf";
deck105n = 44;
deck105 = "03000300030003000300030003000300030003000300030003000300030003010301030203020302030203030303030403040305030603060306030703070307030803080309030903120312031203121201120112011201";
name106 = "Diamond";
deck106n = 38;
deck106 = "01120112011201130113011301130113015001500150015001500150015001500150015001500150015001501101110411051106110611071108110811101110111211121112111211121112";
name107 = "earth";
deck107n = 41;
deck107 = "111406000600060006000600060006000600060006030603060606060606060706110611061106110611061106120612061211001100110011001100110011001101110111041105110511051112111211121112";
name108 = "water";
deck108n = 42;
deck108 = "010001000100010001010101010201080108010801120113011401140114015001500150015002000200020002000200020002000201020302030204020402040207020702090209020902100211021502150215";
name109 = "light";
deck109n = 39;
deck109 = "080008000800080008000800080008030803080308060806080708070807081008130813081308130900090009000900090209020902090909090912091309130913095009500950095009500950";
name110 = "Firefly";
deck110n = 43;
deck110 = "0300030003000302030203040307030803090309031103130313035003500350035003500350040004000400040004000400040004000400040004030406040704100411041104120412041204130413041304130420";
name111 = "Ash";
deck111n = 41;
deck111 = "10121012101210120313035003500350035005060506050905090510051005100550055005500550055005501000100010001000100010031005100510051005101010101010101010501050105010501050";
name112 = "Ash";
deck112n = 40;
deck112 = "0707000200020002000200020002000200020002000200020002000200020002010101090209021303070311040804110509051206060610071008030807090409111005100510111103110512021209";
cardname1200 = "Aether Pillar";
cardname1205 = "Dimensional Shield";
cardname1204 = "Immortal";
cardname1206 = "Lobotomizer";
cardname1203 = "Parallel Universe";
cardname1207 = "Phase Dragon";
cardname1208 = "Phase Spider";
cardname1209 = "Quintessence";
cardname1201 = "Spark";
cardname1202 = "Lightning";
cardname1211 = "Mindgate";
cardname1210 = "Fractal";
cardname1212 = "Silence";
cardname1213 = "Psion";
cardname1214 = "Phase Salvager";
cardname1220 = "Turquoise Nymph";
cardname903 = "Azure Dragon";
cardname920 = "Blue Nymph";
cardname901 = "Dragonfly";
cardname908 = "Firefly";
cardname906 = "Flying Weapon";
cardname904 = "Fog Shield";
cardname909 = "Owl\u2019s Eye";
cardname905 = "Thunderstorm";
cardname910 = "Unstable Gas";
cardname911 = "Shockwave";
cardname912 = "Wings";
cardname900 = "Wind Pillar";
cardname902 = "Wyrm";
cardname907 = "Firefly Queen";
cardname913 = "Sky Blitz";
cardname1101 = "Black Dragon";
cardname1120 = "Black Nymph";
cardname1102 = "Devourer";
cardname1108 = "Drain Life";
cardname1104 = "Dusk Mantle";
cardname1110 = "Liquid Shadow";
cardname1109 = "Minor Vampire";
cardname1106 = "Nightfall";
cardname1100 = "Obsidian Pillar";
cardname1103 = "Parasite";
cardname1105 = "Steal";
cardname1111 = "Gargoyle";
cardname1113 = "Nightmare";
cardname1112 = "Voodoo Doll";
cardname1107 = "Vampire Stiletto";
cardname1114 = "Cloak";
cardname212 = "Aflatoxin";
cardname210 = "Arsenic";
cardname201 = "Bone Dragon";
cardname200 = "Bone Pillar";
cardname211 = "Bone Wall";
cardname203 = "Flesh Spider";
cardname207 = "Boneyard";
cardname220 = "Grey Nymph";
cardname209 = "Plague";
cardname208 = "Poison";
cardname206 = "Skeleton";
cardname205 = "Skull Shield";
cardname202 = "Virus";
cardname204 = "Vulture";
cardname213 = "Mummy";
cardname214 = "Deathstalker";
cardname215 = "Soul Catcher";
cardname401 = "Antlion";
cardname420 = "Auburn Nymph";
cardname413 = "Basilisk's Blood";
cardname411 = "Earthquake";
cardname406 = "Gnome Rider";
cardname408 = "Graboid";
cardname402 = "Hematite Golem";
cardname405 = "Plate Armor";
cardname410 = "Enchant Artifact";
cardname407 = "Pulverizer";
cardname409 = "Shrieker";
cardname403 = "Stone Dragon";
cardname400 = "Stone Pillar";
cardname412 = "Stone Skin";
cardname404 = "Titanium Shield";
cardname414 = "Iridium Warden";
cardname102 = "Abomination";
cardname100 = "Amethyst Pillar";
cardname111 = "Antimatter";
cardname106 = "Chaos Seed";
cardname109 = "Discord";
cardname104 = "Dissipation Shield";
cardname110 = "Fallen Elf";
cardname105 = "Lycanthrope";
cardname101 = "Maxwell\u2019s Demon";
cardname108 = "Mutation";
cardname107 = "Nova";
cardname103 = "Purple Dragon";
cardname112 = "Butterfly Effect";
cardname113 = "Pandemonium";
cardname114 = "Schr\u00F6dinger's Cat";
cardname120 = "Purple Nymph";
cardname601 = "Ash Eater";
cardname600 = "Burning Pillar";
cardname602 = "Crimson Dragon";
cardname606 = "Deflagration";
cardname607 = "Fahrenheit";
cardname604 = "Fire Bolt";
cardname605 = "Fire Shield";
cardname603 = "Fire Spirit";
cardname609 = "Immolation";
cardname610 = "Lava Golem";
cardname611 = "Rage Potion";
cardname608 = "Rain of Fire";
cardname612 = "Phoenix";
cardname620 = "Red Nymph";
cardname614 = "Seraph";
cardname320 = "Amber Nymph";
cardname302 = "Armagio";
cardname311 = "Black Hole";
cardname310 = "Graviton Fire Eater";
cardname303 = "Graviton Mercenary";
cardname300 = "Gravity Pillar";
cardname309 = "Gravity Pull";
cardname305 = "Gravity Shield";
cardname304 = "Colossal Dragon";
cardname306 = "Momentum";
cardname307 = "Otyugh";
cardname301 = "Sapphire Charger";
cardname308 = "Titan";
cardname312 = "Chimera";
cardname313 = "Catapult";
cardname314 = "Acceleration";
cardname315 = "Graviton Salvager";
cardname511 = "Adrenaline";
cardname507 = "Thorn Carapace";
cardname504 = "Cockatrice";
cardname509 = "Druidic Staff";
cardname501 = "Emerald Dragon";
cardname500 = "Emerald Pillar";
cardname508 = "Emerald Shield";
cardname510 = "Empathic Bond";
cardname505 = "Forest Spirit";
cardname520 = "Green Nymph";
cardname506 = "Heal";
cardname502 = "Horned Frog";
cardname503 = "Rustler";
cardname512 = "Forest Scorpion";
cardname513 = "Mitosis";
cardname807 = "Blessing";
cardname806 = "Guardian Angel";
cardname804 = "Holy Light";
cardname802 = "Golden Dragon";
cardname800 = "Light Pillar";
cardname811 = "Luciferine";
cardname810 = "Miracle";
cardname809 = "Morning Star";
cardname803 = "Pegasus";
cardname801 = "Photon";
cardname808 = "Reflective Shield";
cardname805 = "Solar Shield";
cardname812 = "Hope";
cardname813 = "Crusader";
cardname814 = "Sanctuary";
cardname820 = "White Nymph";
cardname1007 = "Anubis";
cardname1001 = "Deja Vu";
cardname1006 = "Devonian Dragon";
cardname1008 = "Eternity";
cardname1002 = "Fate Egg";
cardname1005 = "Golden Hourglass";
cardname1020 = "Golden Nymph";
cardname1011 = "Precognition";
cardname1004 = "Reverse Time";
cardname1010 = "Scarab";
cardname1012 = "Pharaoh";
cardname1009 = "Sundial";
cardname1000 = "Time Factory";
cardname1003 = "Procrastination";
cardname1013 = "Dune Scorpion";
cardname1014 = "Ghost of the Past";
cardname707 = "Arctic Squid";
cardname702 = "Blue Crawler";
cardname701 = "Chrysaora";
cardname703 = "Freeze";
cardname704 = "Ice Bolt";
cardname709 = "Ice Dragon";
cardname705 = "Ice Shield";
cardname711 = "Mind Flayer";
cardname720 = "Nymph Queen";
cardname712 = "Nymph\u2019s Tears";
cardname706 = "Purify";
cardname700 = "Sapphire Pillar";
cardname710 = "Toadfish";
cardname708 = "Trident";
cardname713 = "Flooding";
cardname714 = "Steam Machine";
cardname27 = "Dagger";
cardname29 = "Hammer";
cardname2 = "Quantum Pillar";
cardname28 = "Short Sword";
cardname35 = "Short Bow";
cardname36 = "Shield";
cardname150 = "Entropy Pendulum";
cardname250 = "Death Pendulum";
cardname350 = "Gravity Pendulum";
cardname450 = "Earth Pendulum";
cardname550 = "Life Pendulum";
cardname650 = "Fire Pendulum";
cardname750 = "Water Pendulum";
cardname850 = "Light Pendulum";
cardname950 = "Air Pendulum";
cardname1050 = "Time Pendulum";
cardname1150 = "Dark Pendulum";
cardname1250 = "Aether Pendulum";
for1200 = "Today will be the foundation of something significant. ";
for1205 = "Today, you will need to be on your guard.";
for1204 = "Today, the world will seem just out of reach.";
for1206 = "Today is a day to take risks!";
for1203 = "Today, the world will seem just out of reach.";
for1207 = "Today is a BIG day. ";
for1208 = "Today, the world will seem just out of reach.";
for1209 = "Today, everything changes. ";
for1201 = "Today, the world will seem just out of reach.";
for1202 = "Today, the world will seem just out of reach.";
for1210 = "Today, the world will seem just out of reach.";
for1220 = "Today, everything comes together. ";
for1211 = "Today, the world will seem just out of reach.";
for1212 = "Today, the world will seem just out of reach.";
for1213 = "Today, the world will seem just out of reach.";
for1214 = "Today, the world will seem just out of reach.";
for903 = "Today is a BIG day. ";
for920 = "Today, everything comes together. ";
for901 = "Inspiration will come today, but don't hold your breath.";
for908 = "Inspiration will come today, but don't hold your breath.";
for906 = "Inspiration will come today, but don't hold your breath.";
for904 = "Today, you will need to be on your guard.";
for909 = "Today is a day to take risks!";
for905 = "Inspiration will come today, but don't hold your breath.";
for910 = "Today, everything changes. ";
for900 = "Today will be the foundation of something significant. ";
for902 = "Inspiration will come today, but don't hold your breath.";
for907 = "Inspiration will come today, but don't hold your breath.";
for911 = "Inspiration will come today, but don't hold your breath.";
for912 = "Today, you will need to be on your guard.";
for913 = "Inspiration will come today, but don't hold your breath.";
for1101 = "Today is a BIG day. ";
for1120 = "Today, everything comes together. ";
for1102 = "Misdirection and secrets rule the day today.";
for1108 = "Misdirection and secrets rule the day today.";
for1104 = "Today, you will need to be on your guard.";
for1110 = "Today, everything changes. ";
for1109 = "Misdirection and secrets rule the day today.";
for1106 = "Misdirection and secrets rule the day today.";
for1100 = "Today will be the foundation of something significant. ";
for1103 = "Misdirection and secrets rule the day today.";
for1105 = "Misdirection and secrets rule the day today.";
for1107 = "Today is a day to take risks!";
for1111 = "Misdirection and secrets rule the day today.";
for1112 = "Misdirection and secrets rule the day today.";
for1113 = "Misdirection and secrets rule the day today.";
for1114 = "Misdirection and secrets rule the day today.";
for212 = "Today, everything changes. ";
for210 = "Today is a day to take risks!";
for201 = "Today is a BIG day. ";
for200 = "Today will be the foundation of something significant. ";
for211 = "Today, you will need to be on your guard.";
for203 = "Today, the old must give way to the new. ";
for207 = "Today, the old must give way to the new. ";
for220 = "Today, everything comes together. ";
for209 = "Today, the old must give way to the new. ";
for208 = "Today, the old must give way to the new. ";
for206 = "Today, the old must give way to the new. ";
for205 = "Today, you will need to be on your guard.";
for202 = "Today, the old must give way to the new. ";
for204 = "Today, the old must give way to the new. ";
for213 = "Today, the old must give way to the new. ";
for214 = "Today, the old must give way to the new. ";
for215 = "Today, the old must give way to the new. ";
for401 = "Today is a day to remain firmly grounded. ";
for420 = "Today, everything comes together. ";
for413 = "Today, everything changes. ";
for411 = "Today is a day to remain firmly grounded. ";
for406 = "Today is a day to remain firmly grounded. ";
for408 = "Today is a day to remain firmly grounded. ";
for402 = "Today is a day to remain firmly grounded. ";
for405 = "Today is a day to remain firmly grounded. ";
for410 = "Today is a day to remain firmly grounded. ";
for407 = "Today is a day to take risks!";
for409 = "Today is a day to remain firmly grounded. ";
for403 = "Today is a BIG day. ";
for400 = "Today will be the foundation of something significant. ";
for412 = "Today is a day to remain firmly grounded. ";
for404 = "Today, you will need to be on your guard.";
for414 = "Today is a day to remain firmly grounded. ";
for102 = "Today, everything just seems to fall apart. ";
for100 = "Today will be the foundation of something significant. ";
for111 = "Today, everything changes. ";
for106 = "Today, everything just seems to fall apart. ";
for109 = "Today is a day to take risks!";
for104 = "Today, you will need to be on your guard.";
for110 = "Today, everything just seems to fall apart. ";
for105 = "Today, everything just seems to fall apart. ";
for101 = "Today, everything just seems to fall apart. ";
for108 = "Today, everything just seems to fall apart. ";
for107 = "Today, everything just seems to fall apart. ";
for103 = "Today is a BIG day. ";
for112 = "Today, everything just seems to fall apart. ";
for113 = "Today, everything just seems to fall apart. ";
for114 = "Today, everything just seems to fall apart. ";
for120 = "Today, everything comes together. ";
for601 = "Today will be highly energetic.";
for600 = "Today will be the foundation of something significant. ";
for602 = "Today is a BIG day. ";
for606 = "Today will be highly energetic.";
for607 = "Today is a day to take risks!";
for604 = "Today will be highly energetic.";
for605 = "Today, you will need to be on your guard.";
for603 = "Today will be highly energetic.";
for609 = "Today will be highly energetic.";
for610 = "Today will be highly energetic.";
for611 = "Today, everything changes. ";
for608 = "Today will be highly energetic.";
for612 = "Today will be highly energetic.";
for620 = "Today will be highly energetic.";
for614 = "Today will be highly energetic.";
for320 = "Today, everything comes together. ";
for302 = "Today, everything just seems to fall into place.";
for311 = "Today, everything changes. ";
for310 = "Today, everything just seems to fall into place.";
for303 = "Today, everything just seems to fall into place.";
for300 = "Today will be the foundation of something significant. ";
for309 = "Today, everything just seems to fall into place.";
for305 = "Today, you will need to be on your guard.";
for304 = "Today is a BIG day. ";
for306 = "Today, everything just seems to fall into place.";
for307 = "Today, everything just seems to fall into place.";
for301 = "Today, everything just seems to fall into place.";
for308 = "Today is a day to take risks!";
for312 = "Today, everything just seems to fall into place.";
for313 = "Today, everything just seems to fall into place.";
for314 = "Today, everything just seems to fall into place.";
for315 = "Today, everything just seems to fall into place.";
for511 = "Today, everything changes. ";
for507 = "Today, you will need to be on your guard.";
for504 = "Today is a great day to be alive!";
for509 = "Today is a day to take risks!";
for501 = "Today is a BIG day. ";
for500 = "Today will be the foundation of something significant. ";
for508 = "Today, you will need to be on your guard.";
for510 = "Today is a great day to be alive!";
for505 = "Today is a great day to be alive!";
for520 = "Today, everything comes together. ";
for506 = "Today is a great day to be alive!";
for502 = "Today is a great day to be alive!";
for503 = "Today is a great day to be alive!";
for512 = "Today is a great day to be alive!";
for513 = "Today is a great day to be alive!";
for807 = "Today will be illuminating -- even enlightening. ";
for806 = "Today will be illuminating -- even enlightening. ";
for804 = "Today will be illuminating -- even enlightening. ";
for802 = "Today is a BIG day. ";
for800 = "Today will be the foundation of something significant. ";
for811 = "Today, everything changes. ";
for810 = "Today will be illuminating -- even enlightening. ";
for809 = "Today is a day to take risks!";
for803 = "Today will be illuminating -- even enlightening. ";
for801 = "Today will be illuminating -- even enlightening. ";
for808 = "Today, you will need to be on your guard.";
for805 = "Today, you will need to be on your guard.";
for812 = "Today, you will need to be on your guard.";
for813 = "Today will be illuminating -- even enlightening. ";
for820 = "Today, everything comes together. ";
for814 = "Today will be illuminating -- even enlightening. ";
for1007 = "Take your time today. ";
for1001 = "Take your time today. ";
for1006 = "Today is a BIG day. ";
for1008 = "Today is a day to take risks!";
for1002 = "Take your time today. ";
for1005 = "Take your time today. ";
for1020 = "Today, everything comes together. ";
for1011 = "Today, everything changes. ";
for1004 = "Take your time today. ";
for1010 = "Take your time today. ";
for1012 = "Take your time today. ";
for1009 = "Take your time today. ";
for1013 = "Take your time today. ";
for1014 = "Take your time today. ";
for1000 = "Today will be the foundation of something significant. ";
for1003 = "Today, you will need to be on your guard.";
for707 = "Today is a day to go with the ebb and flow of things.";
for702 = "Today is a day to go with the ebb and flow of things.";
for701 = "Today is a day to go with the ebb and flow of things.";
for703 = "Today is a day to go with the ebb and flow of things.";
for704 = "Today is a day to go with the ebb and flow of things.";
for709 = "Today is a BIG day. ";
for705 = "Today, you will need to be on your guard.";
for711 = "Today is a day to go with the ebb and flow of things.";
for720 = "Today, everything comes together. ";
for712 = "Today, everything changes. ";
for706 = "Today is a day to go with the ebb and flow of things.";
for700 = "Today will be the foundation of something significant. ";
for710 = "Today is a day to go with the ebb and flow of things.";
for708 = "Today is a day to take risks!";
for713 = "Today is a day to go with the ebb and flow of things.";
for714 = "Today is a day to go with the ebb and flow of things.";
for715 = "Today is a day to go with the ebb and flow of things.";
for27 = "Today is a day to take risks!";
for29 = "Today is a day to take risks!";
for2 = "Today will be the foundation of something significant. ";
for28 = "Today is a day to take risks!";
for35 = "Today is a day to take risks!";
for36 = "Today, you will need to be on your guard.";
tune1200 = "The world will feel like a foreign place, but if you're quick, you'll learn the language in time.";
tune1205 = "Just don't let your defensiveness block out the entire world, which it is prone to do today.";
tune1204 = "You may feel invincible, but you might alienate someone if you're not careful.";
tune1206 = "Just don't take brainless ones. Let your enemies make that mistake this time.";
tune1203 = "It might even feel like an entirely different place, even though nothing has changed...";
tune1207 = "You will be completely untouchable. Live large!";
tune1208 = "If you're patient, however, what you desire most will be drawn into your web.";
tune1209 = "Disaster turns into mere spectacle, and everything dangerous will stay at bay.";
tune1201 = "Keep close watch for a burst of genius, or it will die before you can grasp it. ";
tune1202 = "Beware, however, because it will reach you quite suddenly, and very unexpectedly.";
tune1210 = "It's like looking at yourself looking at yourself look at yourself...only with no mirror.";
tune1220 = "Your touch will make the world's problems slide off of your friends' backs. Use it.";
tune1211 = "Have you ever wanted to get inside someone else's head? This is your chance -- delve deep, and learn everything you can.";
tune1212 = "It's better to keep one's mouth closed and be thought a fool than to open one's mouth...and remove all doubt.";
tune1213 = "You'll feel full of energy, electrified.";
tune1214 = "Don't it always seem to go that you don't know what you've got til its gone?";
tune903 = "You will feel like diving into new things today, but you can't. Just fly high and stay fly. ";
tune920 = "Your touch will contain volatility and package what yearns to destroy. Use it. ";
tune901 = "You're just zipping here and there -- but don't act like a Damsel in distress, and the answers will come.";
tune908 = "You will illuminate those around you with your inner energy -- just don't burn them along the way!";
tune906 = "Your power will seem to stretch past your reach; use today to attack problems normally beyond you.";
tune904 = "If you're not careful, you'll end up missing something that's coming straight at you!";
tune909 = "Accuracy is the watch-word of the day. Don't strike where it's not going to do the most damage.";
tune905 = "Everything around you will rumble, but if you can find the eye of the storm, you'll also find what you seek.. ";
tune910 = "A single spark will cause a detonation of brilliance -- will it be your own, or someone elses?";
tune900 = "The world is entirely up in the air today. Catch what you care most about, and let the rest fall.";
tune902 = "You will feel like diving into new things today -- and you should; that's where your power lies!";
tune907 = "Your mind will be a fertile wumb for numerous, brilliant ideas. ";
tune911 = "Something unexpected might happen, and it will happen fast.";
tune912 = "Many of your problems will be like ants below your feet -- but watch out for the few that CAN get to you!";
tune913 = "The higher you soar, the harder they fall. Aim for the clouds and fall like rain upon your foes.";
tune1101 = "You may feel surrounded by Pests today, but they only give you power. It's your time to strike!";
tune1120 = "Your touch will bring the mighty down, but not right away. Use it, but don't get drained waiting. ";
tune1102 = "Keep yourself grounded and stay under the radar, and no one will notice your little evils. ";
tune1108 = "Someone has to suffer for you to thrive. Don't feel badly, but don't gloat -- it calls too much attention.";
tune1104 = "Stay out of sight if at all possible. Obscurity is your best ally. ";
tune1110 = "Will you support your allies at the cost of your own well-being, or sacrifice others for your own benefit?";
tune1109 = "Be assertive -- even aggressive -- today. Every attack you make strengthens your grip on life. ";
tune1106 = "Gather your allies in secret. Your presence brings each one strength and assurance. ";
tune1100 = "The world is your victim, but all eyes are on you. Subtlety is your only path; take it with confidence. ";
tune1103 = "Don't worry if your tactics don't work right away. Bide your time; success is inevitable.";
tune1105 = "Today is a day for taking what you want, but not by force. Trick -- then treat!";
tune1107 = "Just attack. Keep attacking. Don't sneak, don't dodge, don't block. KEEP ATTACKING!";
tune1111 = "A moment of vulnerability cannot be avoided -- but survive it, and you'll be nigh-invincible";
tune1112 = "Ever had that pins-and-needles feeling in your legs? How about in your spleen?";
tune1113 = "They just can't get you out of their head, and the more they think about you the less they can think about anything else...";
tune1114 = "Your chances of success today are vanishing -- as in, only vanishing will lead to success.";
tune212 = "Someone around you is having a meltdown -- can you handle what they will become?";
tune210 = "Every move you make today will have lingering effects. Act quickly and decisively. ";
tune201 = "Yours is one giant footprint among a horde of smaller. Lead the masses!";
tune200 = "The world is on the edge. Find a way to take advantage of its fall.";
tune211 = "Every fall -- your enemies' and your henchemens' -- benefits you today. Let God sort 'em out.";
tune203 = "No matter how you struggle, you are caught in Death's web. Only deep change can free you.";
tune207 = "Destruction brings about new life...or something like it. Don't be afraid; just be in control.";
tune220 = "Your touch will corrupt the mighty and give rise to the meek. Use it.";
tune209 = "Everything slowly descends into oblivion around you, and you can only watch. ";
tune208 = "Drink plenty of liquids, avoid sugar and white flour, and eat your veggies. I'm sure it's just a flu.";
tune206 = "Some things truly are worthless. Today might be one of those things.";
tune205 = "Remember those 'meek' I mentioned? They're coming for you...";
tune202 = "Someone near you will sacrifice themselves to bring your challenges down to size.";
tune204 = "It may seem distasteful to profit from others' suffering. Ask yourself: so what?";
tune213 = "Are you sure you want to live forever?";
tune214 = "You may feel powerless during the day -- but just wait for Nightfall!";
tune215 = "Every obstacle in your path is also an opportunity. Conquer all and be the sole victor";
tune401 = "You may not be effective today, but you can at least be left alone. Shoot for that.";
tune420 = "Your touch halts progress in it's tracks. Be careful how you use it. ";
tune413 = "Stop, and take a breath -- or six. You won't get much done, but you'll feel much better.";
tune411 = "The ground itself may not be as stable as you like. Do you know where you stand?";
tune406 = "Stop and take a moment to thank the little people who helped you get where you are today.";
tune408 = "A threat may lurk unseen nearby -- but only Time will tell.";
tune402 = "You will need to have thick skin and an iron-like fist to make the most of the day.";
tune405 = "It's also a day to charge into the thick of things; you're hard to stop!";
tune410 = "Put all of your eggs in one basket; don't worry, nothing will happen to the basket. ";
tune407 = "As long as you treat things with the appropriate gravity today, nothing will stand in your path. ";
tune409 = "A hefty shock lies Burrowed in the events of the day. Watch out!";
tune403 = "Remember: Body like mountain, mind like meatloaf. ";
tune400 = "The world resists all change. Adjust to your circumstances, because they won't adjust themselves.";
tune412 = "The more in tune with the Earth you are, the more endurable your circumstances will become.";
tune404 = "Small nuisances can be safely ignored, but if big problems come, you'd better have Gratitude. ";
tune414 = "You can not just walk through a wall; there are smarter ways to get in: find a door";
tune102 = "A man wearing a blue top hat will assault your best friend if she rides the subway.";
tune100 = "The world will pass through an etherial elderberry bush full of kippers. No one will notice.";
tune111 = "BOOM!";
tune106 = "You don't want to see the tree. Or the foe. Or the vibe, sicks, heaven, ate!";
tune109 = "Focusing your energy is like eating your hat. Er: hatte. Eating your hatte. Look it up.";
tune104 = "What's it called when the tiny drink you're about to take evaporates?";
tune110 = "A girl in a monocle will die today unless you get back up. Stupid Elf. ";
tune105 = "I had Strep Thrope once. This promises to be much worse.";
tune101 = "Minwell's Angel will stand on your left shoulder all day, encouraging you to do algebra to the poor.";
tune108 = "No! It at...um... Norway? Forget Norway! Only in Kenya!";
tune107 = "But the light will still take 2.4197 x10^21242 years to reach our planet, so we'll never know...";
tune103 = "But yesterday wasn't small...it was just really...far away. ";
tune112 = "...the buttered bread falling on the floor, my mother in law slipping on it, her purse hitting the goldfish bowl. Poor goldfish.";
tune113 = "Ever seen a lobotomized dragon? Prepare for the worst, expect the best.";
tune114 = "It may -- or may not -- be possible to think inside the box today, so be ready to give outside the box a solid try.";
tune120 = "Your touch will cause Zanzarino's head to explode. For our sake, don't use it!";
tune601 = "If you can upgrade your place in life, you'll become a real contributor.";
tune600 = "The world is on fire, but is it a conflagration, or a controllable tool? You must decide. ";
tune602 = "The change you can effect is enormous -- but don't let your inner fragility get the best of you!";
tune606 = "Something that has been a major thorn in your side will finally give way. Take advantage!";
tune607 = "Don't waste any effort on any side projects. Pick your battle, and fight it with your all.";
tune604 = "Concentrate all of your focus on one last-ditch effort -- success will surely follow. ";
tune605 = "Offense really is the best defense this time around. ";
tune603 = "If at first you don't succeed, keep trying: every attempt will bring you greater strength. ";
tune609 = "Sacrifice something unimportant, and you will find the energy to attain your goals. ";
tune610 = "That energy will benefit greatly from a stable, grounded perspective. ";
tune611 = "When you risk your health to achieve your goals, you'd better be healthy before you start!";
tune608 = "The small and the weak are offered up in burning sacrifice. Will you be the sacrificed, or the glorified?";
tune612 = "They have taken advantage of you, insulted you, and reduced you to a lifeless nothing - they think. They do not know what you are capable of - yet.";
tune620 = "Your touch brings an anger that will drive the meek to their knees in impotent rage. Use it -- carefully.";
tune614 = "Your guardian angel is in one hell of a mood today. Say your prayers and chaaaaarge!";
tune320 = "Your touch saps energy but motiviates you. Use it on your more apathetic victims for best effect.";
tune302 = "A slow but strong ally steps between you and your critics. Let him take the heat.";
tune311 = "You gain momentum as your rivals come up short. Run with it!";
tune310 = "Power builds slowly like geothermic energy pushing magma ever upwards. Wait for it.";
tune303 = "Some local 'heavies' will offer their assistance to you, cheap. Don't risk turning them down.";
tune300 = "The world seems to orbit you today. Your pull is irresistable, but be careful what gathers around. ";
tune309 = "If you make another person the center of your world, you can avoid some significant troubles.";
tune305 = "Your big worries will slide right off your back, but ignore that advice about not sweating the small stuff. ";
tune304 = "You're the big kid on campus today. Talk the talk, because walking the walk will come naturally. ";
tune306 = "This is the time to attempt the impossible. With just a little extra effort, you can be Unstoppable!";
tune307 = "Food is critical to your success today. Eat well, power up, and attack the day.";
tune301 = "Nothing will try to get in your way today. Every time life closes a door, kick it back open!";
tune308 = "Your efforts are best focused on tackling great challenges today. You will succeed where others fail.";
tune312 = "What do you call a cross between a Blue Crawler and a Cockatrice and a Maxwell's Demon and a Purple Nymph?";
tune313 = "You will be called on to make great sacrifice today...so choose who to sacrifice carefully.";
tune314 = "Today you will be a (Mass * Acceleration) to be reckoned with. Use it, Luke.";
tune315 = "Recycle. Green is the new black.";
tune511 = "Activity is the name of the game. Keep moving, far past your supposed limits, and success will come.";
tune507 = "Only the most minor annoyances can be successfully shrugged off. Be ready. ";
tune504 = "Something that you thought would petrify you turns out to be a significant ally. Keep an eye out. ";
tune509 = "You will recover from your setbacks with vim and vigor. Don't be afraid of a little adversity.";
tune501 = "When the morning sun hits the Rustling leaves, you will arrive on the scene with alacrity and power. ";
tune500 = "The world is growing faster than ever. Blossom -- or be overrun. ";
tune508 = "Reflect on your challenges, and don't sweat the small stuff. Put your effort where it is due. ";
tune510 = "Understanding those around you will infuse your life with fresh energy and renewed determination.";
tune505 = "Nurture your smaller allies. They will Grow beyond your expectations if the environment is right. ";
tune520 = "Your touch will turn the weak into forces to be reckoned with. Use it!";
tune506 = "If the best offense is a good defense, then the best vengeance is outliving them all. ";
tune502 = "What sounds like an innocent or even pathetic proposal will jump out at you with startling strength.";
tune503 = "All Life feeds on the energy of the sun. You would be wise to harness that energy for yourself.";
tune512 = "Best to tackle your problems before they're ready for you -- and get in a hit that will keep on hurting after they are!";
tune513 = "It's a rare occasion that one person can generate something of significance all by themselves. This is a rare occasion.";
tune807 = "A force beyond human ken empowers your efforts. You can do the superhuman today.";
tune806 = "A force beyond human ken watches over you. No lasting harm can come to you. ";
tune804 = "Dwell not in the shadows, or the Light that could be thy guide will in its stead smite and defy thee. ";
tune802 = "And you are the BIGGEST of them all. This big light of y'ine, you'd better let it shine...";
tune800 = "The world has no secrets; the sacredness of All is illuminated. Access your inner Power and LIVE.";
tune811 = "Enlightenment comes from several unexpected sources. Keep your mind open.";
tune810 = "Just as failure seems inevitable, you will snatch victory from the jaws of defeat. ";
tune809 = "Your efforts cannot be ignored. Get Animated, and you will find Glory in the struggle.";
tune803 = "Like a shooting star, your progress today cannot be followed by the naked eye. Soar!";
tune801 = "You will be accused of duality today. Don't worry; you can be two things at once. ";
tune808 = "You know they are. But what are you? No, really: what ARE you? ";
tune805 = "The light of truth will be your aegis, protecting you...a little.";
tune812 = "Never despair, you are alive, it's a gift; use it.";
tune813 = "Draw your blade -- or someone else's blade, for that matter -- and step boldly into the fray.";
tune820 = "Your touch brings forth the inner light of those you hold dear. Use it. ";
tune814 = "Find a place where nobody can disturb you; shut the door and close that chaotic world outside.";
tune1007 = "The old gods still hold sway, so be careful to whom you sacrifice. Immortality may be at stake.";
tune1001 = "Take your time today.";
tune1006 = "You are a timeless juggernaut; an eternal powerhouse before which little can stand. Charge!";
tune1008 = "If your risky behavior doesn't pay off, you can always ask for a do-over. ";
tune1002 = "One of your long-term investments will unexpectedly hatch today. Can you make use of it?";
tune1005 = "Ideas will come fast and furious all day. Bring a notebook.";
tune1020 = "Your touch brings sudden insight and new inspiration. Use it generously. ";
tune1011 = "Don't think about the past -- look to the future for a useful new idea. ";
tune1004 = "In fact, take someone else's time, too. They won't miss it. ";
tune1010 = "Use it to gather like-minded people around you. Strength in numbers is the name of the game.";
tune1009 = "Everyone else will do the same. Use the pause to enlighten yourself. ";
tune1000 = "The world feels both ancient and new. Draw on the success of the past to guide your future.";
tune1003 = "The ones working against you will be delayed and confounded. Take advantage while you can.";
tune1012 = "No, you are not a divinity, but you might trick naive people into believing that you are one";
tune1013 = "You have the opportunity to be a real headache today.";
tune1014 = "Obsession; you stop and you stare too much, afraid that you care to much, and you hardly dare to touch for fear that your mind may be broken.";
tune707 = "Someone who holds you dear will easily handle a few big problems for you -- for a while. ";
tune702 = "Don't underestimate yourself; even if you feel small and blue, you still have the power you need.";
tune701 = "It's not a day to tackle things head-on. A more subtle, backhanded approach will get you far. ";
tune703 = "Problems have a way of seeming like they'll never come to bear today, but take care - they will.";
tune704 = "The more energy you put into solving a problem, the better -- even if you just delay things.";
tune709 = "Some may think you frigid, but the truth is just that you have MUCH bigger things to attend to. ";
tune705 = "Your caution will be rewarded when your biggest annoyances are held at bay for a time. ";
tune711 = "A little abstract thought will reveal a way to disable your most pervasive annoyances. ";
tune720 = "Your touch will bring new life to the same-old same-old. Use it. ";
tune712 = "The world gives way to entirely new ways of life. Pay attention to your environment for true inspiration.";
tune706 = "A 24-hour detoxification fast of lemon juice and almonds will bring great health.";
tune700 = "The world flows. Like a moving stream, you can never be in the same world twice. Flow with it. ";
tune710 = "When threats arise, make yourself appear as big and dangerous as possible.";
tune708 = "The Earth itself trembles before your will. Be careful what you will!";
tune713 = "Life is overwhelming sometime; try to stay afloat, prioritize.";
tune714 = "Some like it hot. Today, be one of them - just don't forget to let off some steam.";
tune715 = "Make sure you reap the benefits, or your day might do down the drain.";
tune27 = "You are more dangerous than anyone gives you credit for. Stay concealed until absolutely necessary.";
tune29 = "Kinetic energy is your ally. Strike first, strike hard, no mercy, Sir!";
tune2 = "The world could go in any direction. Only true flexibility can maximize your circumstances today.";
tune28 = "Your best role today is that of last-minute addition to a solid team. Find one, and join it. ";
tune35 = "They might think they can soar past you on their path to glory, but they're about to get shafted.";
tune36 = "Like water off a Blue Crawler's back; that's how your troubles will feel today.";
Frame 2
function template(adj) {
Set((("fo" + coda) + codb) + codc, eval ((("fo" + coda) + codb) + codc) + Number(adj));
fo = eval ((("fo" + coda) + codb) + codc);
}
function adjfo(adj) {
Set((("fo" + coda) + codb) + codc, Number(adj));
fo = eval ((("fo" + coda) + codb) + codc);
}
function retfo() {
return(eval ((("fo" + coda) + codb) + codc));
}
function addwon(adj) {
Set((("won" + coda) + codb) + codc, eval ((("won" + coda) + codb) + codc) + Number(adj));
won = eval ((("won" + coda) + codb) + codc);
}
function adjwon(adj) {
Set((("won" + coda) + codb) + codc, Number(adj));
won = eval ((("won" + coda) + codb) + codc);
}
function retwon() {
return(eval ((("won" + coda) + codb) + codc));
}
function addele(adj) {
Set((("electrum" + coda) + codb) + codc, eval ((("electrum" + coda) + codb) + codc) + Number(adj));
electrum = eval ((("electrum" + coda) + codb) + codc);
}
function adjele(adj) {
Set((("electrum" + coda) + codb) + codc, Number(adj));
electrum = eval ((("electrum" + coda) + codb) + codc);
}
function retele() {
return(eval ((("electrum" + coda) + codb) + codc));
}
function addcod(adj) {
Set((("ijn" + coda) + codb) + codc, eval ((("ijn" + coda) + codb) + codc) + Number(adj));
}
function adjcod(adj) {
Set((("ijn" + coda) + codb) + codc, Number(adj));
}
function retcod() {
return(eval ((("ijn" + coda) + codb) + codc));
}
function addsco(adj) {
Set((("score" + coda) + codb) + codc, eval ((("score" + coda) + codb) + codc) + Number(adj));
score = eval ((("score" + coda) + codb) + codc);
}
function adjsco(adj) {
Set((("score" + coda) + codb) + codc, Number(adj));
score = eval ((("score" + coda) + codb) + codc);
}
function retsco() {
return(eval ((("score" + coda) + codb) + codc));
}
function addcha(adj) {
Set((("chances" + coda) + codb) + codc, eval ((("chances" + coda) + codb) + codc) + Number(adj));
chances = Math.max(eval ((("chances" + coda) + codb) + codc), 0);
}
function adjcha(adj) {
Set((("chances" + coda) + codb) + codc, Number(adj));
chances = Math.max(eval ((("chances" + coda) + codb) + codc), 0);
}
function retcha() {
return(eval ((("chances" + coda) + codb) + codc));
}
function addhp(adj) {
if (_root.sacrifice == 0) {
Set((("hp" + coda) + codb) + codc, eval ((("hp" + coda) + codb) + codc) + Number(adj));
}
if (_root.sacrifice > 0) {
Set((("hp" + coda) + codb) + codc, eval ((("hp" + coda) + codb) + codc) - Number(adj));
}
hp = eval ((("hp" + coda) + codb) + codc);
if (eval ((("hp" + coda) + codb) + codc) <= 0) {
_root.gotoAndPlay("lose");
hp = 0;
}
}
function adjhp(adj) {
Set((("hp" + coda) + codb) + codc, Number(adj));
hp = eval ((("hp" + coda) + codb) + codc);
if (eval ((("hp" + coda) + codb) + codc) <= 0) {
_root.gotoAndPlay("lose");
hp = 0;
}
}
function rethp() {
return(eval ((("hp" + coda) + codb) + codc));
}
function addhpe(adj) {
if (_root.sacrificee == 0) {
Set((("hpe" + coda) + codb) + codc, eval ((("hpe" + coda) + codb) + codc) + Number(adj));
}
if (_root.sacrificee > 0) {
Set((("hpe" + coda) + codb) + codc, eval ((("hpe" + coda) + codb) + codc) - Number(adj));
}
hpe = eval ((("hpe" + coda) + codb) + codc);
if (eval ((("hpe" + coda) + codb) + codc) <= 0) {
_root.gotoAndPlay("win");
hpe = 0;
}
}
function adjhpe(adj) {
Set((("hpe" + coda) + codb) + codc, Number(adj));
hpe = eval ((("hpe" + coda) + codb) + codc);
if (eval ((("hpe" + coda) + codb) + codc) <= 0) {
_root.gotoAndPlay("win");
hpe = 0;
}
}
function rethpe() {
return(eval ((("hpe" + coda) + codb) + codc));
}
function addpoe(adj) {
Set((("poisone" + coda) + codb) + codc, eval ((("poisone" + coda) + codb) + codc) + Number(adj));
poisone = Math.abs(eval ((("poisone" + coda) + codb) + codc));
if (eval ((("poisone" + coda) + codb) + codc) < 0) {
efx.poison.gotoAndStop(2);
poisone = "+ " + poisone;
}
if (eval ((("poisone" + coda) + codb) + codc) > 0) {
if (_root.neuroe == 1) {
efx.poison.gotoAndStop(3);
} else {
efx.poison.gotoAndStop(1);
}
}
if (eval ((("poisone" + coda) + codb) + codc) == 0) {
efx.poison._alpha = 0;
}
}
function adjpoe(adj) {
Set((("poisone" + coda) + codb) + codc, Number(adj));
poisone = Math.abs(eval ((("poisone" + coda) + codb) + codc));
if (eval ((("poisone" + coda) + codb) + codc) < 0) {
efx.poison.gotoAndStop(2);
poisone = "+ " + poisone;
}
if (eval ((("poisone" + coda) + codb) + codc) > 0) {
if (_root.neuroe == 1) {
efx.poison.gotoAndStop(3);
} else {
efx.poison.gotoAndStop(1);
}
}
if (eval ((("poisone" + coda) + codb) + codc) == 0) {
efx.poison._alpha = 0;
}
}
function retpoe() {
return(eval ((("poisone" + coda) + codb) + codc));
}
function addpo(adj) {
Set((("poison" + coda) + codb) + codc, eval ((("poison" + coda) + codb) + codc) + Number(adj));
poison = Math.abs(eval ((("poison" + coda) + codb) + codc));
if (eval ((("poison" + coda) + codb) + codc) < 0) {
fx.poison.gotoAndStop(2);
poison = "+ " + poison;
}
if (eval ((("poison" + coda) + codb) + codc) > 0) {
if (_root.neuro == 1) {
fx.poison.gotoAndStop(3);
} else {
fx.poison.gotoAndStop(1);
}
}
if (eval ((("poison" + coda) + codb) + codc) == 0) {
fx.poison._alpha = 0;
}
}
function adjpo(adj) {
Set((("poison" + coda) + codb) + codc, Number(adj));
poison = Math.abs(eval ((("poison" + coda) + codb) + codc));
if (eval ((("poison" + coda) + codb) + codc) < 0) {
fx.poison.gotoAndStop(2);
poison = "+ " + poison;
}
if (eval ((("poison" + coda) + codb) + codc) > 0) {
if (_root.neuro == 1) {
fx.poison.gotoAndStop(3);
} else {
fx.poison.gotoAndStop(1);
}
}
if (eval ((("poison" + coda) + codb) + codc) == 0) {
fx.poison._alpha = 0;
}
}
function retpo() {
return(eval ((("poison" + coda) + codb) + codc));
}
function deshield() {
p4.ctrl = 1;
p4.statu = "invulnerable";
p4.card = 25;
p4.immortal = 0;
p4.icons.immortal._visible = false;
p4.n = "";
p4.gotoAndPlay(2);
_root.shield = 0;
_root.shieldtype = "none";
}
function disarm() {
p10.ctrl = 1;
p10.momentum = 0;
p10.delay = 0;
p10.frozen = 0;
p10.statu = "invulnerable";
p10.card = 26;
p10.immortal = 0;
p10.icons.immortal._visible = false;
p10.icons.gotoAndStop(1);
p10.gotoAndPlay(2);
}
function deshielde() {
pe4.ctrl = 1;
pe4.statu = "invulnerable";
pe4.card = 25;
pe4.immortal = 0;
pe4.icons.immortal._visible = false;
pe4.n = "";
pe4.gotoAndPlay(2);
_root.shielde = 0;
_root.shieldtypee = "none";
}
function disarme() {
pe10.ctrl = 1;
pe10.momentum = 0;
pe10.delay = 0;
pe10.frozen = 0;
pe10.statu = "invulnerable";
pe10.card = 26;
pe10.immortal = 0;
pe10.icons.immortal._visible = false;
pe10.icons.gotoAndStop(1);
pe10.gotoAndPlay(2);
}
function dbupdate() {
if (trainer == 0) {
lng = length(deckall);
if (lng > 16000) {
_root.tutortext = "Can not save: a maximum of 4000 cards can be saved";
_root.tutor.gotoAndPlay(2);
} else {
if (electrum > fhc) {
deckp2 = "fhh";
}
deckallchk = "";
i = 0;
while (i < lng) {
temp = Number(deckall.slice(i, i + 1));
if (!isNaN(temp)) {
deckallchk = deckallchk + temp;
}
i++;
}
deckall = deckallchk;
deckalln = Math.floor(length(deckall) / 4);
deckalltempn = deckalln;
ranrr = 100 + (Math.random() * 600);
fhcv = 0;
i = 0;
while (i < deckalln) {
temp = deckall.slice(4 * i, 4 * (i + 1));
j = 0;
while (j < 3) {
if (temp.slice(0, 1) == "0") {
temp = temp.slice(1, 4);
}
j++;
}
cardnow = Number(temp);
fhcv = (fhcv + 10) + (Math.floor(cardnow / 2000) * 1500);
if ((cardnow - (Math.floor(cardnow / 100) * 100)) == 20) {
fhcv = fhcv + 1000;
}
i++;
}
fhrr = (((-Math.round((Math.sin(ranrr / 314) * Math.sin(ranrr / 314)) + (Math.cos(ranrr / 314) * Math.cos(ranrr / 314)))) * Math.pow(10, Math.floor(ranrr / 100))) + fhcv) + (electrum * 3);
insert_lv.newemail = newemail;
insert_lv.newpsw = newpsw;
insert_lv.errorcode = -1;
insert_lv.user = user;
insert_lv.psw = psw;
insert_lv.electrum = retele();
insert_lv.element = element;
insert_lv.deck1 = deckp1;
insert_lv.deck1n = deckpn1;
insert_lv.deck2 = deckp2;
insert_lv.deck2n = 0;
insert_lv.deck3 = "";
insert_lv.deck3n = deckpn3;
insert_lv.decka = deckall;
insert_lv.deckan = deckalln;
insert_lv.won = retwon();
insert_lv.lost = lost;
insert_lv.score = retsco();
insert_lv.statu = gamever;
insert_lv.quests = quests;
insert_lv.fhcv = fhcv;
insert_lv.fo = retfo();
insert_lv.cardo = cardo;
electrum = retele();
score = retsco();
insert_lv.fh = (((fhrr + fhcv) + electrum) + score) + lonelyt;
if (alternateserver == 1) {
insert_lv.loadVariables("http://www.elementsthegame.com/dev7.php", "POST");
} else {
insert_lv.loadVariables("http://www.elementsthegame.org/dev7.php", "POST");
}
saving.gotoAndPlay(2);
}
}
}
function newseed() {
seed = "";
i = 0;
while (i <= 200) {
seed = seed + Math.floor(Math.random() * 10);
i++;
}
nnn = 0;
}
function rand() {
if (_root.level != "pvp") {
rannumber = Math.random();
} else {
rannumber = seed.slice(nnn, nnn + 4);
rannumber = Number(rannumber) / 10000;
nnn = nnn + 1;
if (nnn > 196) {
nnn = 0;
}
}
return(rannumber);
}
function rearrangee(pos) {
j = pos;
while (j <= 8) {
if (eval (("_root.he" + (j + 1)) + ".card") > 0) {
Set(("_root.he" + j) + ".card", eval (("_root.he" + (j + 1)) + ".card"));
target = "_root.he" + j;
eval (target).gotoAndPlay(2);
} else {
Set(("_root.he" + j) + ".card", 0);
target = "_root.he" + j;
eval (target).gotoAndStop(1);
}
j++;
}
}
function rearrange(pos) {
j = pos;
while (j <= 8) {
if (eval (("_root.h" + (j + 1)) + ".card") > 0) {
Set(("_root.h" + j) + ".card", eval (("_root.h" + (j + 1)) + ".card"));
target = "_root.h" + j;
eval (target).gotoAndPlay(2);
} else {
Set(("_root.h" + j) + ".card", 0);
target = "_root.h" + j;
eval (target).gotoAndStop(1);
}
j++;
}
}
function addq(adj, costelement) {
if ((sanctuary == 0) or (who == "player")) {
Set(((("q" + costelement) + coda) + codb) + codc, Math.min(eval (((("q" + costelement) + coda) + codb) + codc) + Number(adj), 75));
Set("q" + costelement, eval (((("q" + costelement) + coda) + codb) + codc));
}
}
function adjq(adj, costelement) {
if ((sanctuary == 0) or (who == "player")) {
Set(((("q" + costelement) + coda) + codb) + codc, Math.min(Number(adj), 75));
Set("q" + costelement, eval (((("q" + costelement) + coda) + codb) + codc));
}
}
function retq(costelement) {
if (costelement == 0) {
q0 = 0;
ii = 1;
while (ii <= 12) {
q0 = q0 + eval (((("q" + ii) + coda) + codb) + codc);
ii++;
}
return(q0);
}
return(eval (((("q" + costelement) + coda) + codb) + codc));
}
function qadjust(costelement, cost) {
if ((Math.abs(cost) > 0) and ((sanctuary == 0) or (who == "player"))) {
if (costelement == 0) {
var addquantum = new Array();
qi = 1;
while (qi <= 12) {
addquantum[qi] = 0;
qi++;
}
n = 0;
qi = 1;
while ((qi <= (-cost)) and (n < 200)) {
ran = Math.floor(rand() * 12) + 1;
if (_root.retq(ran) > 0) {
_root.addq(-1, ran);
addquantum[ran] = addquantum[ran] - 1;
qi = qi + 1;
}
n++;
}
qi = 1;
while (qi <= 12) {
if (addquantum[qi] != 0) {
Set(("_root.qeffect" + qi) + ".val", addquantum[qi]);
target = "_root.qeffect" + qi;
eval (target).gotoAndPlay(2);
}
qi++;
}
}
_root.addq(cost, costelement);
lastcost = -cost;
if (cost > 0) {
cost = "+ " + cost;
}
Set(("_root.qeffect" + costelement) + ".val", cost);
target = "_root.qeffect" + costelement;
eval (target).gotoAndPlay(2);
}
}
function addqe(adj, costelement) {
if ((sanctuarye == 0) or (who == "cpu")) {
Set(((("qe" + costelement) + coda) + codb) + codc, Math.min(eval (((("qe" + costelement) + coda) + codb) + codc) + Number(adj), 75));
Set("qe" + costelement, eval (((("qe" + costelement) + coda) + codb) + codc));
}
}
function adjqe(adj, costelement) {
if ((sanctuarye == 0) or (who == "cpu")) {
Set(((("qe" + costelement) + coda) + codb) + codc, Math.min(Number(adj), 75));
Set("qe" + costelement, eval (((("qe" + costelement) + coda) + codb) + codc));
}
}
function retqe(costelement) {
if (costelement == 0) {
qe0 = 0;
ii = 1;
while (ii <= 12) {
qe0 = qe0 + eval (((("qe" + ii) + coda) + codb) + codc);
ii++;
}
return(qe0);
}
return(eval (((("qe" + costelement) + coda) + codb) + codc));
}
function qadjuste(costelement, cost) {
if ((Math.abs(cost) > 0) and ((sanctuarye == 0) or (who == "cpu"))) {
if (costelement == 0) {
var addquantum = new Array();
qi = 1;
while (qi <= 12) {
addquantum[qi] = 0;
qi++;
}
n = 0;
qi = 1;
while ((qi <= (-cost)) and (n < 200)) {
ran = Math.floor(rand() * 12) + 1;
if (_root.retqe(ran) > 0) {
_root.addqe(-1, ran);
addquantum[ran] = addquantum[ran] - 1;
qi = qi + 1;
}
n++;
}
qi = 1;
while (qi <= 12) {
if (addquantum[qi] != 0) {
Set(("_root.qeffecte" + qi) + ".val", addquantum[qi]);
target = "_root.qeffecte" + qi;
eval (target).gotoAndPlay(2);
}
qi++;
}
}
_root.addqe(cost, costelement);
if (cost > 0) {
cost = "+ " + cost;
}
Set(("_root.qeffecte" + costelement) + ".val", cost);
target = "_root.qeffecte" + costelement;
eval (target).gotoAndPlay(2);
}
}
function displaydeck() {
i = _root.deckpn1 + 1;
while (i <= 60) {
Set(("_root.d" + i) + ".card", 0);
eval ("_root.d" + i)._visible = false;
i++;
}
if (_root.t500building > 0) {
i = 0;
while (i <= 4) {
_root.deckx[i] = 0;
i++;
}
}
_root.deckx.sort(Array.NUMERIC);
if (_root.t500building > 0) {
i = 0;
while (i <= 4) {
_root.deckx[i] = t500card;
if (up500 > i) {
_root.deckx[i] = t500card + 2000;
}
i++;
}
}
i = 1;
while (i <= _root.deckpn1) {
if ((eval (("_root.d" + i) + ".card") != _root.deckx[i - 1]) or ((eval ("_root.d" + i)._currentframe == 1) and (eval (("_root.d" + i) + ".card") != "none"))) {
Set(("_root.d" + i) + ".card", _root.deckx[i - 1]);
eval ("_root.d" + i).gotoAndPlay(2);
eval ("_root.d" + i)._visible = true;
eval ("_root.d" + i).lastone = 0;
}
i++;
}
eval ("_root.d" + _root.deckpn1).lastone = 1;
eval ("_root.d" + _root.deckpn1).gotoAndPlay(2);
}
function displaybazaar() {
nn = 1;
i = 1;
while (i <= 60) {
Set(("_root.d" + i) + ".card", 0);
eval ("_root.d" + i)._visible = false;
i++;
}
_root.deckbx.sort(Array.NUMERIC);
i = 1;
while (i <= deckbn) {
if ((_root.deckbx[i - 1] >= (filter * 100)) and (_root.deckbx[i - 1] < ((filter + 1) * 100))) {
Set(("_root.d" + nn) + ".card", _root.deckbx[i - 1]);
eval ("_root.d" + nn)._visible = true;
eval ("_root.d" + nn).gotoAndPlay(2);
nn = nn + 1;
}
i++;
}
j = 1;
while (j <= 60) {
if (eval ("_root.d" + j)._visible == true) {
eval ("_root.d" + j).lastone = 0;
} else {
j = j - 1;
break;
}
j++;
}
eval ("_root.d" + j).lastone = 1;
eval ("_root.d" + j).gotoAndPlay(2);
}
function displaycards() {
j = 1;
while (j <= 90) {
Set(("_root.a" + j) + ".ctrl", 1);
Set(("_root.a" + j) + ".card", 0);
j++;
}
nn = 1;
fhcv = 0;
if (_root.deckalltempn > 0) {
deckax.sort(Array.NUMERIC);
i = 1;
while ((i <= _root.deckalltempn) and (nn <= 90)) {
found = 0;
cardnow = _root.deckax[i - 1];
if (((((cardnow != "none") and (cardnow >= (filter * 100))) and (cardnow < ((filter + 1) * 100))) or ((cardnow != "none") and (filter == -1))) or (((cardnow != "none") and (cardnow >= (2000 + (filter * 100)))) and (cardnow < (2000 + ((filter + 1) * 100))))) {
j = 1;
while (j <= 90) {
if (eval (("_root.a" + j) + ".card") == cardnow) {
found = 1;
Set(("_root.a" + j) + ".ctrl", eval (("_root.a" + j) + ".ctrl") + 1);
break;
}
j++;
}
if (found == 0) {
Set(("_root.a" + nn) + ".card", cardnow);
if (eval (("_root.a" + nn) + ".card.img")._currentframe != cardnow) {
eval ("_root.a" + nn).gotoAndPlay(2);
eval ("_root.a" + nn)._visible = true;
}
nn = nn + 1;
}
}
i++;
}
}
i = nn;
while (i <= 90) {
if (eval (("_root.a" + i) + ".card")._currentframe != 1) {
eval ("_root.a" + i)._visible = false;
}
i++;
}
j = 1;
while (j <= 90) {
if (eval ("_root.a" + j)._visible == true) {
eval ("_root.a" + j).lastone = 0;
} else {
j = j - 1;
break;
}
j++;
}
eval ("_root.a" + j).lastone = 1;
eval ("_root.a" + j).gotoAndPlay(2);
}
function autotarget(skill) {
var score = new Array();
i = 0;
while (i <= 90) {
score[i] = 0;
i++;
}
prge = _root.hpe / (Math.abs(_root.monitor.dmg) + 1);
prg = _root.hp / (Math.abs(_root.monitor.dmge) + 1);
estimate = 0;
autofound = 0;
freeze = 0;
onlyfriend = 0;
onlyfoe = 0;
targeting = "none";
if (((((skill == "infect") or (skill == "infection")) or (skill == "reverse time")) or (skill == "sniper")) or (skill == "aflatoxin")) {
estimate = -1;
targeting = "creature";
}
if ((skill == "reverse time") and (_root.decken < 5)) {
onlyfriend = 1;
estimate = 8;
targeting = "betacreature";
}
if ((skill == "gravity pull") and (_root.shieldcreature == 0)) {
estimate = -1;
targeting = "creature";
}
if (((skill == "gravity pull") and (prge < 5)) and (_root.shieldcreaturee == 0)) {
estimate = 1;
definevalue = 5;
onlyfriend = 1;
targeting = "definedef";
}
if (skill == "paradox") {
estimate = -1;
targeting = "creaturehighatk";
}
if ((skill == "lightning") or (skill == "shockwave")) {
estimate = -5;
targeting = "all";
}
if (skill == "purify") {
estimate = 2;
targeting = "all";
}
if (skill == "fire bolt") {
estimate = -3 * (Math.floor(_root.retqe(6) / 10) + 1);
targeting = "all";
}
if (skill == "icebolt") {
estimate = -2 * (Math.floor(_root.retqe(7) / 10) + 1);
targeting = "all";
}
if (skill == "drain life") {
estimate = -2 * (Math.floor(_root.retqe(11) / 10) + 1);
targeting = "all";
}
if (((((skill == "guard") or (skill == "freeze")) or (freeze == 1)) or (skill == "congeal")) or ((skill == "petrify") and (Math.random() > 0.5))) {
estimate = -1;
targeting = "creature";
}
if (skill == "parallel universe") {
estimate = 0;
targeting = "alphacreature";
}
if (skill == "holy light") {
estimate = 10;
targeting = "all";
}
if ((skill == "destroy") or (skill == "steal")) {
estimate = -1;
targeting = "permanent";
}
if (skill == "steal") {
_root.stealing = 1;
} else {
_root.stealing = 0;
}
if (skill == "accretion") {
estimate = -10;
skill = "destroy";
targeting = "permanent";
}
if (skill == "enchant") {
estimate = 1;
targeting = "permanent";
}
if (skill == "momentum") {
estimate = 1;
onlyfriend = 1;
targeting = "alphacreature";
}
if (skill == "adrenaline") {
estimate = 1;
definevalue = 3;
onlyfriend = 1;
deftolerance = 7;
targeting = "defineatk";
}
if (skill == "antimatter") {
estimate = -1;
definevalue = 25;
deftolerance = 25;
targeting = "defineatk";
}
if (skill == "liquid shadow") {
estimate = 1;
definevalue = 3;
targeting = "definedef";
}
if (skill == "mitosis") {
estimate = 1;
definevalue = 25;
deftolerance = 25;
targeting = "defineatk";
}
if (skill == "butterfly") {
estimate = 1;
definevalue = 3;
targeting = "creaturelowatk";
}
if (skill == "readiness") {
estimate = 1;
targeting = "skillcreature";
}
if (skill == "catapult") {
estimate = 20;
if (_root.monitor.nc > 20) {
estimate = 100;
}
targeting = "trebuchet";
}
if (skill == "rage") {
estimate = 1;
definevalue = 5;
targeting = "definedef";
}
if (skill == "berserk") {
estimate = 1;
definevalue = 6;
targeting = "definedef";
}
if ((skill == "acceleration") or (skill == "overdrive")) {
estimate = 1;
definevalue = 3;
targeting = "definedef";
}
if (((((skill == "blessing") or (skill == "armor")) or (skill == "heavy armor")) or (skill == "immortality")) or (skill == "chaos power")) {
estimate = 3;
onlyfriend = 1;
targeting = "alphacreature";
}
if ((skill == "petrify") and (_root.ihazcatapult == 1)) {
onlyfriend = 1;
estimate = 1;
targeting = "betacreature";
}
if (skill == "heal") {
estimate = 5;
targeting = "creature";
}
if (skill == "chaos") {
estimate = -1;
onlyfoe = 1;
targeting = "alphacreature";
}
if (skill == "devour") {
estimate = -1;
targeting = "smaller";
}
if ((skill == "mutation") or (skill == "improve")) {
estimate = -1;
targeting = "betacreature";
}
if ((skill == "immolate") or (skill == "cremation")) {
onlyfriend = 1;
estimate = 1;
targeting = "betacreature";
}
if ((skill == "lobotomize") or ((skill == "liquid shadow") and (Math.random() > 0.5))) {
estimate = -1;
targeting = "skillcreature";
}
if ((skill == "tsunami") or (skill == "earthquake")) {
estimate = -1;
targeting = "pillars";
}
if (skill == "nymph") {
estimate = 1;
targeting = "tears";
}
if (skill == "fractal") {
estimate = 1;
targeting = "fractal";
}
if (skill == "nightmare") {
estimate = -1;
targeting = "fractal";
}
if (skill == "pandemonium") {
estimate = -1;
targeting = "pandemonium";
}
if (skill == "web") {
estimate = -1;
targeting = "creature";
}
if (skill == "endow") {
estimate = 1;
targeting = "weapon";
}
if (skill == "wisdom") {
estimate = 1;
targeting = "immortals";
if (_root.shieldtypee != "reflect") {
onlyfriend = 1;
}
if (_root.shieldtype == "reflect") {
onlyfoe = 1;
}
}
if ((level == "pvp") and (skill != "pandemonium")) {
targeting = "none";
}
trace("skill: " + skill);
trace("targeting: " + targeting);
if (targeting == "all") {
score[1] = (-estimate) / (_root.rethp() * 4);
score[2] = (estimate * (_root.hpemax - _root.rethpe())) * 0.001;
if ((_root.shieldtype == "reflect") and (_root.shieldtypee != "reflect")) {
score[1] = 0;
}
if ((_root.shieldtype != "reflect") and (_root.p10.frozen > 0)) {
score[1] = 1;
}
if (_root.sacrifice > 0) {
score[1] = (-score[1]) * 50;
}
if (_root.sacrificee > 0) {
score[2] = -score[2];
}
targeting = "creature";
}
if (targeting == "creature") {
i = 1;
while (i <= 23) {
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) {
if (eval (("_root.ce" + i) + ".defnow") < eval (("_root.ce" + i) + ".def")) {
score[45 + i] = ((0.01 * eval (("_root.ce" + i) + ".atknow")) * (eval (("_root.ce" + i) + ".def") - eval (("_root.ce" + i) + ".defnow"))) * estimate;
}
if (eval (("_root.ce" + i) + ".atknow") < 0) {
score[45 + i] = (0.1 * eval (("_root.ce" + i) + ".atknow")) * estimate;
}
if ((eval (("_root.ce" + i) + ".poison") < 0) and (skill == "purify")) {
score[45 + i] = 0;
}
if ((skill == "holy light") and ((eval (("_root.ce" + i) + ".element") == 2) or (eval (("_root.ce" + i) + ".element") == 11))) {
score[45 + i] = -estimate;
}
if ((skill == "reverse time") and ((eval (("_root.ce" + i) + ".passive") == "mummy") or (eval (("_root.ce" + i) + ".passive") == "undead"))) {
score[45 + i] = 1;
}
}
if ((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) {
skillscore = 0;
if (eval (("_root.ce" + i) + ".skill") != "") {
skillscore = 3;
}
score[2 + i] = (((eval (("_root.c" + i) + ".atknow") + 1) + skillscore) / (-estimate)) / 20;
if (((eval (("_root.c" + i) + ".statu") == skill) or (eval (("_root.c" + i) + ".frozen") > 0)) or (eval (("_root.c" + i) + ".delay") > 0)) {
score[2 + i] = 0;
}
if ((skill == "holy light") and ((eval (("_root.c" + i) + ".element") == 2) or (eval (("_root.c" + i) + ".element") == 11))) {
score[2 + i] = ((eval (("_root.c" + i) + ".atknow") + 1) + skillscore) / estimate;
}
if ((skill == "reverse time") and ((eval (("_root.c" + i) + ".passive") == "mummy") or (eval (("_root.c" + i) + ".passive") == "undead"))) {
score[2 + i] = 0;
}
if (((skill == "reverse time") and (eval (("_root.c" + i) + ".passive") == "voodoo")) and (eval (("_root.c" + i) + ".defnow") > 25)) {
score[2 + i] = eval (("_root.c" + i) + ".defnow") / 25;
}
if ((skill == "shockwave") and (eval (("_root.c" + i) + ".frozen") > 0)) {
score[2 + i] = 1;
}
if ((skill == "web") and (eval (("_root.c" + i) + ".passive2") != "airborne")) {
score[2 + i] = 0;
}
}
i++;
}
}
if (targeting == "immortals") {
i = 1;
while (i <= 23) {
if ((((eval (("_root.ce" + i) + ".ctrl") > 0) and (onlyfoe == 0)) and (eval (("_root.ce" + i) + ".statu") == "invulnerable")) and (eval (("_root.ce" + i) + ".burrow") != 1)) {
score[45 + i] = estimate / eval (("_root.ce" + i) + ".immortal");
}
if ((((eval (("_root.c" + i) + ".ctrl") > 0) and (onlyfriend == 0)) and (eval (("_root.c" + i) + ".statu") == "invulnerable")) and (eval (("_root.c" + i) + ".burrow") != 1)) {
score[2 + i] = (2 * estimate) / eval (("_root.c" + i) + ".immortal");
}
i++;
}
}
if (targeting == "creaturehighatk") {
i = 1;
while (i <= 23) {
if (((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) and (eval (("_root.ce" + i) + ".atknow") > eval (("_root.ce" + i) + ".defnow"))) {
if ((eval (("_root.ce" + i) + ".poison") > 0) or ((eval (("_root.ce" + i) + ".def") - eval (("_root.ce" + i) + ".defnow")) > 0)) {
score[45 + i] = estimate;
}
}
if (((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) and (eval (("_root.c" + i) + ".atknow") > eval (("_root.c" + i) + ".defnow"))) {
score[2 + i] = (eval (("_root.c" + i) + ".atknow") / (-estimate)) / 20;
if ((eval (("_root.c" + i) + ".statu") == skill) or (eval (("_root.c" + i) + ".poison") > 0)) {
score[2 + i] = 0;
}
}
i++;
}
}
if (targeting == "creaturelowatk") {
i = 1;
while (i <= 23) {
if (((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) and (eval (("_root.ce" + i) + ".atknow") < definevalue)) {
score[45 + i] = (estimate * (eval (("_root.ce" + i) + ".defnow") - eval (("_root.ce" + i) + ".poison"))) / 10;
}
if (((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) and (eval (("_root.c" + i) + ".atknow") < definevalue)) {
score[2 + i] = 0;
}
i++;
}
}
if (targeting == "trebuchet") {
i = 1;
while (i <= 23) {
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) {
score[45 + i] = (((((estimate * eval (("_root.ce" + i) + ".defnow")) / (_root.rethp() + 1)) + eval (("_root.ce" + i) + ".frozen")) + (eval (("_root.ce" + i) + ".poison") * 3)) - eval (("_root.ce" + i) + ".atknow")) / 20;
}
if ((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) {
score[2 + i] = 0;
}
i++;
}
}
if (targeting == "pandemonium") {
if ((level == "pvp") and (who != "player")) {
mirrorme = -1;
} else {
mirrorme = 1;
}
i = 1;
while (i <= 23) {
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) {
score[45 + i] = (100 + mirrorme) * (1 - eval (("_root.ce" + i) + ".panded"));
}
if ((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) {
score[2 + i] = (100 - mirrorme) * (1 - eval (("_root.c" + i) + ".panded"));
}
i++;
}
}
if (targeting == "alphacreature") {
i = 1;
while (i <= 23) {
skillscore = 0;
if (((eval (("_root.ce" + i) + ".ctrl") > 0) and (onlyfoe == 0)) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) {
if (eval (("_root.ce" + i) + ".skill") != "") {
skillscore = 3;
}
if (((eval (("_root.ce" + i) + ".skill") == "deja vu") or (eval (("_root.ce" + i) + ".defnow") == 0)) or (eval (("_root.ce" + i) + ".skill") == "devour")) {
skillscore = 10;
}
score[45 + i] = (((eval (("_root.ce" + i) + ".atknow") + skillscore) - eval (("_root.ce" + i) + ".frozen")) - eval (("_root.ce" + i) + ".delay")) / 10;
if ((eval (("_root.ce" + i) + ".momentum") > 0) and (skill == "momentum")) {
score[45 + i] = 0;
}
if (eval (("_root.ce" + i) + ".skill") == "hatch") {
score[45 + i] = 0;
}
if ((skill == "parallel universe") and (eval (("_root.ce" + i) + ".passive") == "chimera")) {
score[45 + i] = 0;
}
}
if (((eval (("_root.c" + i) + ".ctrl") > 0) and (onlyfriend == 0)) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) {
if (eval (("_root.c" + i) + ".skill") != "") {
skillscore = 3;
}
score[2 + i] = (((eval (("_root.c" + i) + ".atknow") + skillscore) - eval (("_root.c" + i) + ".frozen")) - eval (("_root.c" + i) + ".delay")) / 10;
if ((skill == "parallel universe") and (eval (("_root.c" + i) + ".passive") == "chimera")) {
score[2 + i] = _root.monitor.nc / 5;
}
}
i++;
}
}
if (targeting == "skillcreature") {
i = 1;
while (i <= 23) {
skillscore = 0;
if ((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) {
if (eval (("_root.c" + i) + ".skill") != "") {
score[2 + i] = (eval (("_root.c" + i) + ".cost") + 1) * (-estimate);
}
}
i++;
}
i = 1;
while (i <= 23) {
skillscore = 0;
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) {
if (eval (("_root.ce" + i) + ".skill") != "") {
score[45 + i] = eval (("_root.ce" + i) + ".skillcost") * estimate;
if (eval (("_root.ce" + i) + ".costelement") == 10) {
score[45 + i] = (eval (("_root.ce" + i) + ".skillcost") * estimate) * 3;
}
}
}
i++;
}
}
if (targeting == "betacreature") {
i = 1;
while (i <= 23) {
skillscore = 0;
if (((eval (("_root.ce" + i) + ".ctrl") > 0) and (onlyfoe == 0)) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) {
if (eval (("_root.ce" + i) + ".skill") != "") {
skillscore = 3;
}
score[45 + i] = ((7 + estimate) - (((eval (("_root.ce" + i) + ".defnow") + eval (("_root.ce" + i) + ".atknow")) + eval (("_root.ce" + i) + ".cost")) + skillscore)) / 5;
}
if (((eval (("_root.c" + i) + ".ctrl") > 0) and (onlyfriend == 0)) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) {
if (eval (("_root.c" + i) + ".skill") != "") {
skillscore = 3;
}
score[2 + i] = (((-8 + eval (("_root.c" + i) + ".defnow")) + eval (("_root.c" + i) + ".atknow")) + skillscore) / 100;
}
i++;
}
}
if (targeting == "defineatk") {
i = 1;
while (i <= 23) {
skillscore = 0;
if (((eval (("_root.ce" + i) + ".ctrl") > 0) and (onlyfoe == 0)) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) {
score[45 + i] = (estimate * (deftolerance - Math.abs(definevalue - eval (("_root.ce" + i) + ".atknow")))) / 10;
if ((eval (("_root.ce" + i) + ".adrenaline") > 0) and (skill == "adrenaline")) {
score[45 + i] = 0;
}
if ((eval (("_root.ce" + i) + ".skill") == "mitosis") and (skill == "mitosis")) {
score[45 + i] = 0;
}
if ((eval (("_root.ce" + i) + ".passive") == "singularity") and (skill == "antimatter")) {
score[45 + i] = 0;
}
}
if (((eval (("_root.c" + i) + ".ctrl") > 0) and (onlyfriend == 0)) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) {
score[2 + i] = ((-estimate) * (deftolerance - Math.abs(definevalue - eval (("_root.c" + i) + ".atknow")))) / 10;
}
i++;
}
}
if (targeting == "definedef") {
i = 1;
while (i <= 23) {
if (((eval (("_root.ce" + i) + ".ctrl") > 0) and (onlyfoe == 0)) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) {
score[45 + i] = (estimate * (eval (("_root.ce" + i) + ".defnow") - definevalue)) / definevalue;
}
if (((eval (("_root.c" + i) + ".ctrl") > 0) and (onlyfriend == 0)) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) {
score[2 + i] = (((-estimate) * 0.1) * (eval (("_root.c" + i) + ".cost") + eval (("_root.c" + i) + ".atknow"))) * (((eval (("_root.c" + i) + ".defnow") - definevalue) - 1) / (Math.abs((eval (("_root.c" + i) + ".defnow") - definevalue) - 1) + 0.001));
}
i++;
}
}
if (targeting == "fractal") {
i = 1;
while (i <= 23) {
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) {
costelement = eval (("_root.ce" + i) + ".costelement");
if (estimate > 0) {
score[45 + i] = ((_root.retqe(costelement) + 1) / (eval (("_root.ce" + i) + ".cost") + 0.2)) / (((_root.cardshande * _root.cardshande) * 5) + 1);
} else if (eval (("_root.ce" + i) + ".passive") == "obsession") {
score[45 + i] = 1;
} else {
score[45 + i] = ((eval (("_root.ce" + i) + ".cost") / (_root.retq(costelement) + 1)) + 0.2) / (((_root.cardshand * _root.cardshand) * 5) + 1);
}
}
if ((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) {
costelement = eval (("_root.c" + i) + ".costelement");
if (estimate > 0) {
score[2 + i] = ((_root.retqe(costelement) + 1) / (eval (("_root.c" + i) + ".cost") + 0.2)) / (((_root.cardshande * _root.cardshande) * 5) + 1);
} else {
score[2 + i] = ((eval (("_root.c" + i) + ".cost") / (_root.retq(costelement) + 1)) + 0.2) / (((_root.cardshand * _root.cardshand) * 5) + 1);
}
}
i++;
}
}
if (targeting == "permanent") {
i = 1;
while (i <= 19) {
if ((eval (("_root.pe" + i) + ".ctrl") > 0) and (eval (("_root.pe" + i) + ".statu") != "invulnerable")) {
score[69 + i] = ((eval (("_root.pe" + i) + ".cost") + 1) * estimate) / (25 - _root.cardshande);
}
if ((eval (("_root.p" + i) + ".ctrl") > 0) and (eval (("_root.p" + i) + ".statu") != "invulnerable")) {
score[25 + i] = ((eval (("_root.p" + i) + ".cost") + 1) * (-estimate)) / 20;
if (eval (("_root.p" + i) + ".statu") == skill) {
score[25 + i] = 0;
}
if ((eval (("_root.p" + i) + ".passive") == "sundial") and (skill != "steal")) {
score[25 + i] = (_root.monitor.dmge * (-estimate)) / 20;
}
}
i++;
}
}
if (targeting == "pillars") {
i = 1;
while (i <= 19) {
if (((eval (("_root.pe" + i) + ".ctype") == "pillar") and (eval (("_root.pe" + i) + ".ctrl") > 0)) and (eval (("_root.pe" + i) + ".statu") != "invulnerable")) {
score[69 + i] = (estimate + (Math.random() / 10)) / 2;
}
if (((eval (("_root.p" + i) + ".ctype") == "pillar") and (eval (("_root.p" + i) + ".ctrl") > 0)) and (eval (("_root.p" + i) + ".statu") != "invulnerable")) {
score[25 + i] = ((eval (("_root.p" + i) + ".ctrl") / (Math.abs(eval (("_root.p" + i) + ".ctrl") - estimate) + 0.5)) * 10) * (-estimate);
}
i++;
}
}
if (targeting == "tears") {
wassa = 0;
i = 1;
while (i <= 23) {
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".skill") == "nymph")) {
wassa++;
}
i++;
}
i = 1;
while (i <= 19) {
if ((((((Math.floor(eval (("_root.pe" + i) + ".card") / 100) != 27) or (wassa == 0)) and ((Math.floor(eval (("_root.pe" + i) + ".card") / 100) != 7) or (wassa == 0))) and (eval (("_root.pe" + i) + ".ctype") == "pillar")) and (eval (("_root.pe" + i) + ".ctrl") > 0)) and (eval (("_root.pe" + i) + ".statu") != "invulnerable")) {
score[69 + i] = (estimate + (Math.random() / 10)) / 2;
}
i++;
}
}
if (targeting == "weapon") {
i = 1;
while (i <= 19) {
if (((eval (("_root.pe" + i) + ".ctype") == "weapon") and (eval (("_root.pe" + i) + ".ctrl") > 0)) and (eval (("_root.pe" + i) + ".statu") != "invulnerable")) {
if (eval (("_root.pe" + i) + ".skillcost") != "") {
skillscore = retqe(eval (("_root.pe" + i) + ".skillelement")) / (1 + eval (("_root.pe" + i) + ".skillcost"));
} else {
skillscore = 1;
}
score[69 + i] = eval (("_root.pe" + i) + ".atk") + skillscore;
}
if (((eval (("_root.p" + i) + ".ctype") == "weapon") and (eval (("_root.p" + i) + ".ctrl") > 0)) and (eval (("_root.p" + i) + ".statu") != "invulnerable")) {
if (eval (("_root.p" + i) + ".skillcost") != "") {
skillscore = retqe(eval (("_root.p" + i) + ".skillelement")) / (1 + eval (("_root.p" + i) + ".skillcost"));
} else {
skillscore = 1;
}
score[25 + i] = eval (("_root.p" + i) + ".atk") + skillscore;
}
i++;
}
i = 1;
while (i <= 23) {
if (((eval (("_root.c" + i) + ".ctype") == "weapon") and (eval (("_root.c" + i) + ".ctrl") > 0)) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) {
if (eval (("_root.c" + i) + ".skillcost") != "") {
skillscore = retqe(eval (("_root.c" + i) + ".skillelement")) / (1 + eval (("_root.c" + i) + ".skillcost"));
} else {
skillscore = 1;
}
score[2 + i] = eval (("_root.c" + i) + ".atk") + skillscore;
}
i++;
}
i = 1;
while (i <= 23) {
if (((eval (("_root.ce" + i) + ".ctype") == "weapon") and (eval (("_root.ce" + i) + ".ctrl") > 0)) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) {
if (eval (("_root.ce" + i) + ".skillcost") != "") {
skillscore = retqe(eval (("_root.ce" + i) + ".skillelement")) / (1 + eval (("_root.ce" + i) + ".skillcost"));
} else {
skillscore = 1;
}
score[45 + i] = eval (("_root.ce" + i) + ".atk") + skillscore;
}
i++;
}
}
if (targeting == "smaller") {
i = 1;
while (i <= 23) {
if (((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) and (smaller > eval (("_root.ce" + i) + ".defnow"))) {
if ((eval (("_root.ce" + i) + ".poison") > 0) or (((eval (("_root.ce" + i) + ".atknow") + eval (("_root.ce" + i) + ".defnow")) <= 2) and (eval (("_root.ce" + i) + ".skill") == ""))) {
score[45 + i] = (-estimate) / 10;
}
if (_root.monitor.nc > 20) {
score[45 + i] = (-estimate) / eval (("_root.ce" + i) + ".atknow");
}
}
if (((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) and (smaller > eval (("_root.c" + i) + ".defnow"))) {
if (eval (("_root.c" + i) + ".skill") != "") {
skillscore = 3;
}
score[2 + i] = ((skillscore + 1) + (eval (("_root.c" + i) + ".atknow") / (-estimate))) / 10;
}
i++;
}
}
if ((skill == "petrify") and (shieldcreaturee > 0)) {
score[45 + shieldcreaturee] = 0.75;
}
if ((skill == "petrify") and (shieldcreature > 0)) {
score[2 + shieldcreature] = 0;
}
infestcount = 0;
if (skill != "pandemonium") {
i = 1;
while (i <= 23) {
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) {
skillnow = eval (("_root.ce" + i) + ".skill");
if (((skillnow == "infest") and (skill != "reverse time")) and (skill != "antimatter")) {
score[45 + i] = -score[45 + i];
infestcount = infestcount + 1;
if (infestcount == 1) {
score[45 + i] = score[45 + i] * 3;
}
}
if ((eval (("_root.ce" + i) + ".ctype") == "weapon") and (skill == "mitosis")) {
score[45 + i] = 0;
}
if ((((((((((((((skillnow == "devour") or (skillnow == "immortality")) or (skillnow == "paradox")) or (skillnow == "congeal")) or (skillnow == "freeze")) or (skillnow == "tsunami")) or (skillnow == "antimatter")) or (skillnow == "steal")) or (skillnow == "destroy")) or (skillnow == "reverse time")) or (skillnow == "black hole")) or (skillnow == "rage")) or (skillnow == "berserk")) or (skillnow == "unstable gas")) {
score[45 + i] = score[45 + i] * 2;
}
if ((((((((((((((skillnow == "growth") or (skillnow == "improve")) or (skillnow == "venom")) or (skillnow == "deadly venom")) or (skillnow == "neurotoxin")) or (skillnow == "sniper")) or (skillnow == "fiery")) or (skillnow == "mutation")) or (skillnow == "improve")) or (skillnow == "lycanthropy")) or (skillnow == "scavenger")) or (skillnow == "photosynthesis")) or (skillnow == "queen")) or (skillnow == "endow")) {
score[45 + i] = score[45 + i] * 1.5;
}
if (skillnow != "") {
score[45 + i] = score[45 + i] * 1.1;
}
if (((skillnow == "neurotoxin") or (skillnow == "deadly venom")) and (eval (("_root.ce" + i) + ".atknow") == 0)) {
score[45 + i] = score[45 + i] * 3;
}
if (eval (("_root.ce" + i) + ".poison") > 0) {
score[45 + i] = score[45 + i] / 2;
}
}
if ((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) {
skillnow = eval (("_root.c" + i) + ".skill");
adrenalinenow = eval (("_root.c" + i) + ".adrenaline");
if ((skillnow == "infest") or (eval (("_root.c" + i) + ".poison") >= eval (("_root.c" + i) + ".defnow"))) {
score[2 + i] = 0;
}
if ((eval (("_root.c" + i) + ".ctype") == "weapon") and (skill == "mitosis")) {
score[2 + i] = 0;
}
if (((((((((((((((skillnow == "devour") or (skillnow == "immortality")) or (skillnow == "paradox")) or (skillnow == "congeal")) or (skillnow == "freeze")) or (skillnow == "tsunami")) or (skillnow == "antimatter")) or (skillnow == "steal")) or (skillnow == "destroy")) or (skillnow == "reverse time")) or (skillnow == "black hole")) or (skillnow == "rage")) or (skillnow == "berserk")) or (skillnow == "unstable gas")) or (skillnow == "mitosis")) {
score[2 + i] = score[2 + i] * 2;
}
if ((((((((((((((adrenalinenow == 1) or (skillnow == "growth")) or (skillnow == "improve")) or (skillnow == "venom")) or (skillnow == "deadly venom")) or (skillnow == "neurotoxin")) or (skillnow == "sniper")) or (skillnow == "fiery")) or (skillnow == "mutation")) or (skillnow == "improve")) or (skillnow == "lycanthropy")) or (skillnow == "scavenger")) or (skillnow == "photosynthesis")) or (skillnow == "queen")) {
score[2 + i] = score[2 + i] * 1.5;
}
if ((skillnow == "light") and (_root.shieldtype == "hope")) {
score[2 + i] = score[2 + i] * 3;
}
if (skillnow != "") {
score[2 + i] = score[2 + i] * 1.1;
}
if ((eval (("_root.c" + i) + ".poison") > 0) or (eval (("_root.c" + i) + ".passive") == "voodoo")) {
score[2 + i] = score[2 + i] / 2;
}
if (((_root.freedom >= 1) and (eval (("_root.c" + i) + ".costelement") == 9)) and (eval (("_root.c" + i) + ".passive2") == "airborne")) {
score[2 + i] = 0;
}
}
i++;
}
i = 1;
while (i <= 19) {
if ((eval (("_root.pe" + i) + ".ctrl") > 0) and (eval (("_root.pe" + i) + ".statu") != "invulnerable")) {
skillnow = eval (("_root.pe" + i) + ".skill");
if (((((((((((skillnow == "hasten") or (skillnow == "devour")) or (skillnow == "immortality")) or (skillnow == "paradox")) or (skillnow == "congeal")) or (skillnow == "freeze")) or (skillnow == "tsunami")) or (skillnow == "queen")) or (skillnow == "steal")) or (skillnow == "destroy")) or (skillnow == "reverse time")) {
score[69 + i] = score[69 + i] * 2;
}
if ((((((((((((skillnow == "growth") or (skillnow == "improve")) or (skillnow == "venom")) or (skillnow == "deadly venom")) or (skillnow == "neurotoxin")) or (skillnow == "sniper")) or (skillnow == "fiery")) or (skillnow == "mutation")) or (skillnow == "improve")) or (skillnow == "lycanthropy")) or (skillnow == "scavenger")) or (skillnow == "photosynthesis")) {
score[69 + i] = score[69 + i] * 1.5;
}
if (skillnow != "") {
score[69 + i] = score[69 + i] * 1.1;
}
}
if ((eval (("_root.p" + i) + ".ctrl") > 0) and (eval (("_root.p" + i) + ".statu") != "invulnerable")) {
skillnow = eval (("_root.p" + i) + ".skill");
if (((((((((((skillnow == "hasten") or (skillnow == "devour")) or (skillnow == "immortality")) or (skillnow == "paradox")) or (skillnow == "congeal")) or (skillnow == "freeze")) or (skillnow == "tsunami")) or (skillnow == "queen")) or (skillnow == "steal")) or (skillnow == "destroy")) or (skillnow == "reverse time")) {
score[25 + i] = score[25 + i] * 2;
}
if ((((((((((((skillnow == "growth") or (skillnow == "improve")) or (skillnow == "venom")) or (skillnow == "deadly venom")) or (skillnow == "neurotoxin")) or (skillnow == "sniper")) or (skillnow == "fiery")) or (skillnow == "mutation")) or (skillnow == "improve")) or (skillnow == "lycanthropy")) or (skillnow == "scavenger")) or (skillnow == "photosynthesis")) {
score[25 + i] = score[25 + i] * 1.5;
}
if (skillnow != "") {
score[25 + i] = score[25 + i] * 1.1;
}
}
i++;
}
}
if (cloak == 1) {
i = 1;
while (i <= 19) {
if (!(((eval (("_root.p" + i) + ".ctrl") > 0) and (eval (("_root.p" + i) + ".statu") != "invulnerable")) and (eval (("_root.p" + i) + ".skill") == "cloak"))) {
score[25 + i] = 0;
}
i++;
}
i = 1;
while (i <= 23) {
score[2 + i] = 0;
i++;
}
}
maxscore = 0;
maxtarget = 0;
ranscore = (Math.random() + 0.1) / (_root.cardshande + 2);
i = 0;
while (i <= 90) {
if ((score[i] > maxscore) and (score[i] > ranscore)) {
maxtarget = i;
maxscore = score[i];
}
i++;
}
trace("target:");
trace(maxtarget);
trace("score:");
trace(score[maxtarget]);
trace("scorematrix:");
trace(score);
target = "none";
if ((level == "pvp") and (skill != "pandemonium")) {
maxtarget = pvptarget;
}
if ((maxtarget != 0) and (maxtarget != 999)) {
autofound = 1;
} else {
skill = "none";
}
reflected = 0;
if (((((_root.shieldtype == "reflect") and (maxtarget == 1)) and (level == "pvp")) and (skill != "holy light")) and (skill != "purify")) {
maxtarget = 2;
}
if ((((_root.shieldtypee == "reflect") and (maxtarget == 2)) and (skill != "holy light")) and (skill != "purify")) {
_root.pe4.instantfx.gotoAndPlay("reflect");
_root.pe4.dmgfx.val = "reflect";
_root.pe4.dmgfx.gotoAndPlay(2);
maxtarget = 1;
reflected = 1;
}
if (maxtarget == 1) {
if (skill == "purify") {
if (_root.retpo() > 0) {
_root.adjpo(0);
}
_root.addpo(-2);
_root.neuro = 0;
_root.fx.gotoAndPlay("cure");
_root.sacrifice = 0;
_root.hpbar.hpbar3.gotoAndStop(1);
_root.sacrifice1._visible = false;
}
if (skill == "holy light") {
_root.addhp(10);
_root.fx.gotoAndPlay("holy light");
_root.hpeffect.val = "+ 10";
_root.hpeffect.gotoAndPlay(2);
}
if ((((_root.shieldtype == "reflect") and (reflected == 0)) and (skill != "holy light")) and (skill == "purify")) {
_root.p4.instantfx.gotoAndPlay("reflect");
_root.p4.dmgfx.val = "reflect";
_root.p4.dmgfx.gotoAndPlay(2);
maxtarget == 2;
} else {
if (skill == "lightning") {
_root.addhp(-5);
_root.hpeffect.val = "- 5";
_root.hpeffect.gotoAndPlay(2);
_root.fx.gotoAndPlay("lightning");
}
if (skill == "icebolt") {
dmg = (Math.floor(_root.retqe(7) / 10) + 1) * 2;
freezehp = Math.round(_root.rand() + (dmg * 0.05));
if ((freezehp >= 1) and (_root.p10.statu != "invulnerable")) {
_root.p10.instantfx.gotoAndPlay("freeze");
_root.p10.skflag = 0;
_root.p10.frozen = 3;
}
_root.addhp(-dmg);
_root.fx.gotoAndPlay("icebolt");
}
if (skill == "shockwave") {
_root.addhp(-4);
_root.fx.gotoAndPlay("shockwave");
if (_root.p10.frozen > 0) {
_root.p10.instantfx.gotoAndPlay("unfrozen");
_root.disarm();
}
}
if (skill == "fire bolt") {
dmg = (Math.floor(_root.retqe(6) / 10) + 1) * 3;
_root.addhp(-dmg);
_root.fx.gotoAndPlay("firebolt");
}
if (skill == "drain life") {
dmg = (Math.floor(_root.retqe(11) / 10) + 1) * 2;
_root.addhp(-dmg);
_root.fx.gotoAndPlay("drainlife");
_root.addhpe(dmg);
_root.hpeffecte.val = "+ " + dmg;
_root.hpeffecte.gotoAndPlay(2);
}
}
}
if (maxtarget == 2) {
if (skill == "lightning") {
_root.addhpe(-5);
_root.hpeffecte.val = "- 5";
_root.hpeffecte.gotoAndPlay(2);
_root.efx.gotoAndPlay("lightning");
}
if (skill == "icebolt") {
dmg = (Math.floor(_root.retqe(7) / 10) + 1) * 2;
freezehp = Math.round(_root.rand() + (dmg * 0.05));
if ((freezehp >= 1) and (_root.pe10.statu != "invulnerable")) {
_root.pe10.instantfx.gotoAndPlay("freeze");
_root.pe10.skflag = 0;
_root.pe10.frozen = 3;
}
_root.addhpe(-dmg);
_root.efx.gotoAndPlay("icebolt");
}
if (skill == "shockwave") {
_root.addhpe(-4);
_root.efx.gotoAndPlay("shockwave");
if (_root.pe10.frozen > 0) {
_root.pe10.instantfx.gotoAndPlay("unfrozen");
_root.disarme();
}
}
if (skill == "fire bolt") {
dmg = (Math.floor(_root.retqe(6) / 10) + 1) * 3;
_root.addhpe(-dmg);
_root.efx.gotoAndPlay("firebolt");
}
if (skill == "drain life") {
_root.efx.gotoAndPlay("drainlife");
}
if (skill == "holy light") {
_root.addhpe(10);
_root.efx.gotoAndPlay("holy light");
_root.hpeffecte.val = "+ 10";
_root.hpeffecte.gotoAndPlay(2);
}
if (skill == "purify") {
if (_root.retpoe() > 0) {
_root.adjpoe(0);
}
_root.addpoe(-2);
_root.neuroe = 0;
_root.efx.gotoAndPlay("cure");
_root.sacrificee = 0;
_root.hpbare.hpbar3.gotoAndStop(1);
_root.sacrifice2._visible = false;
}
}
if ((maxtarget >= 3) and (maxtarget <= 25)) {
target = "c" + (maxtarget - 2);
if ((((_root.freedom > 0) and (skill != "pandemonium")) and (eval (target).costelement == 9)) and (eval (target).passive2 == "airborne")) {
if (_root.rand() < _root.freedom) {
eval (target).instantfx.gotoAndPlay("dive");
eval (target).dmgfx.gotoAndPlay(2);
skill = "evade";
autofound = 2;
}
}
}
if ((maxtarget >= 26) and (maxtarget <= 45)) {
target = "p" + (maxtarget - 25);
}
if ((maxtarget >= 46) and (maxtarget <= 69)) {
target = "ce" + (maxtarget - 45);
}
if ((maxtarget >= 70) and (maxtarget <= 89)) {
target = "pe" + (maxtarget - 69);
}
if (maxtarget > 2) {
eval (target).dmgfx.val = skill;
var skills = new Array("infect", "lightning", "icebolt", "fire bolt", "freeze", "parallel universe", "lobotomize", "drain life", "sniper", "reverse time", "gravity pull", "shockwave");
if (skill == "pandemonium") {
ran = Math.floor(rand() * 12);
skill = skills[ran];
eval (target).dmgfx.val = skill;
if ((skill == "parallel universe") and (who == "player")) {
skill = "parallel universe2";
}
score[maxtarget] = 100;
eval (target).panded = 1;
}
if (skill == "chaos") {
ran = Math.floor(rand() * 12);
skill = skills[ran];
trace("chaos skill: " + skill);
score[maxtarget] = 100;
}
if ((skill == "aflatoxin") and ((eval (target).mythosis == 0) or (level == "pvp"))) {
eval (target).mythosis = 1;
eval (target).poison = eval (target).poison + 1;
skill = "infect";
} else if (skill == "aflatoxin") {
autofound = 0;
}
if ((skill == "liquid shadow") and ((eval (target).skill != "vampire") or (_root.lvl == "pvp"))) {
eval (target).skill = "vampire";
eval (target).skillcost = "";
eval (target).skillelement = 0;
skill = "infect";
} else if (skill == "liquid shadow") {
autofound = 0;
}
if ((skill == "butterfly") and ((eval (target).skill != "destroy") or (_root.lvl == "pvp"))) {
eval (target).skill = "destroy";
eval (target).skillcost = 3;
eval (target).skillelement = 1;
eval (target).quantum.gotoAndStop(eval (target).skillelement + 1);
eval (target).instantfx.gotoAndPlay("butterfly");
} else if (skill == "butterfly") {
autofound = 0;
}
if ((skill == "mitosis") and ((eval (target).skill != "mitosis") or (_root.lvl == "pvp"))) {
eval (target).skill = "mitosis";
eval (target).skillcost = eval (target).cost;
eval (target).skillelement = eval (target).costelement;
eval (target).quantum.gotoAndStop(eval (target).skillelement + 1);
eval (target).instantfx.gotoAndPlay("mitosis");
} else if (skill == "mitosis") {
autofound = 0;
}
if ((skill == "acceleration") and ((eval (target).skill != "acceleration") or (_root.lvl == "pvp"))) {
eval (target).skill = "acceleration";
eval (target).skillcost = "";
eval (target).skillelement = 0;
eval (target).quantum.gotoAndStop(eval (target).skillelement + 1);
eval (target).instantfx.gotoAndPlay("acceleration");
} else if (skill == "acceleration") {
autofound = 0;
}
if ((skill == "overdrive") and ((eval (target).skill != "overdrive") or (_root.lvl == "pvp"))) {
eval (target).skill = "overdrive";
eval (target).skillcost = "";
eval (target).skillelement = 0;
eval (target).quantum.gotoAndStop(eval (target).skillelement + 1);
eval (target).instantfx.gotoAndPlay("acceleration");
} else if (skill == "overdrive") {
autofound = 0;
}
if (skill == "readiness") {
eval (target).skillcost = 0;
eval (target).instantfx.gotoAndPlay("hatch");
if ((((eval (target).costelement == 10) and (eval (target).delay == 0)) and (eval (target).frozen == 0)) and (eval (target).readiness != -1)) {
eval (target).skflag = 1;
eval (target).readiness = 1;
}
}
if ((skill == "infect") or (skill == "infection")) {
eval (target).instantfx.gotoAndPlay("poisonfx");
eval (target).poison = eval (target).poison + 1;
}
if (skill == "purify") {
eval (target).instantfx.gotoAndPlay("cure");
eval (target).mythosis = 0;
if (eval (target).poison > 0) {
eval (target).poison = 0;
}
eval (target).poison = eval (target).poison - 2;
}
if (skill == "web") {
if (eval (target).passive2 == "airborne") {
eval (target).passive2 = "";
eval (target).instantfx.gotoAndPlay("web");
}
}
if ((skill == "mutation") or (skill == "improve")) {
ran = rand();
if (skill == "improve") {
ran = 0.9;
}
eval (target).instantfx.gotoAndPlay("mutation");
if (ran < 0.1) {
skill = "paradox";
} else if ((ran >= 0.1) and (ran < 0.6)) {
eval (target).card = 102;
eval (target).gotoAndPlay(2);
} else if (ran >= 0.6) {
card = Math.floor(rand() * _root.cindexn);
eval (target).card = _root.cindexx[card];
eval (target).statu = "mutation";
eval (target).gotoAndPlay(2);
}
}
if (skill == "catapult") {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).gotoAndStop(1);
dmg = Math.ceil(((100 * eval (target).defnow) / (100 + eval (target).defnow)) * (1 + (Math.ceil(eval (target).frozen / 10) * 0.5)));
sfx = "hit" + Math.min(Math.floor(Math.sqrt(dmg + 1)) - 1, 8);
trace(sfx);
_root.soundfx.gotoAndPlay(sfx);
_root.addhp(-dmg);
_root.hpeffect.val = dmg;
_root.hpeffect.gotoAndPlay(2);
if (eval (target).poison > 0) {
_root.addpo(eval (target).poison);
_root.fx.gotoAndPlay("poison");
}
}
if ((skill == "paradox") or (skill == "devour")) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).gotoAndStop(1);
}
if (skill == "lightning") {
eval (target).defnow = eval (target).defnow - 5;
eval (target).dmgfx.val = "- 5";
eval (target).dmgfx.gotoAndPlay(2);
eval (target).instantfx.gotoAndPlay("lightning");
if (eval (target).defnow <= 0) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).gotoAndStop(1);
}
}
if ((skill == "shockwave") and (eval (target).frozen == 0)) {
eval (target).defnow = eval (target).defnow - 4;
eval (target).dmgfx.val = "- 4";
eval (target).dmgfx.gotoAndPlay(2);
eval (target).instantfx.gotoAndPlay("shockwave");
if (eval (target).defnow <= 0) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).gotoAndStop(1);
}
}
if ((skill == "shockwave") and (eval (target).frozen > 0)) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).gotoAndStop(1);
eval (target).instantfx.gotoAndPlay("shockwave");
}
if ((skill == "immolate") or (skill == "cremation")) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).gotoAndStop(1);
eval (target).instantfx.gotoAndPlay("immolate");
if (eval (target).passive != "singularity") {
_root.efx.gotoAndPlay("nova");
i = 1;
while (i <= 5) {
_root.qadjuste(i, 1);
i++;
}
if (skill == "immolate") {
_root.qadjuste(6, 6);
} else {
_root.qadjuste(6, 8);
}
i = 7;
while (i <= 12) {
_root.qadjuste(i, 1);
i++;
}
}
}
if (skill == "sniper") {
eval (target).defnow = eval (target).defnow - 3;
eval (target).dmgfx.val = "- 3";
eval (target).dmgfx.gotoAndPlay(2);
eval (target).instantfx.gotoAndPlay("arrow");
if (eval (target).defnow <= 0) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).gotoAndStop(1);
}
}
if (skill == "fire bolt") {
dmg = (Math.floor(_root.retqe(6) / 10) + 1) * 3;
if (who == "player") {
dmg = (Math.floor(_root.retq(6) / 10) + 1) * 3;
}
eval (target).defnow = eval (target).defnow - dmg;
eval (target).instantfx.gotoAndPlay("firebolt");
if (eval (target).defnow <= 0) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).freeze = 0;
eval (target).gotoAndStop(1);
}
}
if (skill == "drain life") {
dmg = (Math.floor(_root.retqe(11) / 10) + 1) * 2;
if (who == "player") {
dmg = (Math.floor(_root.retq(11) / 10) + 1) * 2;
}
if (eval (target).defnow < dmg) {
dmg = eval (target).defnow;
}
eval (target).defnow = eval (target).defnow - dmg;
eval (target).instantfx.gotoAndPlay("drainlife");
if (eval (target).defnow <= 0) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).freeze = 0;
eval (target).gotoAndStop(1);
}
if (who == "player") {
_root.addhp(dmg);
_root.hpeffect.val = "+ " + dmg;
_root.hpeffect.gotoAndPlay(2);
} else {
_root.addhpe(dmg);
_root.hpeffecte.val = "+ " + dmg;
_root.hpeffecte.gotoAndPlay(2);
}
}
if (skill == "icebolt") {
dmg = (Math.floor(_root.retqe(7) / 10) + 1) * 2;
if (who == "player") {
dmg = (Math.floor(_root.retq(7) / 10) + 1) * 2;
}
freeze = Math.round(rand() + (dmg * 0.05));
eval (target).defnow = eval (target).defnow - dmg;
eval (target).instantfx.gotoAndPlay("icebolt");
if (eval (target).defnow <= 0) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).freeze = 0;
eval (target).gotoAndStop(1);
}
}
if (((skill == "freeze") or (freeze >= 1)) or (skill == "congeal")) {
if (skill != "icebolt") {
eval (target).instantfx.gotoAndPlay("freeze");
}
eval (target).skflag = 0;
eval (target).frozen = 3;
if (skill == "congeal") {
eval (target).frozen = 4;
}
}
if (skill == "lobotomize") {
eval (target).instantfx.gotoAndPlay("lobotomize");
eval (target).statu = "";
eval (target).skflag = 0;
eval (target).quantum.gotoAndStop(1);
eval (target).skill = "";
eval (target).momentum = 0;
eval (target).skillcost = "";
eval (target).skillelement = 0;
}
if ((skill == "parallel universe") and (((autofound == 1) and (score[maxtarget] > (_root.rethpe() / 100))) or (level == "pvp"))) {
autofound = 0;
i = 1;
while (i <= 23) {
if (eval (("_root.ce" + i) + ".ctrl") == 0) {
Set(("_root.ce" + i) + ".ctrl", 1);
Set(("_root.ce" + i) + ".skflag", 0);
Set(("_root.ce" + i) + ".card", eval (target).card);
if ((maxtarget >= 46) and (maxtarget <= 69)) {
Set(("_root.ce" + i) + ".statu", "copye");
}
if ((maxtarget >= 3) and (maxtarget <= 25)) {
Set(("_root.ce" + i) + ".statu", "copy");
}
Set(("_root.ce" + i) + ".copyn", eval (target).pos);
autofound = 1;
eval (target).instantfx.gotoAndPlay("parallel");
target = "_root.ce" + i;
eval (target).gotoAndPlay(2);
eval (target).instantfx.gotoAndPlay("parallel");
break;
}
i++;
}
} else if (skill == "parallel universe") {
autofound = 0;
}
if (skill == "parallel universe2") {
autofound = 0;
i = 1;
while (i <= 23) {
if (eval (("_root.c" + i) + ".ctrl") == 0) {
Set(("_root.c" + i) + ".ctrl", 1);
Set(("_root.c" + i) + ".skflag", 0);
Set(("_root.c" + i) + ".card", eval (target).card);
if ((maxtarget >= 46) and (maxtarget <= 69)) {
Set(("_root.c" + i) + ".statu", "copye");
}
if ((maxtarget >= 3) and (maxtarget <= 25)) {
Set(("_root.c" + i) + ".statu", "copy");
}
Set(("_root.c" + i) + ".copyn", eval (target).pos);
autofound = 1;
eval (target).instantfx.gotoAndPlay("parallel");
target = "_root.c" + i;
eval (target).gotoAndPlay(2);
eval (target).instantfx.gotoAndPlay("parallel");
break;
}
i++;
}
}
if (skill == "holy light") {
eval (target).instantfx.gotoAndPlay("holy light");
if ((eval (target).costelement == 2) or (eval (target).costelement == 11)) {
eval (target).defnow = eval (target).defnow - 10;
eval (target).dmgfx.val = "- 10";
eval (target).dmgfx.gotoAndPlay(2);
if (eval (target).defnow <= 0) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).gotoAndStop(1);
}
} else if (eval (target).defnow < eval (target).def) {
eval (target).defnow = eval (target).defnow + 10;
eval (target).dmgfx.val = "+ 10";
eval (target).dmgfx.gotoAndPlay(2);
if (eval (target).defnow > eval (target).def) {
eval (target).defnow = eval (target).def;
}
}
}
if (skill == "enchant") {
eval (target).statu = "invulnerable";
eval (target).instantfx.gotoAndPlay("immortal");
}
if (skill == "nymph") {
nymph = (Math.floor(eval (target).card / 100) * 100) + 20;
if (Math.floor(eval (target).card / 100) == 0) {
nymph = (Math.ceil(rand() * 12) * 100) + 20;
}
if (Math.floor(eval (target).card / 100) == 20) {
nymph = (Math.ceil(rand() * 12) * 100) + 2020;
}
if (maxtarget < 46) {
i = 1;
while (i <= 23) {
if (eval (("_root.c" + i) + ".ctrl") == 0) {
Set(("_root.c" + i) + ".ctrl", 1);
Set(("_root.c" + i) + ".skflag", 0);
Set(("_root.c" + i) + ".card", nymph);
target2 = "_root.c" + i;
eval (target2).gotoAndPlay(2);
break;
}
i++;
}
}
if (maxtarget >= 46) {
i = 1;
while (i <= 23) {
if (eval (("_root.ce" + i) + ".ctrl") == 0) {
Set(("_root.ce" + i) + ".ctrl", 1);
Set(("_root.ce" + i) + ".skflag", 0);
Set(("_root.ce" + i) + ".card", nymph);
target2 = "_root.ce" + i;
eval (target2).gotoAndPlay(2);
break;
}
i++;
}
}
}
if (((skill == "steal") and (maxtarget < 46)) and ((((((autofound == 1) and (eval (target).card != 211)) and (eval (target).card != 2211)) and (eval (target).card != 3106)) and (eval (target).card != 1106)) or (level == "pvp"))) {
autofound = 0;
if ((eval (target).ctype == "pillar") or (eval (target).ctype == "shard")) {
i = 1;
while (i <= 19) {
if (eval (("_root.pe" + i) + ".card") == eval (target).card) {
Set(("_root.pe" + i) + ".ctrl", eval (("_root.pe" + i) + ".ctrl") + 1);
autofound = 1;
eval ("_root.pe" + i).gotoAndPlay(2);
skill = "destroy";
break;
}
i++;
}
}
if (autofound == 0) {
i = 1;
while (i <= 19) {
if (eval (("_root.pe" + i) + ".ctrl") == 0) {
autofound = 1;
break;
}
i++;
}
if (eval (target).ctype == "shield") {
_root.shielde = _root.shield;
_root.shieldtypee = _root.shieldtype;
autofound = 1;
i = 4;
}
if (eval (target).ctype == "weapon") {
autofound = 1;
i = 10;
}
if (autofound == 1) {
Set(("_root.pe" + i) + ".ctrl", 1);
Set(("_root.pe" + i) + ".skflag", 0);
Set(("_root.pe" + i) + ".card", eval (target).card);
skill = "destroy";
eval (target).instantfx.gotoAndPlay("steal");
target2 = "_root.pe" + i;
eval (target2).gotoAndPlay(2);
eval (target2).instantfx.gotoAndPlay("steal");
eval (target2).statu = eval (target).statu;
eval (target2).skill = eval (target).skill;
eval (target2).stealinvulnerability = eval (target).invulnerability;
eval (target2).stolen = 1;
eval (target2).maintain = eval (target).maintain;
eval (target2).skillcost = eval (target).skillcost;
eval (target2).skillelement = eval (target).skillelement;
if (statu != "") {
instantfx.gotoAndStop(statu);
}
}
}
} else if (skill == "steal") {
autofound = 0;
}
if ((skill == "destroy") or (skill == "nymph")) {
eval (target).instantfx.gotoAndPlay("die");
if ((eval (target).ctype != "shield") and (eval (target).ctype != "weapon")) {
eval (target).ctrl = eval (target).ctrl - 1;
if (eval (target).ctrl <= 0) {
eval (target).card = 0;
eval (target).gotoAndStop(1);
}
}
if (((eval (target).ctype == "shield") and (maxtarget >= 26)) and (maxtarget <= 45)) {
eval (target).dmgfx.val = "Destroyed";
eval (target).dmgfx.gotoAndPlay(2);
eval (target).ctrl = eval (target).ctrl - 1;
if (eval (target).ctrl <= 0) {
_root.deshield();
}
}
if (((eval (target).ctype == "shield") and (maxtarget >= 70)) and (maxtarget <= 89)) {
eval (target).dmgfx.val = "Destroyed";
eval (target).dmgfx.gotoAndPlay(2);
eval (target).ctrl = eval (target).ctrl - 1;
if (eval (target).ctrl <= 0) {
_root.deshielde();
}
}
if (((eval (target).ctype == "weapon") and (maxtarget >= 26)) and (maxtarget <= 45)) {
eval (target).dmgfx.val = "Destroyed";
eval (target).dmgfx.gotoAndPlay(2);
_root.disarm();
}
if (((eval (target).ctype == "weapon") and (maxtarget >= 70)) and (maxtarget <= 89)) {
eval (target).dmgfx.val = "Destroyed";
eval (target).dmgfx.gotoAndPlay(2);
_root.disarme();
}
if (_root.stealing == 1) {
eval (target).dmgfx.val = "Stolen";
}
}
if (skill == "momentum") {
if (eval (target).skill == "") {
eval (target).skill = "momentum";
}
eval (target).momentum = 1;
eval (target).atknow = eval (target).atknow + 1;
eval (target).defnow = eval (target).defnow + 1;
eval (target).atk = eval (target).atk + 1;
eval (target).def = eval (target).def + 1;
eval (target).dmgfx.val = "+1 / +1";
eval (target).dmgfx.gotoAndPlay(2);
eval (target).instantfx.gotoAndPlay("momentum");
} else if (skill == "momentum") {
autofound = 0;
}
if ((skill == "adrenaline") and ((eval (target).adrenaline != 1) or (_root.lvl == "pvp"))) {
eval (target).adrenaline = 1;
eval (target).dmgfx.val = "Adrenaline";
eval (target).dmgfx.gotoAndPlay(2);
eval (target).instantfx.gotoAndPlay("adrenaline");
} else if (skill == "adrenaline") {
autofound = 0;
}
if (skill == "blessing") {
eval (target).atknow = eval (target).atknow + 3;
eval (target).defnow = eval (target).defnow + 3;
eval (target).atk = eval (target).atk + 3;
eval (target).def = eval (target).def + 3;
eval (target).dmgfx.val = "+3 / +3";
eval (target).dmgfx.gotoAndPlay(2);
eval (target).instantfx.gotoAndPlay("holy light");
}
if (skill == "rage") {
eval (target).atknow = eval (target).atknow + 5;
eval (target).defnow = eval (target).defnow - 5;
eval (target).atk = eval (target).atk + 5;
eval (target).dmgfx.val = "+5 / -5";
eval (target).dmgfx.gotoAndPlay(2);
eval (target).instantfx.gotoAndPlay("fire");
if (eval (target).defnow <= 0) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).freeze = 0;
eval (target).gotoAndStop(1);
}
}
if (skill == "berserk") {
eval (target).atknow = eval (target).atknow + 6;
eval (target).defnow = eval (target).defnow - 6;
eval (target).atk = eval (target).atk + 6;
eval (target).dmgfx.val = "+6 / -6";
eval (target).dmgfx.gotoAndPlay(2);
eval (target).instantfx.gotoAndPlay("fire");
if (eval (target).defnow <= 0) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).freeze = 0;
eval (target).gotoAndStop(1);
}
}
if (skill == "antimatter") {
eval (target).atknow = -eval (target).atknow;
eval (target).atk = -eval (target).atk;
eval (target).instantfx.gotoAndPlay("entropy");
eval (target).dmgfx.val = "Antimatter";
eval (target).dmgfx.gotoAndPlay(2);
}
if (skill == "chaos power") {
ran = Math.floor(_root.rand() * 5) + 1;
ran2 = Math.floor(_root.rand() * 5) + 1;
eval (target).atknow = eval (target).atknow + ran;
eval (target).defnow = eval (target).defnow + ran2;
eval (target).atk = eval (target).atk + ran;
eval (target).def = eval (target).def + ran2;
eval (target).dmgfx.val = ((("+" + ran) + " / ") + "+") + ran2;
eval (target).dmgfx.gotoAndPlay(2);
eval (target).instantfx.gotoAndPlay("holy light");
} else if (skill == "chaos power") {
autofound = 0;
}
if (skill == "heal") {
if (eval (target).defnow < eval (target).def) {
eval (target).defnow = eval (target).defnow + 5;
eval (target).dmgfx.val = "+ 5";
eval (target).dmgfx.gotoAndPlay(2);
if (eval (target).defnow > eval (target).def) {
eval (target).defnow = eval (target).def;
}
}
eval (target).instantfx.gotoAndPlay("holy light");
}
if (skill == "armor") {
eval (target).defnow = eval (target).defnow + 3;
eval (target).def = eval (target).def + 3;
eval (target).instantfx.gotoAndPlay("earth");
eval (target).dmgfx.val = "+0 / +3";
eval (target).dmgfx.gotoAndPlay(2);
} else if (skill == "armor") {
autofound = 0;
}
if (skill == "heavy armor") {
eval (target).defnow = eval (target).defnow + 6;
eval (target).def = eval (target).def + 6;
eval (target).instantfx.gotoAndPlay("earth");
eval (target).dmgfx.val = "+0 / +6";
eval (target).dmgfx.gotoAndPlay(2);
} else if (skill == "heavy armor") {
autofound = 0;
}
if (skill == "petrify") {
eval (target).skflag = 0;
eval (target).delay = 6;
eval (target).instantfx.gotoAndPlay("stoneskin");
eval (target).defnow = eval (target).defnow + 20;
eval (target).def = eval (target).def + 20;
eval (target).dmgfx.val = "+0 / +20";
eval (target).dmgfx.gotoAndPlay(2);
}
if (skill == "guard") {
eval (target).skflag = 0;
eval (target).delay = eval (target).delay + 1;
eval (target).instantfx.gotoAndPlay("stoneskin");
if (eval (target).passive2 != "airborne") {
eval (target).defnow = eval (target).defnow - guarddmg;
if (guarddmg < 0) {
eval (target).def = eval (target).def - guarddmg;
}
}
eval (target).dmgfx.val = "Guard";
eval (target).dmgfx.gotoAndPlay(2);
if (eval (target).defnow <= 0) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).freeze = 0;
eval (target).gotoAndStop(1);
}
}
if ((skill == "reverse time") and ((score[maxtarget] > (_root.rethpe() / 400)) or (level == "pvp"))) {
if (eval (target).passive == "mummy") {
eval (target).card = 1012 + (Math.floor(eval (target).card / 2000) * 2000);
eval (target).gotoAndPlay(2);
} else if (eval (target).passive == "undead") {
rancard = Math.floor(_root.rand() * _root.cindexn);
eval (target).card = _root.cindexx[rancard] + (Math.floor(eval (target).card / 2000) * 2000);
eval (target).gotoAndPlay(2);
} else {
if (maxtarget < 46) {
_root.deckx[_root.deckn] = eval (target).card;
_root.deckn = _root.deckn + 1;
}
if (maxtarget >= 46) {
_root.deckex[_root.decken] = eval (target).card;
_root.decken = _root.decken + 1;
}
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).iexist = 0;
eval (target).gotoAndStop(1);
}
eval (target).instantfx.gotoAndPlay("hatch");
} else if (skill == "reverse time") {
autofound = 0;
}
if ((skill == "tsunami") or (skill == "earthquake")) {
eval (target).ctrl = eval (target).ctrl - 3;
eval (target).instantfx.gotoAndPlay("die");
if (eval (target).ctrl <= 0) {
eval (target).ctrl = 0;
eval (target).card = 0;
eval (target).gotoAndStop(1);
}
}
if (skill == "immortality") {
eval (target).instantfx.gotoAndPlay("immortal");
eval (target).statu = "invulnerable";
eval (target).frozen = 0;
eval (target).immortal = 1;
}
if (skill == "wisdom") {
eval (target).atknow = eval (target).atknow + 4;
eval (target).atk = eval (target).atk + 4;
eval (target).dmgfx.val = "+4 / +0";
eval (target).dmgfx.gotoAndPlay(2);
if (eval (target).immortal == 1) {
eval (target).instantfx.gotoAndPlay("wisdom");
eval (target).immortal = 2;
}
}
if ((skill == "fractal") or (skill == "nightmare")) {
_root.fractalcard = eval (target).card;
}
if (skill == "gravity pull") {
if (maxtarget < 46) {
if (_root.shieldcreature > 0) {
Set(("_root.c" + _root.shieldcreature) + ".icons.gravity._visible", false);
}
eval (target).instantfx.gotoAndPlay("gravity pull");
_root.shieldcreature = eval (target).pos;
}
if ((maxtarget >= 46) and ((_root.shieldcreaturee == 0) or (level == "pvp"))) {
if (_root.shieldcreaturee > 0) {
Set(("_root.ce" + _root.shieldcreaturee) + ".icons.gravity._visible", false);
}
eval (target).instantfx.gotoAndPlay("gravity pull");
_root.shieldcreaturee = eval (target).pos;
} else if (maxtarget >= 46) {
autofound = 0;
}
}
}
if ((((autofound == 1) and (skill != "parallel universe2")) and (skill != "parallel universe")) and (skill != "nymph")) {
eval (target).dmgfx.gotoAndPlay(2);
}
if (_root.rethp() > _root.hpmax) {
_root.adjhp(_root.hpmax);
}
if (_root.rethpe() > _root.hpemax) {
_root.adjhpe(_root.hpemax);
}
return(autofound);
}
function onScoresReceived(args) {
if (args.scores != null) {
trace("Scores received!");
pvprank = Math.floor(Math.random() * 50);
pvpuser = args.scores.weekly.rows[pvprank][1];
if (pvpuser == undefined) {
pvpuser = args.scores.alltime.rows[pvprank][1];
}
trace(pvpuser);
play();
} else if (args.error) {
pvpuser = "none";
trace("Error: " + args.errorCode);
}
}
gamever = 1.321;
verdisp = "ver. " + gamever;
autolink = 0;
alternateserver = 1;
newpsw = "";
newemail = "";
t500building = 0;
t500action = "read";
cardo = 0;
nn = 0;
ncode = 0;
fhc = 4;
fhcv = 0;
fhor = 0;
fo = 1;
nextfg = 0;
nextpet = 0;
customelement = 0;
dotuput = "";
var won;
var deckn;
var deckan;
var deckbn;
var cindexn;
var decken;
var deckpn1;
var lost;
var element;
var electrum;
var deckalln;
var deckpn2;
var deckpn3;
var score;
var highx = new Array();
var t500x = new Array();
i = 0;
while (i < 5) {
t500x[i] = 0;
i++;
}
var _mochiads_game_id = "a918206adbb9b4c6";
enough = 0;
t500enough = 0;
power = 0;
coda = 1 + Math.floor(Math.random() * 100);
codb = 1 + Math.floor(Math.random() * 100);
codc = 1 + Math.floor(Math.random() * 100);
i = 0;
while (i < 9) {
if (Math.random() > 0.5) {
Set("hp" + i, Math.random());
Set("hpe" + i, Math.random());
Set("electrum" + i, Math.random());
Set("poisone" + i, Math.random());
Set("poison" + i, Math.random());
}
i++;
}
Set((("fo" + coda) + codb) + codc, 1);
Set((("won" + coda) + codb) + codc, 0);
Set((("electrum" + coda) + codb) + codc, 0);
Set((("score" + coda) + codb) + codc, 0);
Set((("chances" + coda) + codb) + codc, 0);
Set((("hp" + coda) + codb) + codc, 0);
Set((("hpe" + coda) + codb) + codc, 0);
Set((("poisone" + coda) + codb) + codc, 0);
Set((("poison" + coda) + codb) + codc, 0);
i = 1;
while (i <= 12) {
Set(((("q" + i) + coda) + codb) + codc, 0);
i++;
}
i = 1;
while (i <= 12) {
Set(((("qe" + i) + coda) + codb) + codc, 0);
i++;
}
mochi.as2.MochiScores.setBoardID("973a380998245163");
earthquake = 0;
function sync() {
var syncx = new Array();
syncn = 0;
syncx[syncn] = nnn;
syncn = syncn + 1;
syncx[syncn] = rethp();
syncn = syncn + 1;
i = 1;
while (i <= 12) {
syncx[syncn] = retq(i);
syncn = syncn + 1;
i++;
}
i = 1;
while (i <= 8) {
syncx[syncn] = eval (("h" + i) + ".card");
syncn = syncn + 1;
i++;
}
i = 1;
while (i <= 19) {
syncx[syncn] = eval (("p" + i) + ".card");
syncn = syncn + 1;
syncx[syncn] = eval (("p" + i) + ".ctrl");
syncn = syncn + 1;
i++;
}
i = 1;
while (i <= 23) {
syncx[syncn] = eval (("c" + i) + ".card");
syncn = syncn + 1;
syncx[syncn] = eval (("c" + i) + ".ctrl");
syncn = syncn + 1;
if (eval (("c" + i) + ".atk") >= 0) {
syncx[syncn] = eval (("c" + i) + ".atk");
} else {
syncx[syncn] = 500 - eval (("c" + i) + ".atk");
}
syncn = syncn + 1;
syncx[syncn] = eval (("c" + i) + ".def");
syncn = syncn + 1;
if (eval (("c" + i) + ".atknow") >= 0) {
syncx[syncn] = eval (("c" + i) + ".atknow");
} else {
syncx[syncn] = 500 - eval (("c" + i) + ".atknow");
}
syncn = syncn + 1;
syncx[syncn] = eval (("c" + i) + ".defnow");
syncn = syncn + 1;
i++;
}
var tracex = new Array();
i = 0;
while (i < syncn) {
temp = syncx[i];
if (temp < 10) {
temp = "000" + temp;
} else if (temp < 100) {
temp = "00" + temp;
} else if (temp < 1000) {
temp = "0" + temp;
}
if (temp == undefined) {
temp = "0000";
}
tracex[i] = temp;
i++;
}
syncro = tracex.join("");
ctrltemp = ctrlx.join("");
ctrl = ctrltemp + syncro;
if (role == "master") {
pvp_lv.masterctrl = ctrl;
pvp_lv.statu = "masterdone";
pvp_lv.loadVariables(pvpserver + pvpwritemaster, "POST");
}
if (role == "slave") {
pvp_lv.slavectrl = ctrl;
pvp_lv.statu = "slavedone";
pvp_lv.loadVariables(pvpserver + pvpwriteslave, "POST");
}
}
function permanentskills() {
if ((skill == "hasten") and (((cardshande < 8) and (decken > 5)) or (level == "pvp"))) {
autofound = 1;
eval (targete).instantfx.gotoAndPlay("hasten");
if (decken <= 0) {
gotoAndStop ("win");
} else if (cardshande < 8) {
i = 1;
while (i <= 8) {
if (eval (("he" + i) + ".card") == 0) {
Set(("he" + i) + ".card", deckex[decken - 1]);
eval ("he" + i).gotoAndPlay(2);
deckex[decken - 1] = 0;
decken = decken - 1;
cardshande = cardshande + 1;
break;
}
i++;
}
}
}
if ((skill == "duality") and ((((cardshande < 8) and (decken > 5)) and (deckn > 0)) or (level == "pvp"))) {
autofound = 1;
eval (targete).instantfx.gotoAndPlay("duality");
if ((cardshande < 8) and (deckn > 0)) {
i = 1;
while (i <= 8) {
if (eval (("he" + i) + ".card") == 0) {
Set(("he" + i) + ".card", deckx[deckn - 1]);
eval ("he" + i).gotoAndPlay(2);
cardshande = cardshande + 1;
break;
}
i++;
}
}
}
if (((((((skill == "destroy") or (skill == "steal")) or (skill == "lobotomize")) or (skill == "reverse time")) or (skill == "sniper")) or (skill == "petrify")) or (skill == "catapult")) {
autofound = _root.autotarget(skill);
if (autofound == 1) {
eval (targete).instantfx.gotoAndPlay("generic");
}
}
if (skill == "tsunami") {
autofound = _root.autotarget(skill);
if (autofound == 1) {
eval (targete).instantfx.gotoAndPlay("water");
}
}
if (skill == "ignite") {
_root.forcedecloak();
i = 1;
while (i <= 23) {
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) {
target = "_root.ce" + i;
eval (target).defnow = eval (target).defnow - 1;
eval (target).dmgfx.val = "- 1";
eval (target).dmgfx.gotoAndPlay(2);
if (eval (target).defnow <= 0) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).gotoAndStop(1);
}
}
if ((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) {
target = "_root.c" + i;
eval (target).defnow = eval (target).defnow - 1;
eval (target).dmgfx.val = "- 1";
eval (target).dmgfx.gotoAndPlay(2);
if (eval (target).defnow <= 0) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).gotoAndStop(1);
}
}
i++;
}
if (_root.shieldtype == "reflect") {
_root.p4.instantfx.gotoAndPlay("reflect");
_root.p4.dmgfx.val = "reflect";
_root.p4.dmgfx.gotoAndPlay(2);
_root.hpeffecte.val = "- 20";
_root.hpeffecte.gotoAndPlay(2);
_root.addhpe(-20);
_root.efx.gotoAndPlay("ignite");
} else {
_root.fx.gotoAndPlay("ignite");
_root.hpeffect.val = "- 20";
_root.hpeffect.gotoAndPlay(2);
_root.addhp(-20);
}
eval (targete).ctrl = 0;
eval (targete).card = 0;
eval (targete).gotoAndStop(1);
}
if (skill == "patience") {
eval (targete).instantfx.gotoAndPlay("die");
eval (targete).ctrl = 0;
eval (targete).card = 0;
eval (targete).gotoAndStop(1);
_root.patient = 0;
}
if (_root.rethp() < 0) {
_root.adjhp(0);
}
if (_root.rethpe() < 0) {
_root.adjhpe(0);
}
if (autofound == 1) {
Set(("pe" + i) + ".skflag", 0);
_root.qadjuste(skillelement, -skillcost);
}
}
function creatureskills() {
autofound = 1;
if (eval (targete).card > 2000) {
elite = 2000;
} else {
elite = 0;
}
if (skill == "poison") {
eval (targete).instantfx.gotoAndPlay("poison");
_root.addpo(1);
_root.fx.gotoAndPlay("poison");
}
if (skill == "burrow") {
eval (targete).instantfx.gotoAndPlay("burrow");
eval (targete).statu = "invulnerable";
eval (targete).skill = "unburrow";
eval (targete).skillcost = 0;
eval (targete).burrow = 1;
if ((eval (targete).costelement == 2) or (eval (targete).costelement == 11)) {
eval (targete).atknow = Math.floor((eval (targete).atknow - _root.nightfall) / 2) + _root.nightfall;
} else {
eval (targete).atknow = Math.floor(eval (targete).atknow / 2);
}
} else if ((skill == "unburrow") and ((_root.rethp() < (_root.monitor.dmge() + 10)) or (_root.level == "pvp"))) {
eval (targete).burrow = 0;
eval (targete).instantfx.gotoAndPlay("burrow");
eval (targete).statu = "";
eval (targete).skill = "burrow";
eval (targete).skillcost = 1;
if ((eval (targete).costelement == 2) or (eval (targete).costelement == 11)) {
eval (targete).atknow = ((eval (targete).atknow - _root.nightfall) * 2) + _root.nightfall;
} else {
eval (targete).atknow = eval (targete).atknow * 2;
}
}
if (skill == "infect") {
autofound = _root.autotarget(skill);
if (autofound == 1) {
eval (targete).instantfx.gotoAndPlay("poisonfx");
eval (targete).card = 0;
eval (targete).ctrl = 0;
eval (targete).gotoAndStop(1);
}
}
if (skill == "dead/alive") {
_root.deathtrigger();
eval (targete).instantfx.gotoAndPlay("fakedeath");
}
if (skill == "infection") {
autofound = _root.autotarget(skill);
if (autofound == 1) {
eval (targete).instantfx.gotoAndPlay("poisonfx");
}
}
if (skill == "web") {
autofound = _root.autotarget(skill);
if (autofound == 1) {
eval (targete).instantfx.gotoAndPlay("web");
}
}
if (skill == "paradox") {
autofound = _root.autotarget(skill);
if (autofound == 1) {
eval (targete).instantfx.gotoAndPlay("kill");
}
}
if ((skill == "freeze") or (skill == "congeal")) {
autofound = _root.autotarget(skill);
if (autofound == 1) {
eval (targete).instantfx.gotoAndPlay("water");
}
}
if (skill == "devour") {
smaller = eval (targete).defnow;
autofound = _root.autotarget(skill);
if (autofound == 1) {
eval (targete).instantfx.gotoAndPlay("kill");
eval (targete).atknow = eval (targete).atknow + 1;
eval (targete).defnow = eval (targete).defnow + 1;
eval (targete).atk = eval (targete).atk + 1;
eval (targete).def = eval (targete).def + 1;
eval (targete).dmgfx.val = "+1 / +1";
eval (targete).dmgfx.gotoAndPlay(2);
if (eval (target).passive == "poisonous") {
eval (targete).instantfx.gotoAndPlay("poisonfx");
eval (targete).poison = eval (targete).poison + 1;
}
}
}
if (skill == "endow") {
autofound = _root.autotarget(skill);
if (autofound == 1) {
eval (targete).instantfx.gotoAndPlay("generic");
eval (target).instantfx.gotoAndPlay("generic");
eval (targete).def = eval (targete).def + 2;
eval (targete).atk = eval (targete).atk + eval (target).atk;
eval (targete).defnow = eval (targete).defnow + 2;
eval (targete).atknow = eval (targete).atknow + eval (target).atk;
eval (targete).skill = eval (target).skill;
eval (targete).skillcost = eval (target).skillcost;
eval (targete).skillelement = eval (target).skillelement;
eval (targete).passive = eval (target).passive;
eval (targete).dmgfx.val = ("+" + eval (target).atk) + " / +2";
eval (targete).dmgfx.gotoAndPlay(2);
eval (targete).quantum.gotoAndStop(1);
if (eval (target).momentum == 1) {
eval (targete).instantfx.gotoAndPlay("momentum");
eval (targete).momentum = 1;
}
if (eval (target).skillcost > 0) {
eval (targete).quantum.gotoAndStop(eval (target).skillelement + 1);
}
}
}
if (skill == "gravity pull") {
if (_root.shieldcreaturee > 0) {
Set(("_root.ce" + _root.shieldcreaturee) + ".icons.gravity._visible", false);
}
eval (targete).instantfx.gotoAndPlay("gravity pull");
_root.shieldcreaturee = eval (targete).pos;
}
if (skill == "photosynthesis") {
eval (targete).instantfx.gotoAndPlay("Photo");
_root.qadjuste(5, 2);
if (eval (targete).skillcost > 0) {
eval (targete).skflag = 1;
}
}
if (skill == "deja vu") {
found = 0;
eval (targete).instantfx.gotoAndPlay("dejavu");
i = 1;
while (i <= 23) {
if (eval (("_root.ce" + i) + ".ctrl") == 0) {
eval (targete).skill = "";
eval (targete).skillcost = "";
Set(("_root.ce" + i) + ".ctrl", 1);
Set(("_root.ce" + i) + ".skflag", 0);
Set(("_root.ce" + i) + ".card", eval (targete).card);
Set(("_root.ce" + i) + ".statu", "copye");
Set(("_root.ce" + i) + ".copyn", eval (targete).pos);
found = 1;
target2 = "_root.ce" + i;
eval (target2).gotoAndPlay(2);
eval (targete).quantum.gotoAndStop(1);
break;
}
i++;
}
}
if (skill == "hatch") {
eval (targete).instantfx.gotoAndPlay("hatch");
ran = Math.floor(rand() * _root.cindexn);
eval (targete).card = _root.cindexx[ran] + elite;
eval (targete).gotoAndPlay(2);
if (eval (targete).skflag > 0) {
i = 1;
while (i <= 23) {
if (eval (("_root.ce" + i) + ".ctrl") == 0) {
eval (targete).skill = "";
eval (targete).skillcost = "";
Set(("_root.ce" + i) + ".ctrl", 1);
Set(("_root.ce" + i) + ".skflag", 0);
Set(("_root.ce" + i) + ".card", eval (targete).card);
found = 1;
target2 = "_root.ce" + i;
eval (target2).gotoAndPlay(2);
break;
}
i++;
}
}
}
if (skill == "dive") {
eval (targete).instantfx.gotoAndPlay("dive");
eval (targete).dive = 1;
eval (targete).atknow = eval (targete).atknow * 2;
}
if (skill == "growth") {
eval (targete).instantfx.gotoAndPlay("life");
eval (targete).atknow = eval (targete).atknow + 2;
eval (targete).defnow = eval (targete).defnow + 2;
eval (targete).atk = eval (targete).atk + 2;
eval (targete).def = eval (targete).def + 2;
eval (targete).dmgfx.val = "+2 / +2";
eval (targete).dmgfx.gotoAndPlay(2);
}
if (skill == "ablaze") {
eval (targete).instantfx.gotoAndPlay("fire");
eval (targete).atknow = eval (targete).atknow + 2;
eval (targete).atk = eval (targete).atk + 2;
eval (targete).dmgfx.val = "+2 / +0";
eval (targete).dmgfx.gotoAndPlay(2);
}
if (skill == "steam") {
eval (targete).instantfx.gotoAndPlay("fire");
eval (targete).atknow = eval (targete).atknow + 5;
eval (targete).dmgfx.val = "+5 / +0";
eval (targete).dmgfx.gotoAndPlay(2);
}
if (skill == "lycanthropy") {
eval (targete).instantfx.gotoAndPlay("darkness");
eval (targete).atknow = eval (targete).atknow + 5;
eval (targete).defnow = eval (targete).defnow + 5;
eval (targete).atk = eval (targete).atk + 5;
eval (targete).def = eval (targete).def + 5;
eval (targete).skill = "";
eval (targete).skillcost = "";
eval (targete).quantum.gotoAndStop(1);
}
if (skill == "stone form") {
eval (targete).instantfx.gotoAndPlay("stoneskin");
eval (targete).defnow = eval (targete).defnow + 20;
eval (targete).def = eval (targete).def + 20;
eval (targete).skill = "";
eval (targete).skillcost = "";
eval (targete).quantum.gotoAndStop(1);
}
if (((skill == "queen") or (skill == "scarab")) or (skill == "mitosis")) {
if (skill == "queen") {
spawn = 908;
eval (targete).instantfx.gotoAndPlay("life");
}
if (skill == "scarab") {
spawn = 1010;
eval (targete).instantfx.gotoAndPlay("life");
}
if (skill == "mitosis") {
spawn = eval (targete).card - elite;
eval (targete).instantfx.gotoAndPlay("mitosis");
}
i = 1;
while (i <= 23) {
if (eval (("_root.ce" + i) + ".ctrl") == 0) {
Set(("_root.ce" + i) + ".ctrl", 1);
Set(("_root.ce" + i) + ".skflag", 0);
Set(("_root.ce" + i) + ".card", spawn + elite);
target = "_root.ce" + i;
eval (target).gotoAndPlay(2);
break;
}
i++;
}
}
if ((skill == "tsunami") or (skill == "nymph")) {
autofound = _root.autotarget(skill);
if (autofound == 1) {
eval (targete).instantfx.gotoAndPlay("water");
}
}
if (skill == "evolve") {
eval (targete).card = 409 + elite;
eval (targete).instantfx.gotoAndPlay("hatch");
eval (targete).invulnerable = 0;
eval (targete).burrow = 0;
eval (targete).statu = "";
eval (targete).gotoAndPlay(2);
}
if (skill == "rebirth") {
eval (targete).card = 612 + elite;
eval (targete).instantfx.gotoAndPlay("hatch");
eval (targete).invulnerable = 0;
eval (targete).burrow = 0;
eval (targete).statu = "";
eval (targete).gotoAndPlay(2);
}
if (skill == "black hole") {
found = 1;
if (_root.sanctuary == 0) {
tempheal = 0;
_root.fx.gotoAndPlay("blacknova");
eval (targete).instantfx.gotoAndPlay("generic");
i = 1;
while (i <= 12) {
if (_root.retq(i) >= 3) {
_root.qadjust(i, -3);
tempheal = tempheal + 3;
} else if (_root.retq(i) > 0) {
tempheal = tempheal + _root.retq(i);
_root.qadjust(i, -_root.retq(i));
}
i++;
}
_root.addhpe(tempheal);
_root.efx.gotoAndPlay("holy light");
_root.hpeffecte.val = "+ " + tempheal;
_root.hpeffecte.gotoAndPlay(2);
} else {
_root.hpeffect.val = "Sanctuary";
_root.hpeffect.gotoAndPlay(2);
}
}
if (skill == "luciferin") {
_root.addhpe(10);
_root.efx.gotoAndPlay("holy light");
_root.hpeffecte.val = "+ 10";
_root.hpeffecte.gotoAndPlay(2);
i = 1;
while (i <= 23) {
if (((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) and (eval (("_root.ce" + i) + ".skill") == "")) {
target = "_root.ce" + i;
eval (target).instantfx.gotoAndPlay("lightg");
eval (target).skill = "light";
}
i++;
}
}
if (skill == "precognition") {
eval (targete).instantfx.gotoAndPlay("hasten");
if (decken <= 0) {
gotoAndStop ("win");
} else if (cardshande < 8) {
i = 1;
while (i <= 8) {
if (eval (("he" + i) + ".card") == 0) {
Set(("he" + i) + ".card", deckex[decken - 1]);
eval ("he" + i).gotoAndPlay(2);
deckex[decken - 1] = 0;
decken = decken - 1;
cardshande = cardshande + 1;
break;
}
i++;
}
}
}
if (skill == "unstable gas") {
i = 1;
while (i <= 19) {
if (eval (("_root.pe" + i) + ".ctrl") == 0) {
Set(("_root.pe" + i) + ".ctrl", 1);
Set(("_root.pe" + i) + ".card", 910);
target = "_root.pe" + i;
eval (target).gotoAndPlay(2);
break;
}
i++;
}
}
if (skill == "plague") {
_root.forcedecloak();
i = 1;
while (i <= 23) {
if ((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) {
target = "_root.c" + i;
eval (target).instantfx.gotoAndPlay("plague");
eval (target).poison = eval (target).poison + 1;
eval (target).statu = "poison";
}
i++;
}
eval (targete).instantfx.gotoAndPlay("poison");
eval (targete).card = 0;
eval (targete).ctrl = 0;
eval (targete).gotoAndStop(1);
}
if ((((((((((((((((skill == "heal") or (skill == "lobotomize")) or (skill == "destroy")) or (skill == "steal")) or (skill == "reverse time")) or (skill == "immortality")) or (skill == "sniper")) or (skill == "mutation")) or (skill == "improve")) or (skill == "antimatter")) or (skill == "aflatoxin")) or (skill == "petrify")) or (skill == "adrenaline")) or (skill == "rage")) or (skill == "berserk")) or (skill == "liquid shadow")) {
autofound = _root.autotarget(skill);
if (autofound == 1) {
eval (targete).instantfx.gotoAndPlay("generic");
}
}
if (skill == "guard") {
guarddmg = eval (targete).atknow;
autofound = _root.autotarget(skill);
if (autofound == 1) {
eval (targete).instantfx.gotoAndPlay("generic");
eval (targete).delay = eval (targete).delay + 1;
}
}
if (skill == "divineshield") {
eval (targete).instantfx.gotoAndPlay("immortal");
eval (targete).statu = "invulnerable";
eval (targete).icons.immortal._alpha = 100;
eval (targete).immortal = 1;
eval (targete).frozen = 0;
eval (targete).divineshield = 2;
}
if (skill == "accretion") {
autofound = _root.autotarget(skill);
if (autofound == 1) {
eval (targete).defnow = eval (targete).defnow + 15;
eval (targete).def = eval (targete).def + 15;
}
}
if ((skill == "accretion") and (eval (targete).defnow > 45)) {
elite = Math.floor(eval (targete).card / 2000) * 2000;
eval (targete).card = 0;
eval (targete).ctrl = 0;
eval (targete).instantfx.gotoAndPlay("die");
eval (targete).gotoAndStop(1);
if (_root.cardshande < 8) {
i = 1;
while (i <= 8) {
if (eval (("_root.he" + i) + ".card") == 0) {
Set(("_root.he" + i) + ".card", 311 + elite);
eval ("_root.he" + i).gotoAndPlay(2);
_root.cardshande = _root.cardshande + 1;
break;
}
i++;
}
}
}
if (_root.rethp() > _root.hpmax) {
_root.adjhp(_root.hpmax);
}
if (_root.rethpe() > _root.hpemax) {
_root.adjhpe(_root.hpemax);
}
if (autofound >= 1) {
Set(("ce" + i) + ".skflag", 0);
if (eval (targete).readiness > 0) {
Set(("ce" + i) + ".skflag", 1);
Set(("ce" + i) + ".readiness", -1);
}
}
if ((autofound >= 1) or (level == "pvp")) {
_root.qadjuste(skillelement, -skillcost);
}
if (autofound == 2) {
eval (targete).dmgfx.val = "Miss";
eval (targete).dmgfx.gotoAndPlay(2);
}
}
function voodoo(vcreature) {
if (eval ("_root." + vcreature).defvoodoo < eval ("_root." + vcreature).defnow) {
Set(("_root." + vcreature) + ".defvoodoo", eval ("_root." + vcreature).defnow);
}
if ((eval ("_root." + vcreature).defvoodoo > eval ("_root." + vcreature).defnow) and (eval ("_root." + vcreature).defnow > 0)) {
diff = eval ("_root." + vcreature).defvoodoo - eval ("_root." + vcreature).defnow;
Set(("_root." + vcreature) + ".defvoodoo", eval ("_root." + vcreature).defnow);
_root.soundfx.gotoAndPlay("voodoo");
if (eval ("_root." + vcreature).pcreature == 1) {
_root.addhpe(-diff);
_root.hpeffecte.val = "- " + diff;
_root.hpeffecte.gotoAndPlay(2);
}
if (eval ("_root." + vcreature).pcreature == 0) {
_root.addhp(-diff);
_root.hpeffect.val = "- " + diff;
_root.hpeffect.gotoAndPlay(2);
}
}
if (eval ("_root." + vcreature).poisonvoodoo < eval ("_root." + vcreature).poison) {
diff = eval ("_root." + vcreature).poison - eval ("_root." + vcreature).poisonvoodoo;
if (eval ("_root." + vcreature).pcreature == 1) {
_root.addpoe(diff);
_root.efx.gotoAndPlay("poison");
}
if (eval ("_root." + vcreature).pcreature == 0) {
_root.addpo(diff);
_root.fx.gotoAndPlay("poison");
}
}
if (eval ("_root." + vcreature).frozenvoodoo < eval ("_root." + vcreature).frozen) {
diff = eval ("_root." + vcreature).frozen;
if ((eval ("_root." + vcreature).pcreature == 1) and (_root.pe10.card != 26)) {
_root.pe10.instantfx.gotoAndPlay("freeze");
_root.pe10.skflag = 0;
_root.pe10.frozen = diff;
}
if ((eval ("_root." + vcreature).pcreature == 0) and (_root.p10.card != 26)) {
_root.p10.instantfx.gotoAndPlay("freeze");
_root.p10.skflag = 0;
_root.p10.frozen = diff;
}
}
if (eval ("_root." + vcreature).delayvoodoo < eval ("_root." + vcreature).delay) {
diff = eval ("_root." + vcreature).delay;
if ((eval ("_root." + vcreature).pcreature == 1) and (_root.pe10.card != 26)) {
_root.pe10.instantfx.gotoAndPlay("delay");
_root.pe10.skflag = 0;
_root.pe10.delay = diff;
}
if ((eval ("_root." + vcreature).pcreature == 0) and (_root.p10.card != 26)) {
_root.p10.instantfx.gotoAndPlay("delay");
_root.p10.skflag = 0;
_root.p10.delay = diff;
}
}
Set(("_root." + vcreature) + ".delayvoodoo", eval ("_root." + vcreature).delay);
Set(("_root." + vcreature) + ".frozenvoodoo", eval ("_root." + vcreature).frozen);
Set(("_root." + vcreature) + ".poisonvoodoo", eval ("_root." + vcreature).poison);
}
function deathtrigger(prevcard) {
i = 1;
while (i <= 23) {
if ((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".skill") == "scavenger")) {
Set(("_root.c" + i) + ".atk", eval (("_root.c" + i) + ".atk") + 1);
Set(("_root.c" + i) + ".def", eval (("_root.c" + i) + ".def") + 1);
Set(("_root.c" + i) + ".atknow", eval (("_root.c" + i) + ".atknow") + 1);
Set(("_root.c" + i) + ".defnow", eval (("_root.c" + i) + ".defnow") + 1);
eval ("_root.c" + i).instantfx.gotoAndPlay("Poison");
}
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".skill") == "scavenger")) {
Set(("_root.ce" + i) + ".atk", eval (("_root.ce" + i) + ".atk") + 1);
Set(("_root.ce" + i) + ".def", eval (("_root.ce" + i) + ".def") + 1);
Set(("_root.ce" + i) + ".atknow", eval (("_root.ce" + i) + ".atknow") + 1);
Set(("_root.ce" + i) + ".defnow", eval (("_root.ce" + i) + ".defnow") + 1);
eval ("_root.ce" + i).instantfx.gotoAndPlay("Poison");
}
i++;
}
if (_root.pe4.skill == "bones") {
_root.pe4.ctrl = _root.pe4.ctrl + 2;
_root.pe4.n = _root.pe4.ctrl + " X";
}
if (_root.p4.skill == "bones") {
_root.p4.ctrl = _root.p4.ctrl + 2;
_root.p4.n = _root.p4.ctrl + " X";
}
souls = 0;
soulse = 0;
i = 1;
while (i <= 19) {
if ((((eval (("_root.p" + i) + ".ctrl") > 0) and (eval (("_root.p" + i) + ".skill") == "boneyard")) and (prevcard != 206)) and (prevcard != 2206)) {
if (eval (("_root.p" + i) + ".card") > 2000) {
elite = 2000;
} else {
elite = 0;
}
j = 1;
while (j <= 23) {
if (((eval (("_root.c" + j) + ".ctrl") == 0) and (eval (("_root.c" + j) + ".def") == 0)) and (eval (("_root.c" + j) + ".iexist") != 1)) {
Set(("_root.c" + j) + ".ctrl", 1);
Set(("_root.c" + j) + ".skflag", 0);
Set(("_root.c" + j) + ".card", 206 + elite);
target = "_root.c" + j;
eval (target).gotoAndPlay(2);
break;
}
j++;
}
eval ("_root.c" + j).instantfx.gotoAndPlay("Poison");
}
if ((((eval (("_root.pe" + i) + ".ctrl") > 0) and (eval (("_root.pe" + i) + ".skill") == "boneyard")) and (prevcard != 206)) and (prevcard != 2206)) {
if (eval (("_root.pe" + i) + ".card") > 2000) {
elite = 2000;
} else {
elite = 0;
}
j = 1;
while (j <= 23) {
if (((eval (("_root.ce" + j) + ".ctrl") == 0) and (eval (("_root.ce" + j) + ".def") == 0)) and (eval (("_root.ce" + j) + ".iexist") != 1)) {
Set(("_root.ce" + j) + ".ctrl", 1);
Set(("_root.ce" + j) + ".skflag", 0);
Set(("_root.ce" + j) + ".card", 206 + elite);
target = "_root.ce" + j;
eval (target).gotoAndPlay(2);
break;
}
j++;
}
eval ("_root.ce" + j).instantfx.gotoAndPlay("Poison");
}
if ((eval (("_root.p" + i) + ".ctrl") > 0) and (eval (("_root.p" + i) + ".skill") == "soul catch")) {
if (eval (("_root.p" + i) + ".card") > 2000) {
souls = souls + 3;
} else {
souls = souls + 2;
}
}
if ((eval (("_root.pe" + i) + ".ctrl") > 0) and (eval (("_root.pe" + i) + ".skill") == "soul catch")) {
if (eval (("_root.pe" + i) + ".card") > 2000) {
soulse = soulse + 3;
} else {
soulse = soulse + 2;
}
}
i++;
}
if (souls > 0) {
_root.qadjust(2, souls);
eval ("_root.p" + i).qup.gotoAndStop(3);
eval ("_root.p" + i).qup2.gotoAndStop(3);
}
if (soulse > 0) {
_root.qadjuste(2, soulse);
eval ("_root.pe" + i).qup.gotoAndStop(3);
eval ("_root.pe" + i).qup2.gotoAndStop(3);
}
}
function pseudodeath() {
pdc = 0;
i = 1;
while (i <= 23) {
if ((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".skill") == "scavenger")) {
pdc--;
}
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".skill") == "scavenger")) {
pdc++;
}
i++;
}
if (_root.pe4.skill == "bones") {
pdc++;
}
if (_root.p4.skill == "bones") {
pdc--;
}
i = 1;
while (i <= 19) {
if ((eval (("_root.p" + i) + ".ctrl") > 0) and (eval (("_root.p" + i) + ".skill") == "boneyard")) {
pdc--;
}
if ((eval (("_root.pe" + i) + ".ctrl") > 0) and (eval (("_root.pe" + i) + ".skill") == "boneyard")) {
pdc++;
}
if ((eval (("_root.p" + i) + ".ctrl") > 0) and (eval (("_root.p" + i) + ".skill") == "soul catch")) {
pdc--;
}
if ((eval (("_root.pe" + i) + ".ctrl") > 0) and (eval (("_root.pe" + i) + ".skill") == "soul catch")) {
pdc++;
}
i++;
}
return(pdc);
}
function forcedecloake() {
_root.cloake = 0;
_root.bkglines.gotoAndStop(1);
i = 1;
while (i <= 19) {
if (eval (("_root.pe" + i) + ".ctrl") > 0) {
target = "_root.pe" + i;
eval (target)._visible = true;
}
i++;
}
i = 1;
while (i <= 23) {
if (eval (("_root.ce" + i) + ".ctrl") > 0) {
target = "_root.ce" + i;
eval (target)._visible = true;
}
i++;
}
i = 1;
while (i <= 19) {
if ((eval (("_root.pe" + i) + ".ctrl") > 0) and (eval (("_root.pe" + i) + ".skill") == "cloak")) {
target = "_root.pe" + i;
eval (target).instantfx.gotoAndPlay("die");
eval (target).ctrl = 0;
eval (target).gotoAndStop(1);
}
i++;
}
}
function forcedecloak() {
_root.cloak = 0;
i = 1;
while (i <= 19) {
if ((eval (("_root.p" + i) + ".ctrl") > 0) and (eval (("_root.p" + i) + ".skill") == "cloak")) {
target = "_root.p" + i;
eval (target).instantfx.gotoAndPlay("die");
eval (target).ctrl = 0;
eval (target).gotoAndStop(1);
}
i++;
}
}
function decloak() {
if (_root.cloak > 0) {
_root.cloak = 0;
i = 1;
while (i <= 19) {
if ((eval (("_root.p" + i) + ".ctrl") > 0) and (eval (("_root.p" + i) + ".skill") == "cloak")) {
_root.cloak = 1;
}
i++;
}
}
if (_root.cloake > 0) {
_root.cloake = 0;
i = 1;
while (i <= 19) {
if ((eval (("_root.pe" + i) + ".ctrl") > 0) and (eval (("_root.pe" + i) + ".skill") == "cloak")) {
_root.cloake = 1;
}
i++;
}
if (_root.cloake == 0) {
i = 1;
while (i <= 19) {
if (eval (("_root.pe" + i) + ".ctrl") > 0) {
target = "_root.pe" + i;
eval (target)._visible = true;
}
i++;
}
i = 1;
while (i <= 23) {
if (eval (("_root.ce" + i) + ".ctrl") > 0) {
target = "_root.ce" + i;
eval (target)._visible = true;
}
i++;
}
_root.bkglines.gotoAndStop(1);
}
}
}
function hpcorrect() {
if (_root.rethpe() < 0) {
_root.adjhpe(0);
}
if (_root.rethp() < 0) {
_root.adjhp(0);
}
if (_root.rethp() > _root.hpmax) {
_root.adjhp(_root.hpmax);
}
if (_root.rethpe() > _root.hpemax) {
_root.adjhpe(_root.hpemax);
}
}
function mylevel() {
scorelimit = 0;
i = 0;
while (_root.score >= scorelimit) {
scorelimit = Math.round((Math.pow(i, 2) - 1) + Math.pow(1.1538278, i)) * 10;
i++;
}
currentlevel = Math.max(0, i - 2);
return(currentlevel);
}
function patience() {
i = 1;
while (i <= 23) {
if ((((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".costelement") == 7)) and (i > 5)) and (_root.flood == 1)) {
target = "_root.c" + i;
if (eval (("_root.c" + i) + ".delay") == 0) {
eval (target).skflag = 0;
eval (target).delay = 1;
}
eval (target).instantfx.gotoAndPlay("delay");
eval (target).defnow = eval (target).defnow + 5;
eval (target).def = eval (target).def + 5;
eval (target).atknow = eval (target).atknow + 5;
eval (target).atk = eval (target).atk + 5;
eval (target).dmgfx.val = "+5 / +5";
eval (target).dmgfx.gotoAndPlay(2);
} else if (eval (("_root.c" + i) + ".ctrl") > 0) {
target = "_root.c" + i;
if (eval (("_root.c" + i) + ".delay") == 0) {
eval (target).skflag = 0;
eval (target).delay = 1;
}
eval (target).instantfx.gotoAndPlay("delay");
eval (target).defnow = eval (target).defnow + 2;
eval (target).def = eval (target).def + 2;
eval (target).atknow = eval (target).atknow + 2;
eval (target).atk = eval (target).atk + 2;
eval (target).dmgfx.val = "+2 / +2";
eval (target).dmgfx.gotoAndPlay(2);
}
i++;
}
}
function patiencee() {
i = 1;
while (i <= 23) {
if ((((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".costelement") == 7)) and (i > 5)) and (_root.flood == 1)) {
target = "_root.ce" + i;
if (eval (("_root.ce" + i) + ".delay") == 0) {
eval (target).skflag = 0;
eval (target).delay = 1;
}
eval (target).instantfx.gotoAndPlay("delay");
eval (target).defnow = eval (target).defnow + 5;
eval (target).def = eval (target).def + 5;
eval (target).atknow = eval (target).atknow + 5;
eval (target).atk = eval (target).atk + 5;
eval (target).dmgfx.val = "+5 / +5";
eval (target).dmgfx.gotoAndPlay(2);
} else if (eval (("_root.ce" + i) + ".ctrl") > 0) {
target = "_root.ce" + i;
if (eval (("_root.ce" + i) + ".delay") == 0) {
eval (target).skflag = 0;
eval (target).delay = 1;
}
eval (target).instantfx.gotoAndPlay("delay");
eval (target).defnow = eval (target).defnow + 2;
eval (target).def = eval (target).def + 2;
eval (target).atknow = eval (target).atknow + 2;
eval (target).atk = eval (target).atk + 2;
eval (target).dmgfx.val = "+2 / +2";
eval (target).dmgfx.gotoAndPlay(2);
}
i++;
}
}
function reshard() {
deckalls = "";
i = 0;
while (i < deckalln) {
temp = deckall.slice(4 * i, 4 * (i + 1));
if (temp == "0041") {
temp = "0130";
}
if (temp == "0037") {
temp = "0230";
}
if (temp == "0042") {
temp = "0330";
}
if (temp == "0044") {
temp = "0430";
}
if (temp == "0031") {
temp = "0530";
}
if (temp == "0043") {
temp = "0630";
}
if (temp == "0039") {
temp = "0730";
}
if (temp == "0030") {
temp = "0830";
}
if (temp == "0046") {
temp = "0930";
}
if (temp == "0034") {
temp = "1030";
}
if (temp == "0038") {
temp = "1130";
}
if (temp == "0045") {
temp = "1230";
}
if (temp == "2041") {
temp = "2130";
}
if (temp == "2037") {
temp = "2230";
}
if (temp == "2042") {
temp = "2330";
}
if (temp == "2044") {
temp = "2430";
}
if (temp == "2031") {
temp = "2530";
}
if (temp == "2043") {
temp = "2630";
}
if (temp == "2039") {
temp = "2730";
}
if (temp == "2030") {
temp = "2830";
}
if (temp == "2046") {
temp = "2930";
}
if (temp == "2034") {
temp = "3030";
}
if (temp == "2038") {
temp = "3130";
}
if (temp == "2045") {
temp = "3230";
}
deckalls = deckalls + temp;
i++;
}
deckall = deckalls;
deckpn1s = "";
i = 0;
while (i < deckpn1) {
temp = deckp1.slice(4 * i, 4 * (i + 1));
if (temp == "0041") {
temp = "0130";
}
if (temp == "0037") {
temp = "0230";
}
if (temp == "0042") {
temp = "0330";
}
if (temp == "0044") {
temp = "0430";
}
if (temp == "0031") {
temp = "0530";
}
if (temp == "0043") {
temp = "0630";
}
if (temp == "0039") {
temp = "0730";
}
if (temp == "0030") {
temp = "0830";
}
if (temp == "0046") {
temp = "0930";
}
if (temp == "0034") {
temp = "1030";
}
if (temp == "0038") {
temp = "1130";
}
if (temp == "0045") {
temp = "1230";
}
if (temp == "2041") {
temp = "2130";
}
if (temp == "2037") {
temp = "2230";
}
if (temp == "2042") {
temp = "2330";
}
if (temp == "2044") {
temp = "2430";
}
if (temp == "2031") {
temp = "2530";
}
if (temp == "2043") {
temp = "2630";
}
if (temp == "2039") {
temp = "2730";
}
if (temp == "2030") {
temp = "2830";
}
if (temp == "2046") {
temp = "2930";
}
if (temp == "2034") {
temp = "3030";
}
if (temp == "2038") {
temp = "3130";
}
if (temp == "2045") {
temp = "3230";
}
deckpn1s = deckpn1s + temp;
i++;
}
deckp1 = deckpn1s;
}
Frame 3
loadVariablesNum ("http://www.elementsthegame.com/decks7.txt", 0);
ctrlload = 0;
n = 0;
lowq = 0;
saved = SharedObject.getLocal("elementstg");
volum = _root.saved.data.volum;
muzic = _root.saved.data.muzic;
user = _root.saved.data.user;
qualit = _root.saved.data.qualit;
needspeed = _root.saved.data.needspeed;
if (user == undefined) {
user = "";
}
if (volum == undefined) {
volum = 75;
}
if (muzic == undefined) {
muzic = 1;
}
if (needspeed == undefined) {
needspeed = 0;
}
if (qualit == undefined) {
qualit = "HIGH";
}
if (qualit == "LOW") {
lowq = 1;
}
_quality = qualit;
_root.myGlobalSound.setVolume(volum);
msg = "Loading";
if ((Number(_framesloaded) >= Number(_totalframes)) and (ctrlload != 0)) {
if (gamever >= ver) {
if (kong == 1) {
gotoAndStop ("startkong");
} else {
gotoAndStop ("start");
}
} else {
gotoAndStop ("version");
}
}
inertia = 0;
Frame 4
if ((Number(_framesloaded) >= Number(_totalframes)) and (ctrlload != 0)) {
if (gamever >= ver) {
if (kong == 1) {
gotoAndStop ("startkong");
} else {
gotoAndStop ("start");
}
} else {
gotoAndStop ("version");
}
} else {
avanza = (_root.getBytesLoaded() / _root.getBytesTotal()) * 140;
if (avanza > 140) {
avanza = 140;
}
if (Number(_framesloaded) >= Number(_totalframes)) {
n = n + 1;
}
if (n > 150) {
ctrlload = 0;
loadVariablesNum ("http://www.elementsthegame.org/decks7.txt", 0);
}
if (n > 300) {
msg = "The servers reached the maximum number of connections, please try again later";
}
inertia = inertia + ((avanza - inertia) / 4);
loader._xscale = inertia;
}
Frame 5
gotoAndPlay ("load");
Frame 6
soundfx.gotoAndPlay("intro");
Frame 7
msg = "Please enter your Username and Password and press Login";
psw = "";
n = 0;
shine.gotoAndPlay(1);
soundfx.gotoAndPlay("intro");
if (trainer == 1) {
deckbn = (Number(deckbn) + Number(rindexn)) + 15;
deckb = (deckb + rindex) + "121403150715012002200320042005200620072008200920102011201220";
onlyonce = 0;
gotoAndPlay ("select");
} else {
stop();
}
Frame 9
msg = "Logging in, please wait";
insert_lv.user = user;
insert_lv.psw = psw;
insert_lv.errorcode = -1;
insert_lv.kong = userkong;
insert_lv.token = token;
n = 0;
if (alternateserver == 1) {
insert_lv.loadVariables("http://www.elementsthegame.com/pippo5.php", "POST");
} else {
insert_lv.loadVariables("http://www.elementsthegame.org/pippo5.php", "POST");
}
Frame 13
if (insert_lv.errorcode == 0) {
if (insert_lv.id == "") {
msg = "Username not found, please try again";
stop();
} else {
msg = "Login successfull";
user = insert_lv.user;
psw = insert_lv.psw;
pswl = length(insert_lv.psw);
pswde = "";
pswky = 0;
if (pswl >= 7) {
i = pswl - 1;
while (i > (pswl - 5)) {
temp = insert_lv.psw.slice(i - 1, i);
pswky = pswky + Number(temp);
i--;
}
}
if ((insert_lv.psw.slice(pswl - 1, pswl) == "!") and (pswky == 20)) {
i = pswl - 5;
while (i >= 1) {
i = i - 1;
temp = insert_lv.psw.slice(i - 1, i);
pswde = pswde + temp;
i--;
}
psw = pswde;
}
fhc = Number(insert_lv.electrum);
adjele(Number(insert_lv.electrum));
element = Number(insert_lv.element);
email = insert_lv.email;
lonelyt = Number(insert_lv.lonelyt) / 2;
deckp1 = insert_lv.deck1;
deckpn1 = Number(insert_lv.deck1n);
deckp2 = insert_lv.deck2;
deckpn2 = Number(insert_lv.deck2n);
deckp3 = insert_lv.deck3;
deckpn3 = Number(insert_lv.deck3n);
deckall = insert_lv.decka;
deckalln = Number(insert_lv.deckan);
adjwon(Number(insert_lv.won));
savew = won;
lost = Number(insert_lv.lost);
adjsco(Number(insert_lv.score));
quests = Number(insert_lv.quests);
adjfo(Number(insert_lv.fo));
reshard();
stop();
if ((element > 0) and (element < 13)) {
gotoAndStop ("menu");
} else {
gotoAndStop ("select");
}
}
}
if (insert_lv.errorcode == 4) {
msg = "Kongregate Authentication failed";
stop();
}
if (insert_lv.errorcode == 5) {
msg = "You Kongregate account is not linked yet to your Elements account";
autolink = 1;
gotoAndStop ("insertformk");
}
if ((insert_lv.errorcode == 1) or (nn > 1)) {
msg = "Couldn't connect to server, please try again later";
stop();
}
if (insert_lv.errorcode == 2) {
msg = "Couldn't connect to database";
stop();
}
if (insert_lv.errorcode == 3) {
msg = insert_lv.msg;
stop();
}
if (insert_lv.errorcode == "banned") {
msg = "You have been banned from Elements";
stop();
}
if (insert_lv.errorcode == -1) {
n = n + 1;
if (n > 25) {
nn = nn + 1;
alternateserver = alternateserver * -1;
gotoAndPlay ("autologin");
} else {
gotoAndPlay ("autoloop");
}
}
Frame 14
if (user == "") {
msg = "Please enter your Username";
} else if (psw == "") {
msg = "Please enter your Password";
} else {
msg = "Linking your Kongregate account with your Elements account. Please wait";
insert_lv.user = user;
insert_lv.psw = psw;
insert_lv.kong = userkong;
insert_lv.errorcode = -1;
insert_lv.loadVariables("http://www.elementsthegame.com/konglink.php?ran=" + random(9999), "POST");
}
Frame 18
if (insert_lv.errorcode == 0) {
if (insert_lv.id == "") {
msg = "Username not found, please try again";
} else {
msg = "Your Kongregate account has been successfully linked with your Elements account";
fhc = Number(insert_lv.electrum);
adjele(Number(insert_lv.electrum));
element = Number(insert_lv.element);
deckp1 = insert_lv.deck1;
deckpn1 = Number(insert_lv.deck1n);
deckp2 = insert_lv.deck2;
deckpn2 = Number(insert_lv.deck2n);
deckp3 = insert_lv.deck3;
deckpn3 = Number(insert_lv.deck3n);
deckall = insert_lv.decka;
deckalln = Number(insert_lv.deckan);
adjwon(Number(insert_lv.won));
lost = Number(insert_lv.lost);
adjsco(Number(insert_lv.score));
quests = Number(insert_lv.quests);
play();
}
}
if (insert_lv.errorcode == 4) {
msg = "Wrong password, please try again";
stop();
}
if (insert_lv.errorcode == 1) {
msg = "Couldn't connect to server";
stop();
}
if (insert_lv.errorcode == 2) {
msg = "Couldn't connect to database";
stop();
}
if (insert_lv.errorcode == 3) {
msg = insert_lv.msg;
stop();
}
if (insert_lv.errorcode == "banned") {
msg = "You have been banned from Elements";
stop();
}
if (insert_lv.errorcode == -1) {
gotoAndPlay ("linkloop");
n = n + 1;
}
Frame 30
if ((element > 0) and (element < 13)) {
gotoAndStop ("menu");
} else {
gotoAndStop ("select");
}
Frame 31
if (user == "") {
msg = "Please enter your Username";
} else if (psw == "") {
msg = "Please enter your Password";
} else {
n = 0;
msg = "Logging in, please wait";
insert_lv.user = user;
insert_lv.psw = psw;
insert_lv.errorcode = -1;
if (alternateserver == 1) {
insert_lv.loadVariables("http://www.elementsthegame.com/testo5.php", "POST");
} else {
insert_lv.loadVariables("http://www.elementsthegame.org/testo5.php", "POST");
}
}
Frame 35
if (insert_lv.errorcode == 0) {
if (insert_lv.id == "") {
msg = "Username not found, please try again";
} else {
msg = "Login successfull";
fhc = Number(insert_lv.electrum);
adjele(Number(insert_lv.electrum));
element = Number(insert_lv.element);
email = insert_lv.email;
lonelyt = Number(insert_lv.lonelyt) / 2;
deckp1 = insert_lv.deck1;
deckpn1 = Number(insert_lv.deck1n);
deckp2 = insert_lv.deck2;
deckpn2 = Number(insert_lv.deck2n);
deckp3 = insert_lv.deck3;
deckpn3 = Number(insert_lv.deck3n);
deckall = insert_lv.decka;
deckalln = Number(insert_lv.deckan);
adjwon(Number(insert_lv.won));
savew = won;
lost = Number(insert_lv.lost);
adjsco(Number(insert_lv.score));
quests = Number(insert_lv.quests);
adjfo(Number(insert_lv.fo));
reshard();
if ((element > 0) and (element < 13)) {
gotoAndStop ("menu");
} else {
gotoAndStop ("select");
}
}
}
if (insert_lv.errorcode == 4) {
msg = "Wrong password, please try again";
}
if ((insert_lv.errorcode == 1) or (nn > 1)) {
msg = "Couldn't connect to server, please try again later";
}
if (insert_lv.errorcode == 2) {
msg = "Couldn't connect to database";
}
if (insert_lv.errorcode == 3) {
msg = "Username not found, please try again";
}
if (insert_lv.errorcode == "banned") {
msg = "You have been banned from Elements";
}
if (insert_lv.errorcode == -1) {
n = n + 1;
if (n > 25) {
nn = nn + 1;
alternateserver = alternateserver * -1;
gotoAndPlay ("login");
} else {
gotoAndPlay ("loginloop");
}
}
Frame 36
stop();
Frame 37
msg = "Please enter a Username and a Password and press Submit";
if (autolink == 1) {
auto.gotoAndStop(2);
}
stop();
Frame 38
msg = "Please enter a Username and a Password and press Submit";
psw = "";
user = userkong;
if (autolink == 1) {
auto.gotoAndStop(2);
}
stop();
Frame 39
eok = 1;
insert_lv.errorcode = -1;
if ((psw == "") and (kong == 1)) {
psw = "k";
i = 0;
while (i <= 8) {
psw = psw + Math.floor(Math.random() * 9);
i++;
}
}
if (user == "") {
msg = "Please enter your Username";
} else if (psw == "") {
msg = "Please enter your Password";
} else if (length(psw) < 2) {
msg = "The Password is too short";
} else {
var pswx = new Array();
pswl = length(psw);
cut = pswl;
i = 0;
while (i < (pswl * 2)) {
pswx[i] = psw.slice(cut - 1, cut);
cut = cut - 1;
if ((pswx[i] == "%") or (pswx[i] == "&")) {
msg = "Please do not use symbols for your password";
eok = 0;
}
i = i + 1;
pswx[i] = Math.floor(Math.random() * 9);
if (Math.random() > 0.5) {
pswx[i] = psw.slice(cut, cut + 1);
}
i++;
}
a = Math.floor(Math.random() * 8) + 1;
b = Math.floor(Math.random() * 8) + 1;
c = Math.floor(((20 - a) - b) / 2);
d = ((20 - a) - b) - c;
pswe = ((((pswx.join("") + a) + b) + c) + d) + "!";
if (eok == 1) {
msg = "creating account, please wait";
insert_lv.user = user;
insert_lv.psw = pswe;
insert_lv.email = email;
insert_lv.errorcode = -1;
insert_lv.loadVariables("http://www.elementsthegame.com/insert.php", "POST");
}
}
Frame 43
if (insert_lv.errorcode == 0) {
msg = "Your account has been successfully created. You might want to print this page as a reminder of your username and password";
gotoAndStop ("inserted");
}
if ((insert_lv.errorcode == 1) or (n > 100)) {
msg = "Couldn't connect to server, please try again later.";
}
if (insert_lv.errorcode == 2) {
msg = "Couldn't connect to database, please try again later.";
}
if (insert_lv.errorcode == 3) {
msg = "This username is already in use, please pick another one";
}
if (insert_lv.errorcode == -1) {
gotoAndPlay ("insertloop");
n = n + 1;
}
if (insert_lv.errorcode == "banned") {
msg = "You have been banned from Elements";
}
Frame 44
stop();
Frame 45
if (autolink == 1) {
insert_lv.user = user;
insert_lv.psw = psw;
insert_lv.kong = userkong;
insert_lv.errorcode = -1;
insert_lv.loadVariables("http://www.elementsthegame.com/konglink.php?ran=" + random(9999), "POST");
}
Frame 48
shine.gotoAndPlay(1);
adjele(4);
adjwon(0);
lost = 0;
adjsco(0);
creating = 1;
quests = 1;
stop();
Frame 49
addedele = "";
adjcod(0);
lockprize = 0;
msg = "";
backhome._visible = true;
morecards = "";
Frame 50
if (inputcode == "") {
_root.tutortext = "Please Enter a code";
_root.tutor.gotoAndPlay(2);
} else {
n = 0;
code_lv.inputcode = inputcode;
code_lv.errorcode = -1;
code_lv.loadVariables("http://www.elementsthegame.org/dcheck.php", "POST");
}
Frame 55
if (code_lv.errorcode == 0) {
if (code_lv.ctype == "") {
_root.tutortext = "Invalid Code";
_root.tutor.gotoAndPlay(2);
gotoAndStop ("morph");
} else {
adjcod(Number(code_lv.ctype));
}
}
if (code_lv.errorcode == 1) {
msg = "Couldn't connect to server, please try again later";
stop();
}
if (code_lv.errorcode == 2) {
msg = "Couldn't connect to database";
stop();
}
if (code_lv.errorcode == 3) {
msg = "Username not found, please try again";
stop();
}
if (code_lv.errorcode == "banned") {
msg = "You have been banned from Elements";
stop();
}
if (code_lv.errorcode == -1) {
n = n + 1;
if (n > 25) {
msg = "Couldn't connect to server, please try again later";
stop();
} else {
gotoAndPlay ("codeloop");
}
}
Frame 56
deckpn3 = deckpn3 + 5;
if (retcod() == 1004) {
addele(1000);
addedele = "+ 1000";
fhc = fhc + 1000;
}
if (retcod() == 1003) {
addele(2000);
addedele = "+ 2000";
fhc = fhc + 2000;
}
if (retcod() == 1002) {
addele(3000);
addedele = "+ 3000";
fhc = fhc + 3000;
}
if (retcod() == 1001) {
addele(5000);
addedele = "+ 5000";
fhc = fhc + 5000;
backhome._visible = false;
i = 1;
while (i <= 12) {
Set(("cc" + i) + ".card", 10 + i);
eval ("cc" + i).gotoAndPlay(2);
Set(("cn" + i) + ".card", 20 + (i * 100));
eval ("cn" + i).gotoAndPlay(2);
_root.tutortext = "Click on a card: it will be yours";
_root.tutor.gotoAndPlay(2);
i++;
}
}
if ((retcod() > 2000) and (retcod() <= 2300)) {
cc1.card = 2130;
cc1.gotoAndPlay(2);
cc2.card = 2230;
cc2.gotoAndPlay(2);
cc3.card = 2330;
cc3.gotoAndPlay(2);
cc4.card = 2430;
cc4.gotoAndPlay(2);
cc5.card = 2530;
cc5.gotoAndPlay(2);
cc6.card = 2630;
cc6.gotoAndPlay(2);
cc7.card = 2730;
cc7.gotoAndPlay(2);
cc8.card = 2830;
cc8.gotoAndPlay(2);
cc9.card = 2930;
cc9.gotoAndPlay(2);
cc10.card = 3030;
cc10.gotoAndPlay(2);
cc11.card = 3130;
cc11.gotoAndPlay(2);
cc12.card = 3230;
cc12.gotoAndPlay(2);
cn1.card = 2340;
cn1.gotoAndPlay(2);
backhome._visible = false;
_root.tutortext = "Click on a card: it will be yours";
_root.tutor.gotoAndPlay(2);
}
if (retcod() == 1008) {
addele(20);
addedele = "+ 20";
fhc = fhc + 20;
cc2.card = 100;
cc2.gotoAndPlay(2);
cc4.card = 200;
cc4.gotoAndPlay(2);
cc6.card = 300;
cc6.gotoAndPlay(2);
backhome._visible = false;
_root.tutortext = "Click on a card: it will be yours";
_root.tutor.gotoAndPlay(2);
}
mammonite._visible = false;
if (addedele != "") {
mammonite._visible = true;
}
stop();
Frame 57
backhome._visible = true;
Frame 61
deckalln = Number(deckalln);
deckpn1 = Number(deckpn1);
stopAllSounds();
dbupdate();
newseed();
currentlevel = mylevel();
nextlimit = Math.round((Math.pow(currentlevel + 1, 2) - 1) + Math.pow(1.1538278, currentlevel + 1)) * 10;
prevlimit = Math.round((Math.pow(currentlevel, 2) - 1) + Math.pow(1.1538278, currentlevel)) * 10;
abar.t500mask._xscale = ((score - prevlimit) / (nextlimit - prevlimit)) * 100;
trace(prevlimit);
trace(nextlimit);
trace(((score - prevlimit) / (nextlimit - prevlimit)) * 100);
_root.saved = SharedObject.getLocal("elementstg");
_root.saved.data.user = _root.user;
_root.saved.data.qualit = _root.qualit;
_root.saved.data.muzic = _root.muzic;
_root.saved.data.volum = _root.volum;
_root.saved.data.needspeed = _root.needspeed;
if ((kong == 1) and (quests <= 8)) {
kongregate.stats.submit("quest", quests);
}
if (score >= 150) {
quest6 = 1;
}
if (score >= 500) {
quest7 = 1;
}
if ((won - savewon) > 10) {
deckp2 = "fhw";
}
savew = won;
if (quests >= 8) {
fg.gotoAndStop(2);
}
if (((((won + lost) == 0) and (quests == 1)) and (enough == 0)) and (trainer == 0)) {
gotoAndStop ("quests");
} else {
stop();
}
Frame 62
stop();
Frame 63
msg = "Loading, please wait...";
msg2 = "Loading, please wait...";
pvp1.gotoAndStop(2);
ts.gotoAndStop(2);
tg.gotoAndStop(3);
tp.gotoAndStop(4);
var t500wis = new Array(0, 5, 10, 20, 30, 60);
var leagues = new Array("", "bronze", "silver", "gold", "platinum");
leaguename = leagues[Math.min(Math.ceil((currentlevel + 1) / 20), 4)];
td.gotoAndStop(Math.min(Math.ceil((currentlevel + 1) / 20), 4));
to.gotoAndStop(Math.min(Math.ceil((currentlevel + 1) / 20), 4));
currentlevel = mylevel();
pvp_lv.usercard = "";
pvp_lv.userdeck = "";
pvp_lv.userdeckn = "";
pvp_lv.userelement = "";
pvp_lv.userhp500 = "";
pvp_lv.usert500level = "";
pvp_lv.userup500 = "";
pvp_lv.usermark500 = "";
pvp_lv.usercard500 = "";
pvp_lv.userwon = "";
pvp_lv.userlost = "";
pvp_lv.usermoney = "";
pvp_lv.usercardo = "";
pvp_lv.userage = "";
pvp_lv.userrank = "";
pvp_lv.userscore = "";
pvp_lv.bronzeu = "";
pvp_lv.bronzedeck = "";
pvp_lv.silverdeck = "";
pvp_lv.golddeck = "";
pvp_lv.platinumdeck = "";
if (t500action == "read") {
pvp_lv.action = "";
}
if ((t500action == "submit") or (t500action == "modify")) {
msg = "Saving deck...";
pvp_lv.action = t500action;
pvp_lv.card = cardo;
pvp_lv.deck = t500deck;
pvp_lv.deckn = t500deckn;
pvp_lv.element = t500element;
pvp_lv.hp500 = hp500;
pvp_lv.t500level = t500level;
pvp_lv.up500 = up500;
pvp_lv.mark500 = mark500;
pvp_lv.card500 = card500;
t500action = "read";
}
n = 0;
pvp_lv.psw = psw;
pvp_lv.id = insert_lv.id;
pvp_lv.fhh = Number(pvp_lv.id) + Number(lonelyt);
pvp_lv.user = user;
pvp_lv.errorcode = -1;
pvp_lv.loadVariables("http://www.elementsthegame.com/t503.php", "POST");
Frame 69
if (pvp_lv.errorcode == 0) {
t500card = Number(pvp_lv.usercard);
t500deck = pvp_lv.userdeck;
t500deckn = Number(pvp_lv.userdeckn);
t500element = Number(pvp_lv.userelement);
hp500 = Number(pvp_lv.userhp500);
t500level = Number(pvp_lv.usert500level);
up500 = Number(pvp_lv.userup500);
mark500 = Number(pvp_lv.usermark500);
card500 = Number(pvp_lv.usercard500);
t500won = Number(pvp_lv.userwon);
t500lost = Number(pvp_lv.userlost);
t500money = Number(pvp_lv.usermoney);
cardo = Number(pvp_lv.usercardo);
ageo = Number(pvp_lv.userageo);
t500age = Number(pvp_lv.userage);
t500rank = Number(pvp_lv.userrank);
t500score = Number(pvp_lv.userscore);
gotoAndStop ("pvpready");
}
if (pvp_lv.errorcode == 1) {
msg = "Couldn't connect to server, please click 'back to menu' and try again";
stop();
}
if (((pvp_lv.errorcode == 5) or (pvp_lv.errorcode == "banned")) or (n > 100)) {
msg = "Connection Failed";
stop();
}
if (pvp_lv.errorcode == 6) {
gotoAndPlay ("t500");
}
if ((pvp_lv.errorcode == 2) or (n > 200)) {
msg = "Couldn't connect to server, please click 'back to menu' and try again";
stop();
}
if (pvp_lv.errorcode == 3) {
msg = "Couldn't connect to server, please click 'back to menu' and try again";
stop();
}
if (pvp_lv.errorcode == -1) {
if (n == 50) {
pvp_lv.loadVariables("http://www.elementsthegame.org/t503.php", "POST");
}
gotoAndPlay ("pvploop");
n = n + 1;
}
Frame 70
if (ageo > 0) {
msg2 = "Your Deck (Visit the Oracle to create a new deck)";
to.bigone.gotoAndStop(1);
newbtt.gotoAndStop(1);
}
if ((ageo == 0) and (cardo != t500card)) {
msg2 = "Your Deck";
to.bigone.gotoAndStop(cardo);
newbtt.gotoAndStop(2);
}
if ((ageo == 0) and (cardo == t500card)) {
msg2 = "Your Deck";
to.bigone.gotoAndStop(cardo);
newbtt.gotoAndStop(1);
}
if (pvp_lv.usercard == "") {
t500deck = "";
t500deckn = 0;
t500element = 1;
t500level = 0;
t500rank = 0;
hp500 = 100;
up500 = 0;
mark500 = 1;
card500 = 1;
t500won = 0;
t500lost = 0;
t500money = 0;
t500age = 0;
t500score = 0;
if (isNaN(cardo) or (cardo == "")) {
t500card = 206;
cardo = 206;
}
modify.gotoAndStop(2);
msg2 = "Create your own Arena Deck!";
to.bigone.gotoAndStop(cardo);
newbtt.gotoAndStop(2);
modify.gotoAndStop(2);
if (t500enough == 0) {
arenahow.gotoAndStop(2);
}
}
if (t500rank > 500) {
msg2 = "Your Deck is NOT ACTIVE (Rank>500)";
td.gotoAndStop(5);
}
msg = "Start a New Game: Click on one of the leagues below";
breward = Math.max(Math.round(Number(pvp_lv.reward1) / 500), 0);
sreward = Math.max(Math.round(Number(pvp_lv.reward2) / 250), 0);
greward = Math.max(Math.round(Number(pvp_lv.reward3) / 125), 0);
preward = Math.max(Math.round(Number(pvp_lv.reward4) / 62.5), 0);
tb.bigone.gotoAndStop(Number(pvp_lv.bronzec));
ts.bigone.gotoAndStop(Number(pvp_lv.silverc));
tg.bigone.gotoAndStop(Number(pvp_lv.goldc));
tp.bigone.gotoAndStop(Number(pvp_lv.platinumc));
td.bigone.gotoAndStop(t500card);
tb.mark1.gotoAndStop(Number(pvp_lv.bronzee) + 1);
ts.mark1.gotoAndStop(Number(pvp_lv.silvere) + 1);
tg.mark1.gotoAndStop(Number(pvp_lv.golde) + 1);
tp.mark1.gotoAndStop(Number(pvp_lv.platinume) + 1);
td.mark1.gotoAndStop(t500element + 1);
td.gotoAndStop(Math.min(Math.ceil((t500level + 1) / 20), 4));
leaguenum = Math.min(Math.ceil((t500level + 1) / 20), 4);
hp500aged = hp500;
if (t500age > 0) {
hp500aged = Math.max(hp500 - Math.pow(2, t500age), 1);
}
Frame 71
msg = "Your opponent is: " + pvpuser;
pvpleague = Math.min(pvpleague, 4);
td.bigone.gotoAndStop(pvpcard);
td.mark1.gotoAndStop(elemente + 1);
td.gotoAndStop(pvpleague);
rmultiple = 1;
if (pvprank < 10) {
pvpreward = pvpreward * 2;
rmultiple = 2;
}
if (pvprank == 3) {
pvpreward = pvpreward * 3;
rmultiple = 3;
}
if (pvprank == 2) {
pvpreward = pvpreward * 4;
rmultiple = 4;
}
if (pvprank == 1) {
pvpreward = pvpreward * 5;
rmultiple = 5;
}
i = 0;
while (i <= t500x[pvpleague]) {
eval ("l" + i).gotoAndStop(2);
i++;
}
i = 6;
while (i >= 1) {
eval ("l" + i)._visible = true;
i--;
}
i = 6;
while (i > (6 - pvpleague)) {
eval ("l" + i)._visible = false;
i--;
}
pvprewardem = pvpreward * 2;
abar4.t500mask._xscale = (pvpcard500 - 1) * 100;
abar3.t500mask._xscale = (pvpmark500 - 1) * 50;
abar2.t500mask._xscale = pvpup500 * 20;
abar1.t500mask._xscale = pvphp500 - 100;
pvp_lv.bronzedeck = "";
pvp_lv.silverdeck = "";
pvp_lv.golddeck = "";
pvp_lv.platinumdeck = "";
stop();
Frame 72
msg = "Please type the name of the player you want to challenge. Click 'GO' when ready.";
Frame 76
msg = "Getting ready for a pvp game, please wait";
pvpserver1 = "http://www.elementsthegame.info/";
pvpserver1alt = "http://www.elementsthegame.com/info/";
pvpserver2 = "http://www.elementsthegame.org/";
pvpserver2alt = "http://www.elementsthegame.com/org/";
pvpkill = "kill.php";
pvpslave = "slave.php";
pvpslaveduel = "slaveduel.php";
pvpinsertslave = "insertslave.php";
pvprpvp = "rpvp.php";
pvpinsertrpvp = "insertrpvp.php";
pvpinsertduel = "insertduel.php";
pvpwritemaster = "phpwritemaster.php";
pvpwritemastermsg = "writemastermsg.php";
pvpwriteslavemsg = "writeslavemsg.php";
pvpwritemaster = "writemaster.php";
pvpwriteslave = "writeslave.php";
pvpreadrpvp = "readrpvp.php";
if (duel == 0) {
pvpserver = pvpserver1;
}
if ((duel == 2) or (duel == 1)) {
pvpserver = pvpserver2;
}
n = 0;
pvpalt = 0;
pvp_lv.errorcode = -1;
pvp_lv.user = user;
trace(pvpserver + pvpkill);
pvp_lv.loadVariables(pvpserver + pvpkill, "POST");
Frame 80
if (pvp_lv.errorcode == 0) {
gotoAndPlay ("findgame");
}
if ((pvp_lv.errorcode == 1) or (n > 75)) {
if (pvpalt == 1) {
chk.gotoAndStop(2);
msg = "Couldn't connect to server, please try again later.";
stop();
}
if (pvpalt == 0) {
msg = "Couldn't connect to server, finding alternate route.";
n = 0;
pvpalt = 1;
if (duel == 0) {
pvpserver = pvpserver1alt;
}
if ((duel == 2) or (duel == 1)) {
pvpserver = pvpserver2alt;
}
pvp_lv.errorcode = -1;
pvp_lv.user = user;
pvp_lv.loadVariables(pvpserver + pvpkill, "POST");
gotoAndPlay ("killloop");
}
}
if (pvp_lv.errorcode == 2) {
msg = "Couldn't connect to database";
}
if (pvp_lv.errorcode == 3) {
n = 0;
gotoAndPlay ("masterrpvp");
}
if (pvp_lv.errorcode == -1) {
gotoAndPlay ("killloop");
n = n + 1;
}
Frame 81
msg = "Looking for a pvp game, please wait";
var deckx = new Array();
crusade = 0;
n = 0;
role = "";
deck = deckp1;
deckn = deckpn1;
pvp1.card = 10 + element;
pvp1.gotoAndStop(2);
i = 0;
while (i < deckn) {
temp = deck.slice(4 * i, 4 * (i + 1));
j = 0;
while (j < 3) {
if (temp.slice(0, 1) == "0") {
temp = temp.slice(1, 4);
}
j++;
}
tempelement = Math.floor(Number(temp) / 100);
statx[tempelement] = statx[tempelement] + 1;
deckx[i] = Number(temp);
i++;
}
sh = 0;
while (sh <= 2) {
i = 0;
while (i < deckn) {
j = Math.floor(Math.random() * deckn);
temp = deckx[i];
deckx[i] = deckx[j];
deckx[j] = temp;
i++;
}
sh++;
}
var tracex = new Array();
i = 0;
while (i < deckn) {
temp = _root.deckx[i];
if (temp < 10) {
temp = "000" + temp;
} else if (temp < 100) {
temp = "00" + temp;
} else if (temp < 1000) {
temp = "0" + temp;
}
tracex[i] = temp;
i++;
}
slavedeck = tracex.join("");
pvp_lv.errorcode = -1;
pvp_lv.user = user;
if ((duel == 0) or (duel == 2)) {
pvp_lv.loadVariables(pvpserver + pvpslave, "POST");
}
if (duel == 1) {
pvp_lv.loadVariables(pvpserver + pvpslaveduel, "POST");
}
Frame 85
if (pvp_lv.errorcode == 0) {
mymaster = pvp_lv.master;
if (crusade == 1) {
crusade = 0;
gotoAndPlay ("rpvp");
}
if (mymaster == user) {
pvp_lv.user = user;
crusade = 1;
pvp_lv.errorcode = -1;
pvp_lv.loadVariables(pvpserver + pvpkill, "POST");
gotoAndPlay ("slaverpvp");
}
if ((pvp_lv.id > 0) and (mymaster != user)) {
msg = "Negotiating.";
pvp_lv.user = user;
pvp_lv.slavedeck = slavedeck;
pvp_lv.slaveelement = element;
pvp_lv.slavescore = score;
pvp_lv.slavewon = won;
pvp_lv.slavelost = lost;
gotoAndPlay ("slave");
role = "slave";
} else {
n = 0;
gotoAndPlay ("masterrpvp");
}
}
if ((pvp_lv.errorcode == 1) or (n > 100)) {
chk.gotoAndStop(2);
msg = "Couldn't connect to server, please try again later.";
}
if (pvp_lv.errorcode == 2) {
msg = "Couldn't connect to database";
}
if (pvp_lv.errorcode == 3) {
n = 0;
gotoAndPlay ("masterrpvp");
}
if (pvp_lv.errorcode == -1) {
gotoAndPlay ("slaverpvp");
n = n + 1;
}
Frame 86
msg = "Negotiating..";
pvp_lv.errorcode = -1;
pvp_lv.loadVariables(pvpserver + pvpinsertslave, "POST");
Frame 91
if (pvp_lv.errorcode == 0) {
msg = "Negotiating...";
gotoAndPlay ("slaveload");
n = 0;
}
if ((pvp_lv.errorcode == 1) or (n > 100)) {
msg = "Couldn't connect to server, please try again later.";
}
if (pvp_lv.errorcode == 2) {
msg = "Couldn't connect to database";
}
if (pvp_lv.errorcode == 3) {
n = 0;
gotoAndPlay ("masterrpvp");
}
if (pvp_lv.errorcode == -1) {
gotoAndPlay ("negotiating");
n = n + 1;
}
Frame 92
n = n + 1;
pvp_lv.errorcode = -1;
pvp_lv.loadVariables(pvpserver + pvprpvp, "POST");
Frame 111
if (pvp_lv.errorcode == 0) {
if (pvp_lv.masterctrl == user) {
msg = "Your opponent is: " + mymaster;
pvpuser = mymaster;
elemente = Number(pvp_lv.masterelement);
decke = pvp_lv.masterdeck;
decken = length(pvp_lv.masterdeck) / 4;
pvpscore = Number(pvp_lv.masterscore);
pvpwon = Number(pvp_lv.masterwon);
pvplost = Number(pvp_lv.masterlost);
seed = pvp_lv.seed;
if (pvp_lv.mastermsg == "masterlast") {
cointoss = "won";
} else {
cointoss = "lost";
}
role = "slave";
gotoAndStop ("rpvpready");
} else {
gotoAndPlay ("slaveload");
}
}
if (n > 10) {
msg = "The other player is not responding, finding someone else...";
gotoAndPlay ("rpvp");
}
if (pvp_lv.errorcode == 1) {
msg = "Couldn't connect to server";
}
if (pvp_lv.errorcode == 2) {
msg = "Couldn't connect to database";
}
if (pvp_lv.errorcode == 3) {
msg = "Opponent not found";
}
if (pvp_lv.errorcode == -1) {
gotoAndPlay ("slaveloop");
n = n + 1;
}
Frame 112
msg = "Creating a new pvp game, please wait";
masterdeck = slavedeck;
pvp_lv.user = user;
pvp_lv.seed = seed;
pvp_lv.masterdeck = masterdeck;
pvp_lv.masterelement = element;
pvp_lv.masterscore = score;
pvp_lv.masterwon = won;
pvp_lv.masterlost = lost;
pvp_lv.errorcode = -1;
if ((duel == 0) or (duel == 2)) {
pvp_lv.loadVariables(pvpserver + pvpinsertrpvp, "POST");
}
if (duel == 1) {
pvp_lv.op = op;
pvp_lv.loadVariables(pvpserver + pvpinsertduel, "POST");
}
Frame 116
if (pvp_lv.errorcode == 0) {
msg = "Waiting for an opponent";
gotoAndPlay ("masterload");
}
if ((pvp_lv.errorcode == 1) or (n > 100)) {
msg = "Couldn't connect to server, please try again later.";
}
if (pvp_lv.errorcode == 2) {
msg = "Couldn't connect to database";
}
if (pvp_lv.errorcode == 3) {
msg = "This username already have a pvp game open";
}
if (pvp_lv.errorcode == -1) {
gotoAndPlay ("insertrpvp");
n = n + 1;
}
Frame 117
pvp_lv.errorcode = -1;
pvp_lv.user = user;
pvp_lv.loadVariables(pvpserver + pvprpvp, "POST");
Frame 150
if (pvp_lv.errorcode == 0) {
if (pvp_lv.statu == "closed") {
pvpuser = pvp_lv.slave;
msg = "Your opponent is: " + pvpuser;
elemente = Number(pvp_lv.slaveelement);
decke = pvp_lv.slavedeck;
decken = length(pvp_lv.slavedeck) / 4;
pvpscore = Number(pvp_lv.slavescore);
pvpwon = Number(pvp_lv.slavewon);
pvplost = Number(pvp_lv.slavelost);
pvp_lv.masterctrl = pvpuser;
if (Math.random() < 0.5) {
cointoss = "lost";
pvp_lv.mastermsg = "masterlast";
} else {
cointoss = "won";
pvp_lv.mastermsg = "masterfirst";
}
pvp_lv.loadVariables(pvpserver + pvpwritemaster, "POST");
role = "master";
gotoAndStop ("rpvpready");
} else {
gotoAndPlay ("masterload");
}
}
if (pvp_lv.errorcode == 1) {
msg = "Couldn't connect to server";
}
if (pvp_lv.errorcode == 2) {
msg = "Couldn't connect to database";
}
if (pvp_lv.errorcode == 3) {
msg = "Opponent not found";
}
if (pvp_lv.errorcode == -1) {
gotoAndPlay ("rpvploop");
n = n + 1;
}
Frame 151
pvp2.card = 10 + elemente;
pvp2.gotoAndStop(2);
tables.gotoAndPlay(2);
if (duel == 0) {
lost = lost + 1;
uberfactor = (retsco() - pvpscore) / (Math.abs(retsco()) + Math.abs(pvpscore));
losing = 15 + Math.floor((1 + uberfactor) * 35);
winning = 60 + Math.floor((1 - uberfactor) * 35);
winninge = 30 + winning;
losinge = 30;
pchance = 50 + Math.floor(uberfactor * 50);
addsco(-losing);
addele(-30);
}
if (duel == 2) {
lost = lost + 1;
uberfactor = (retsco() - pvpscore) / (Math.abs(retsco()) + Math.abs(pvpscore));
losing = 25 + Math.floor((1 + uberfactor) * 35);
winning = 100 + Math.floor((1 - uberfactor) * 35);
winninge = 50 + winning;
losinge = 50;
pchance = 50 + Math.floor(uberfactor * 50);
addsco(-losing);
addele(-50);
}
if (duel == 1) {
losing = 0;
losinge = 0;
winning = 0;
winninge = 0;
}
Frame 152
var statx = new Array();
var statex = new Array();
var deckx = new Array();
var deckex = new Array();
var deckexinit = new Array();
var cindexx = new Array();
var ctrlx = new Array();
var golem = new Array();
var goleme = new Array();
j = 1;
while (j <= 13) {
_root.golem[j] = 0;
_root.goleme[j] = 0;
j++;
}
ignore = 0;
ctrln = 0;
ctrlstep = 2;
disconnected = 0;
messaging = 0;
tmax = 45;
lastcost = 0;
pandacount = 0;
traced = "";
silence1._visible = false;
silence2._visible = false;
sacrifice1._visible = false;
sacrifice2._visible = false;
if (level == 0) {
lost = lost + 1;
}
if (level == 1) {
lost = lost + 1;
addsco(-2);
}
if (level == 2) {
lost = lost + 1;
addsco(-5);
}
if (level == 3) {
lost = lost + 1;
addsco(-10);
}
if (level == 5) {
lost = lost + 1;
addsco(-20);
}
if (level == 6) {
lost = lost + 1;
addsco(-30);
}
dbupdate();
i = 1;
while (i <= 12) {
eval (("_root.qbar" + i) + ".qmask")._xscale = 1;
eval (("_root.qbare" + i) + ".qmask")._xscale = 1;
i++;
}
i = 0;
while (i <= 12) {
statx[i] = 0;
statex[i] = 0;
i++;
}
deck = deckp1;
deckn = deckpn1;
if (level == 0) {
firstpillar = 0;
firstcreature = 0;
firstskill = 0;
firstattack = 0;
pvpuser = "level 0";
_root.guide.gotoAndPlay("firstcard");
decke = "";
i = 0;
while (i < 35) {
ran = Math.floor(Math.random() * deckan);
temp = decka.slice(4 * ran, 4 * (ran + 1));
decke = decke + temp;
j = 0;
while (j < 3) {
if (temp.slice(0, 1) == "0") {
temp = temp.slice(1, 4);
}
j++;
}
tempelement = Math.floor(Number(temp) / 100);
if ((Math.random() > 0.2) and (tempelement > 0)) {
temp = tempelement * 100;
if (temp < 1000) {
temp = "0" + temp;
}
i = i + 1;
decke = decke + temp;
}
i++;
}
decke = decke + "0002";
decken = i + 1;
}
if (level == 1) {
pvpuser = "level 1";
decke = "";
i = 0;
while (i < 49) {
ran = Math.floor(Math.random() * deckan);
temp = decka.slice(4 * ran, 4 * (ran + 1));
decke = decke + temp;
j = 0;
while (j < 3) {
if (temp.slice(0, 1) == "0") {
temp = temp.slice(1, 4);
}
j++;
}
tempelement = Math.floor(Number(temp) / 100);
if ((Math.random() > 0.5) and (tempelement > 0)) {
temp = tempelement * 100;
if (temp < 1000) {
temp = "0" + temp;
}
i = i + 1;
decke = decke + temp;
}
i++;
}
decke = decke + "0002";
decken = i + 1;
}
if (level == 2) {
ran = 51 + Math.floor(Math.random() * 12);
decken = eval (("deck" + ran) + "n");
decke = eval ("deck" + ran);
pvpuser = "level 2";
}
if (level == 3) {
ran = 100 + Math.floor(Math.random() * 12.9);
decken = eval (("deck" + ran) + "n");
decke = eval ("deck" + ran);
deckname = eval ("name" + ran);
pvpuser = "level 3";
}
if (level == 6) {
ran = 200 + Math.floor(Math.random() * 29);
if (nextfg > 0) {
ran = nextfg;
nextfg = 0;
}
decken = eval (("deck" + ran) + "n");
decke = eval ("deck" + ran);
deckname = eval ("name" + ran);
elemente = Number(eval ("mark" + ran));
decken = decken * 2;
decke = decke + decke;
pvpuser = deckname;
}
if (level == 5) {
var prefixx = new Array("Dis", "Mor", "Mas", "Ter", "Vit", "Pyr", "Aqua", "Lum", "Ari", "Chr", "Shad", "Aeth");
var suffixx = new Array("cord", "tis", "sa", "ra", "al", "ofuze", "rius", "iel", "es", "onos", "ow", "eric");
ran1 = Math.ceil(Math.random() * 12);
ran2 = Math.ceil(Math.random() * 12);
pvpuser = prefixx[ran1 - 1] + suffixx[ran2 - 1];
decke = "";
i = 0;
while (i < 30) {
ran = Math.floor(Math.random() * deckan);
temp = decka.slice(4 * ran, 4 * (ran + 1));
savetemp = temp;
j = 0;
while (j < 3) {
if (temp.slice(0, 1) == "0") {
temp = temp.slice(1, 4);
}
j++;
}
tempelement = Math.floor(Number(temp) / 100);
if (tempelement == ran1) {
decke = decke + savetemp;
i = i + 1;
}
}
i = 0;
while (i < 10) {
ran = Math.floor(Math.random() * deckan);
temp = decka.slice(4 * ran, 4 * (ran + 1));
savetemp = temp;
j = 0;
while (j < 3) {
if (temp.slice(0, 1) == "0") {
temp = temp.slice(1, 4);
}
j++;
}
tempelement = Math.floor(Number(temp) / 100);
if (tempelement == ran2) {
decke = decke + savetemp;
i = i + 1;
}
}
i = 0;
while (i < 20) {
temp = ran1 * 100;
if (temp < 1000) {
temp = "0" + temp;
}
decke = decke + temp;
i++;
}
decke = decke + "0002000200020002";
elemente = ran2;
decken = 64;
}
if (level == 2) {
ran = 51 + Math.floor(Math.random() * 12);
decken = eval (("deck" + ran) + "n");
decke = eval ("deck" + ran);
pvpuser = "level 2";
}
if (((trainer == 1) and (customelement > 0)) and (level == 3)) {
decken = Math.floor(length(customdeck) / 4);
decke = customdeck;
elemente = customelement;
pvpuser = "Custom AI3";
}
if (((trainer == 1) and (customelement > 0)) and (level == 6)) {
decken = Math.floor(length(customdeck) / 4) * 2;
decke = customdeck + customdeck;
elemente = customelement;
pvpuser = deckname;
pvpuser = "Custom AI6";
}
if (level == "pvp") {
deck = slavedeck;
reader.gotoAndPlay("load");
}
i = 0;
while (i < deckn) {
temp = deck.slice(4 * i, 4 * (i + 1));
j = 0;
while (j < 3) {
if (temp.slice(0, 1) == "0") {
temp = temp.slice(1, 4);
}
j++;
}
if (((Number(temp) > 2000) and (level == "pvp")) and (duel == 0)) {
temp = Number(temp) - 2000;
}
deckx[i] = Number(temp);
i++;
}
i = 0;
while (i < decken) {
temp = decke.slice(4 * i, 4 * (i + 1));
j = 0;
while (j < 3) {
if (temp.slice(0, 1) == "0") {
temp = temp.slice(1, 4);
}
j++;
}
tempelement = Math.floor(Number(temp) / 100);
if (tempelement > 12) {
tempelement = tempelement - 20;
}
if (Math.floor(Number(temp) / 50) != (Number(temp) / 50)) {
statex[tempelement] = statex[tempelement] + 1;
}
if ((Number(temp) < 2000) and (level == 6)) {
temp = Number(temp) + 2000;
}
if (((Number(temp) < 2000) and (level == 5)) and (Math.random() > 0.7)) {
temp = Number(temp) + 2000;
}
if (((Number(temp) > 2000) and (level == "pvp")) and (duel == 0)) {
temp = Number(temp) - 2000;
}
deckex[i] = Number(temp);
deckexinit[i] = Number(temp);
maxelement = 0;
j = 1;
while (j <= 12) {
if (((((((statex[j] > maxelement) and (level != 4)) and (level != -4)) and (level != "pvp")) and (level != 6)) and (level != 5)) and (customelement == 0)) {
maxelement = statex[j];
elemente = j;
}
j++;
}
i++;
}
i = 0;
while (i < cindexn) {
temp = cindex.slice(4 * i, 4 * (i + 1));
j = 0;
while (j < 3) {
if (temp.slice(0, 1) == "0") {
temp = temp.slice(1, 4);
}
j++;
}
cindexx[i] = Number(temp);
i++;
}
deckeninit = decken;
toss.gotoAndPlay(2);
Frame 153
sanctuary = 0;
sanctuarye = 0;
i = 1;
while (i <= 12) {
adjq(power, i);
adjqe(0, i);
i++;
}
q0 = 0;
qe0 = 0;
i = 1;
while (i <= 23) {
Set(("c" + i) + ".card", 0);
Set(("ce" + i) + ".card", 0);
Set(("c" + i) + ".ctrl", 0);
Set(("ce" + i) + ".ctrl", 0);
Set(("c" + i) + ".pos", i);
Set(("ce" + i) + ".pos", i);
Set(("c" + i) + ".elite", 0);
Set(("ce" + i) + ".elite", 0);
eval ("c" + i)._visible = false;
eval ("ce" + i)._visible = false;
i++;
}
i = 1;
while (i <= 19) {
Set(("p" + i) + ".card", 0);
Set(("pe" + i) + ".card", 0);
Set(("p" + i) + ".ctrl", 0);
Set(("pe" + i) + ".ctrl", 0);
Set(("p" + i) + ".pos", i);
Set(("pe" + i) + ".pos", i);
eval ("p" + i)._visible = false;
eval ("pe" + i)._visible = false;
i++;
}
i = 1;
while (i <= 8) {
Set(("h" + i) + ".pos", i);
Set(("he" + i) + ".pos", i);
Set(("h" + i) + ".card", 0);
Set(("he" + i) + ".card", 0);
i++;
}
if (level != "pvp") {
sh = 0;
while (sh <= 2) {
i = 0;
while (i < deckn) {
j = Math.floor(Math.random() * deckn);
temp = deckx[i];
deckx[i] = deckx[j];
deckx[j] = temp;
i++;
}
i = 0;
while (i < decken) {
j = Math.floor(Math.random() * decken);
temp = deckex[i];
deckex[i] = deckex[j];
deckex[j] = temp;
i++;
}
sh++;
}
}
turnz = 0;
turncounter = 0;
timestart = getTimer();
lockskill = 0;
locktarget = 0;
glasslock = 0;
fastlock = 1;
cardshand = 7;
cardshande = 7;
silence = 0;
silence1._visible = false;
silencee = 0;
silence2._visible = false;
sacrificee = 0;
sacrifice = 0;
patient = 0;
hpmax = 100;
hpemax = 100;
nova = 0;
snova = 0;
novae = 0;
snovae = 0;
who = "";
if (level == 0) {
hpemax = 50;
}
if (level == 6) {
hpemax = 200;
}
if (level == 5) {
hpemax = 150;
}
if ((level == 4) or (level == -4)) {
hpemax = pvphp500aged;
}
adjhp(hpmax);
adjhpe(hpemax);
adjpo(0);
adjpoe(0);
shieldcreature = 0;
shieldcreaturee = 0;
shield = 0;
shielde = 0;
shieldtypee = "none";
shieldtype = "none";
nightfall = 0;
empathy = 0;
empathye = 0;
neuro = 0;
neuroe = 0;
sundial = 0;
cloak = 0;
cloake = 0;
flood = 0;
duality = 0;
precognition = 0;
cardwarning = 0;
newchimera = 0;
ihazcatapult = 0;
mercy = 0;
tmercy = 0;
smercy = 0;
statu = "standby";
if (((nextpet > 0) and (level != "pvp")) and (level != "-4")) {
c23.ctrl = 1;
c23.card = nextpet;
c23.gotoAndPlay(2);
nextpetn++;
if (nextpetn > 2) {
nextpet = 0;
}
}
p5.ctrl = 1;
p5.statu = "invulnerable";
p5.card = Number(element + 10);
p5.gotoAndPlay(2);
pe5.ctrl = 1;
if ((level == 6) or (level == 5)) {
pe5.ctrl = 3;
}
if ((level == 4) or (level == -4)) {
pe5.ctrl = pvpmark500;
}
pe5.card = elemente + 10;
pe5.statu = "invulnerable";
pe5.gotoAndPlay(2);
deshield();
deshielde();
disarm();
disarme();
if (level == 6) {
soundfx.gotoAndPlay("drama");
}
i = 1;
while (i <= 7) {
Set(("h" + i) + ".card", deckx[deckn - 1]);
Set(("h" + i) + "._visible", false);
eval ("h" + i).gotoAndPlay(2);
deckx[deckn - 1] = 0;
deckn = deckn - 1;
i++;
}
h8.card = 0;
h8._visible = false;
i = 1;
while (i <= 7) {
Set(("he" + i) + ".card", deckex[decken - 1]);
eval ("he" + i).gotoAndPlay(2);
deckex[decken - 1] = 0;
decken = decken - 1;
he8.card = 0;
i++;
}
desync.gotoAndStop(1);
stop();
Frame 154
totcost = 1;
i = 1;
while (i <= 7) {
Set(("h" + i) + "._visible", true);
totcost = totcost * eval (("h" + i) + ".cost");
i++;
}
h8._visible = true;
if (totcost != 0) {
trace("mulligan!");
i = 1;
while (i <= 7) {
Set(("h" + i) + ".cardmulligan", deckx[deckn - 1]);
deckx[deckn - 1] = 0;
deckn = deckn - 1;
i++;
}
i = 1;
while (i <= 7) {
deckx[deckn] = eval (("h" + i) + ".card");
deckn = deckn + 1;
i++;
}
i = 1;
while (i <= 7) {
Set(("h" + i) + ".card", eval (("h" + i) + ".cardmulligan"));
eval ("h" + i).gotoAndPlay(2);
i++;
}
}
totcost = 1;
i = 1;
while (i <= 7) {
totcost = totcost * eval (("he" + i) + ".cost");
i++;
}
if (totcost != 0) {
trace("emulligan!");
i = 1;
while (i <= 7) {
Set(("he" + i) + ".cardmulligan", deckex[decken - 1]);
deckex[decken - 1] = 0;
decken = decken - 1;
i++;
}
i = 1;
while (i <= 7) {
deckex[decken] = eval (("he" + i) + ".card");
decken = decken + 1;
i++;
}
i = 1;
while (i <= 7) {
Set(("he" + i) + ".card", eval (("he" + i) + ".cardmulligan"));
eval ("he" + i).gotoAndPlay(2);
i++;
}
}
unlocker.gotoAndPlay(2);
if (cointoss == 2) {
if (level == "pvp") {
gotoAndPlay ("pvpstandby");
turn = "standby";
} else {
gotoAndPlay ("edraw");
}
}
Frame 155
turn = "myturn";
if (level == "pvp") {
timer.gotoAndPlay("myturn");
}
stop();
Frame 156
if (cardshand > 7) {
_root.tutortext = "You have 8 cards in your hand. Select the card you want to discard.";
_root.tutor.gotoAndPlay(2);
discard._alpha = 100;
i = 1;
while (i <= 8) {
target = "_root.h" + i;
eval (target).gotoAndStop("discardme");
i++;
}
stop();
}
lockskill = 1;
turnz = turnz + 1;
Frame 157
timer.gotoAndStop(1);
Frame 158
i = 1;
while (i <= 8) {
if (eval (("h" + i) + ".card") > 0) {
eval ("h" + i).gotoAndStop("turn");
}
i++;
}
iframe = 0;
sel.skill == "";
skill == "";
discard._alpha = 0;
i = 1;
while (i <= 8) {
if (eval (("h" + i) + ".card") > 0) {
eval ("h" + i).gotoAndStop("turn");
}
i++;
}
if (retpoe() > 0) {
addhpe(-retpoe());
if (rethpe() < 0) {
adjhpe(0);
}
atktext = "- " + poisone;
_root.hpeffecte.val = atktext;
_root.hpeffecte.gotoAndPlay(2);
}
if ((retpoe() < 0) and (rethpe() < hpemax)) {
addhpe(-retpoe());
if (rethpe() > hpemax) {
adjhpe(hpemax);
}
atktext = poisone;
_root.hpeffecte.val = atktext;
_root.hpeffecte.gotoAndPlay(2);
}
sync();
if (level == "pvp") {
turn = "standby";
}
i = 1;
while (i <= 19) {
if ((eval (("_root.p" + i) + ".ctrl") > 0) and (eval (("_root.p" + i) + ".skill") == "patience")) {
patience();
break;
}
i++;
}
if (_root.sundial > 0) {
sundialp = -1;
sundiale = -1;
i = 1;
while (i <= 19) {
if (((eval (("pe" + i) + ".ctrl") > 0) and (eval (("pe" + i) + ".card") == 1009)) or (eval (("pe" + i) + ".card") == 3009)) {
sundiale = Math.max(sundiale, eval (("pe" + i) + ".charges"));
}
if (((eval (("p" + i) + ".ctrl") > 0) and (eval (("p" + i) + ".card") == 1009)) or (eval (("p" + i) + ".card") == 3009)) {
sundialp = Math.max(sundialp, eval (("p" + i) + ".charges"));
}
i++;
}
if (((sundiale == -1) and (sundialp == -1)) or ((sundialp == 0) and (sundiale == -1))) {
sundial = 0;
}
}
Frame 159
iframe = iframe + 1;
i = iframe;
while (i <= 23) {
if (eval (("c" + i) + ".ctrl") > 0) {
if ((eval (("c" + i) + ".frozen") == 0) and (eval (("c" + i) + ".delay") == 0)) {
Set(("c" + i) + ".skflag", 1);
}
eval ("c" + i).gotoAndStop("turn");
break;
}
i++;
}
iframe = i;
Frame 160
if (eval (("c" + i) + ".adrush") > 0) {
iframe = iframe - 1;
eval ("c" + i).gotoAndStop("idle");
}
Frame 161
if (eval (("c" + i) + ".adrush") > 0) {
gotoAndPlay ("dloop");
}
Frame 162
if (iframe < 23) {
gotoAndPlay ("dloop");
}
Frame 163
iframe = 0;
Frame 164
iframe = iframe + 1;
i = iframe;
while (i <= 19) {
if (eval (("p" + i) + ".ctrl") > 0) {
eval ("p" + i).gotoAndStop("turn");
if ((eval (("p" + i) + ".frozen") == 0) and (eval (("p" + i) + ".delay") == 0)) {
Set(("p" + i) + ".skflag", 1);
}
break;
}
i++;
}
iframe = i;
Frame 167
if (iframe < 19) {
gotoAndPlay ("mloop");
}
Frame 169
i = 1;
while (i <= 8) {
if (eval (("h" + i) + ".card") > 0) {
eval ("h" + i).gotoAndStop("turn");
}
i++;
}
lockskill = 1;
if (_root.level == "pvp") {
turn = "standby";
stop();
timer.gotoAndPlay("cputurn");
}
if (sundial > 0) {
sundial = sundial - 0.5;
}
if (sacrificee > 0) {
sacrificee = sacrificee - 1;
}
if (sacrificee == 0) {
hpbare.hpbar3.gotoAndStop(1);
sacrifice2._visible = false;
}
silence = 0;
unlocker.gotoAndPlay(2);
silence1._visible = false;
silence1.gotoAndStop(1);
sanctuary = 0;
i = 1;
while (i <= 19) {
if ((eval (("p" + i) + ".ctrl") > 0) and (eval (("p" + i) + ".skill") == "sanctuary")) {
sanctuary = 1;
silence1._visible = true;
silence1.gotoAndStop(2);
}
i++;
}
Frame 170
who = "cpu";
h0.n = 0;
novae = 0;
snovae = 0;
if (decken <= 0) {
gotoAndPlay ("win");
} else {
if ((cardshande < 8) and (turnz > 0)) {
i = 1;
while (i <= 8) {
if (eval (("he" + i) + ".card") == 0) {
Set(("he" + i) + ".card", deckex[decken - 1]);
eval ("he" + i).gotoAndPlay(2);
deckex[decken - 1] = 0;
decken = decken - 1;
cardshande = cardshande + 1;
break;
}
i++;
}
}
doubledraw = 0;
if ((level == 6) and (cardshande < 8)) {
doubledraw = 1;
}
if ((level == 5) and (cardshande < 4)) {
doubledraw = 1;
}
if (((level == 4) and (pvpcard500 == 2)) and (cardshande < 8)) {
doubledraw = 1;
}
if (((level == -4) and (pvpcard500 == 2)) and (cardshande < 8)) {
doubledraw = 1;
}
if (doubledraw == 1) {
if (decken <= 0) {
gotoAndPlay ("win");
}
i = 1;
while (i <= 8) {
if (eval (("he" + i) + ".card") == 0) {
Set(("he" + i) + ".card", deckex[decken - 1]);
eval ("he" + i).gotoAndPlay(2);
deckex[decken - 1] = 0;
decken = decken - 1;
cardshande = cardshande + 1;
break;
}
i++;
}
}
}
if (level == "pvp") {
timer.gotoAndStop(1);
var ctrlx = new Array();
ctrln = 0;
ctrlstep = 1;
ctrltot = length(ctrl) / 4;
i = 0;
while (i < ctrltot) {
temp = ctrl.slice(4 * i, 4 * (i + 1));
j = 0;
while (j < 3) {
if (temp.slice(0, 1) == "0") {
temp = temp.slice(1, 4);
}
j++;
}
ctrlx[i] = Number(temp);
i++;
}
}
Frame 171
i = 1;
while (i <= 8) {
if (eval (("h" + i) + ".card") > 0) {
eval ("h" + i).gotoAndStop("turn");
}
i++;
}
Frame 173
if (level != "pvp") {
found = 0;
smaller = 0;
i = 1;
while (i <= 23) {
if (eval (("ce" + i) + ".ctrl") > 0) {
skillelement = eval (("ce" + i) + ".skillelement");
skillcost = eval (("ce" + i) + ".skillcost");
skill = eval (("ce" + i) + ".skill");
statu = eval (("ce" + i) + ".statu");
targete = "ce" + i;
if ((((eval (("ce" + i) + ".skflag") == 1) and (((((skill == "lycanthropy") or (skill == "hatch")) or (skill == "paradox")) or (skill == "devour")) or (skill == "evolve"))) and ((retqe(skillelement) - eval (("ce" + i) + ".skillcost")) >= 0)) and (statu != skill)) {
found = 1;
Set(("ce" + i) + ".skflag", 0);
if (eval (("ce" + i) + ".readiness") == 1) {
Set(("ce" + i) + ".skflag", 1);
Set(("ce" + i) + ".readiness", 0);
}
creatureskills();
break;
}
}
i++;
}
if ((found == 0) and (silencee == 0)) {
i = 1;
while (i <= 8) {
if (eval (("he" + i) + ".card") > 0) {
costelement = eval (("he" + i) + ".costelement");
if (((retqe(costelement) - eval (("he" + i) + ".cost")) >= 0) and (eval (("he" + i) + ".skipme") == 0)) {
eval ("he" + i).gotoAndStop("summon");
found = 1;
break;
}
}
i++;
}
}
if (found == 0) {
i = 1;
while (i <= 23) {
if (eval (("ce" + i) + ".ctrl") > 0) {
skillelement = eval (("ce" + i) + ".skillelement");
skillcost = eval (("ce" + i) + ".skillcost");
skill = eval (("ce" + i) + ".skill");
statu = eval (("ce" + i) + ".statu");
targete = "ce" + i;
if (((((eval (("ce" + i) + ".skflag") == 1) and (skillcost != "")) and (skill != "")) and ((retqe(skillelement) - eval (("ce" + i) + ".skillcost")) >= 0)) and (statu != skill)) {
found = 1;
Set(("ce" + i) + ".skflag", 0);
if (eval (("ce" + i) + ".readiness") == 1) {
Set(("ce" + i) + ".skflag", 1);
Set(("ce" + i) + ".readiness", 0);
}
skillscore = ((retqe(skillelement) - skillcost) / (retqe(skillelement) + 1)) + 0.4;
if (skillcost == 0) {
skillscore = 0.9;
}
if (((((skill == "burrow") and (retq(7) < 3)) and (retq(1) < 3)) and (retq(6) < 3)) and (retq(10) < 3)) {
skillscore = 0;
}
if ((skill == "burrow") and ((statu == "invulnerable") or (monitor.dmge > rethp()))) {
skillscore = 0;
}
if ((skill == "burrow") and ((retq(6) > 4) or (sacrifice > 0))) {
skillscore = 1;
}
if ((skill == "dive") and (((shieldtype == "phaseshift") or (eval (("ce" + i) + ".atknow") <= 0)) or (sacrifice > 0))) {
skillscore = 0;
}
if ((skill == "adrenaline") and (sacrifice > 0)) {
skillscore = 0;
}
if ((skill == "luciferin") and ((_root.monitor.nc < 2) or (rethpe() > (hpemax - 10)))) {
skillscore = 0;
}
if ((skill == "scarab") and (_root.monitor.nc > 22)) {
skillscore = 0;
}
if ((skill == "queen") and (_root.monitor.nc > 22)) {
skillscore = 0;
}
if ((skill == "mitosis") and (_root.monitor.nc > 22)) {
skillscore = 0;
}
if (skill == "dead/alive") {
skillscore = pseudodeath() / 3;
}
if (skill == "plague") {
skillscore = (pseudodeath() + monitor.np) / 3;
}
if (((skill == "infect") and (pseudodeath() <= 0)) and (monitor.np < 1)) {
skillscore = 0;
}
if ((skill == "precognition") and ((cardshande == 8) or (decken < 6))) {
skillscore = 0;
}
if ((skill == "gravity pull") and (shieldcreaturee != 0)) {
skillscore = 0;
}
if ((skill == "photosynthesis") and (retqe(5) > 12)) {
skillscore = 0;
}
if ((skill == "black hole") and (sanctuary > 0)) {
skillscore = 0;
}
ran = Math.random();
autofound = 0;
if (ran < skillscore) {
creatureskills();
break;
}
}
}
i++;
}
}
if (found == 0) {
i = 1;
while (i <= 19) {
if (eval (("pe" + i) + ".ctrl") > 0) {
skillelement = eval (("pe" + i) + ".skillelement");
skillcost = eval (("pe" + i) + ".skillcost");
skill = eval (("pe" + i) + ".skill");
statu = eval (("pe" + i) + ".statu");
targete = "pe" + i;
if (((eval (("pe" + i) + ".skflag") == 1) and (skillcost != "")) and (skill != "")) {
found = 1;
Set(("pe" + i) + ".skflag", 0);
skillscore = ((retqe(skillelement) - skillcost) / retqe(skillelement)) + 0.1;
if ((skill == "ignite") and ((shieldtype == "reflect") or (sacrifice > 0))) {
skillscore = 0;
}
if ((((_root.sacrifice > 0) or (_root.sundial > 0)) or (_root.p10.skill == "phaseshift")) or (((_root.monitor.nc * _root.rethp()) / (1.1 + _root.monitor.dmge)) > 15)) {
defend = 1;
} else {
defend = 0;
}
if ((skill == "patience") and (defend == 1)) {
skillscore = 0;
}
ran = Math.random();
autofound = 0;
if (ran < skillscore) {
permanentskills();
break;
}
}
}
i++;
}
}
} else {
found = 0;
if (((ctrln + 198) <= ctrltot) or ((ctrln <= ctrltot) and (ctrltot < 198))) {
clicknow = ctrlx[ctrln];
ctrln = ctrln + 1;
if ((clicknow >= 4000) and (clicknow < 8000)) {
pvpcard = clicknow - 4000;
card_lv.card = pvpcard;
pvptarget = ctrlx[ctrln] - 9000;
ctrln = ctrln + 1;
i = 1;
while (i <= 8) {
if (eval (("_root.he" + i) + ".card") == pvpcard) {
eval ("he" + i).gotoAndStop("summon");
found = 1;
break;
}
i++;
}
if (found == 0) {
trace("Hand Desync");
he8.card = pvpcard;
he8.fixdesync = 1;
he8.gotoAndPlay(2);
found = 1;
}
}
if ((clicknow >= 2000) and (clicknow < 3000)) {
i = clicknow - 2000;
skillelement = eval (("pe" + i) + ".skillelement");
skillcost = eval (("pe" + i) + ".skillcost");
skill = eval (("pe" + i) + ".skill");
statu = eval (("pe" + i) + ".statu");
targete = "pe" + i;
pvptarget = ctrlx[ctrln] - 9000;
ctrln = ctrln + 1;
permanentskills();
found = 1;
}
if ((clicknow >= 3000) and (clicknow < 4000)) {
i = clicknow - 3000;
skillelement = eval (("ce" + i) + ".skillelement");
skillcost = eval (("ce" + i) + ".skillcost");
skill = eval (("ce" + i) + ".skill");
statu = eval (("ce" + i) + ".statu");
targete = "ce" + i;
pvptarget = ctrlx[ctrln] - 9000;
ctrln = ctrln + 1;
creatureskills();
found = 1;
}
if ((clicknow >= 8000) and (clicknow < 9000)) {
i = clicknow - 8000;
eval ("he" + i).gotoAndPlay("discardme");
found = 1;
}
}
}
if (((needspeed == 1) or (found == 0)) or ((skill == "photosynthesis") and (found == 1))) {
gotoAndPlay ("notyet");
}
Frame 185
notyet = 0;
i = 1;
while (i <= 23) {
if (eval (("c" + i) + ".instantfx._currentframe") > 1) {
notyet = 1;
}
if (eval (("ce" + i) + ".instantfx._currentframe") > 1) {
notyet = 1;
}
i++;
}
if (notyet == 1) {
gotoAndPlay ("notyet");
} else if (found == 1) {
gotoAndPlay ("eAI");
}
Frame 186
if ((level == "pvp") and (ctrltot >= 198)) {
ctrln = ctrltot - 198;
if (nnn != ctrlx[ctrln]) {
traced = "rand desync";
desync.gotoAndStop(2);
}
nnn = ctrlx[ctrln];
ctrln = ctrln + 1;
adjhpe(ctrlx[ctrln]);
ctrln = ctrln + 1;
i = 1;
while (i <= 12) {
adjqe(ctrlx[ctrln]);
ctrln = ctrln + 1;
i++;
}
cardshande = 0;
i = 1;
while (i <= 8) {
if (eval (("he" + i) + ".card") != ctrlx[ctrln]) {
traced = (traced + " card desync") + i;
Set(("he" + i) + ".card", ctrlx[ctrln]);
if (ctrlx[ctrln] == 0) {
eval ("he" + i).gotoAndStop(1);
} else {
eval ("he" + i).gotoAndPlay(2);
}
}
if (ctrlx[ctrln] != 0) {
cardshande++;
}
ctrln = ctrln + 1;
i++;
}
i = 1;
while (i <= 19) {
if ((eval (("pe" + i) + ".card") != ctrlx[ctrln]) and (ctrlx[ctrln + 1] != 0)) {
Set(("pe" + i) + ".card", ctrlx[ctrln]);
eval ("pe" + i).gotoAndPlay(2);
desync.gotoAndStop(3);
card_lv.loadVariables("http://www.elementsthegame.info/stat2.php", "POST");
}
if ((eval (("pe" + i) + ".ctrl") != ctrlx[ctrln + 1]) and (ctrlx[ctrln + 1] == 0)) {
eval ("pe" + i).gotoAndStop(1);
}
ctrln = ctrln + 1;
Set(("pe" + i) + ".ctrl", ctrlx[ctrln]);
ctrln = ctrln + 1;
if ((eval ("pe" + i)._currentframe == 1) and (eval (("pe" + i) + ".ctrl") > 0)) {
eval ("pe" + i).gotoAndPlay(2);
}
i++;
}
i = 1;
while (i <= 23) {
if ((eval (("ce" + i) + ".card") != ctrlx[ctrln]) and (ctrlx[ctrln + 1] != 0)) {
Set(("ce" + i) + ".card", ctrlx[ctrln]);
eval ("ce" + i).gotoAndPlay(2);
desync.gotoAndStop(4);
card_lv.loadVariables("http://www.elementsthegame.info/stat2.php", "POST");
}
if ((eval (("ce" + i) + ".ctrl") != ctrlx[ctrln + 1]) and (ctrlx[ctrln + 1] == 0)) {
eval ("ce" + i).gotoAndStop(1);
}
ctrln = ctrln + 1;
Set(("ce" + i) + ".ctrl", ctrlx[ctrln]);
ctrln = ctrln + 1;
if (ctrlx[ctrln] < 500) {
Set(("ce" + i) + ".atk", ctrlx[ctrln]);
} else {
Set(("ce" + i) + ".atk", 500 - ctrlx[ctrln]);
}
ctrln = ctrln + 1;
Set(("ce" + i) + ".def", ctrlx[ctrln]);
ctrln = ctrln + 1;
if (ctrlx[ctrln] < 500) {
Set(("ce" + i) + ".atknow", ctrlx[ctrln]);
} else {
Set(("ce" + i) + ".atknow", 500 - ctrlx[ctrln]);
}
ctrln = ctrln + 1;
Set(("ce" + i) + ".defnow", ctrlx[ctrln]);
ctrln = ctrln + 1;
if ((eval ("ce" + i)._currentframe == 1) and (eval (("ce" + i) + ".ctrl") == 1)) {
eval ("ce" + i).gotoAndPlay(2);
}
i++;
}
}
Frame 188
if ((level == "pvp") and (ctrltot >= 198)) {
ctrln = ctrltot - 198;
nnn = ctrlx[ctrln];
ctrln = ctrln + 1;
adjhpe(ctrlx[ctrln]);
ctrln = ctrln + 1;
i = 1;
while (i <= 12) {
adjqe(ctrlx[ctrln]);
ctrln = ctrln + 1;
i++;
}
cardshande = 0;
i = 1;
while (i <= 8) {
if (eval (("he" + i) + ".card") != ctrlx[ctrln]) {
Set(("he" + i) + ".card", ctrlx[ctrln]);
if (ctrlx[ctrln] == 0) {
eval ("he" + i).gotoAndStop(1);
} else {
eval ("he" + i).gotoAndPlay(2);
}
}
if (ctrlx[ctrln] != 0) {
cardshande++;
}
ctrln = ctrln + 1;
i++;
}
i = 1;
while (i <= 19) {
if ((eval (("pe" + i) + ".card") != ctrlx[ctrln]) and (ctrlx[ctrln + 1] != 0)) {
Set(("pe" + i) + ".card", ctrlx[ctrln]);
eval ("pe" + i).gotoAndPlay(2);
}
if ((eval (("pe" + i) + ".ctrl") != ctrlx[ctrln + 1]) and (ctrlx[ctrln + 1] == 0)) {
eval ("pe" + i).gotoAndStop(1);
}
ctrln = ctrln + 1;
Set(("pe" + i) + ".ctrl", ctrlx[ctrln]);
ctrln = ctrln + 1;
if ((eval ("pe" + i)._currentframe == 1) and (eval (("pe" + i) + ".ctrl") > 0)) {
eval ("pe" + i).gotoAndPlay(2);
}
i++;
}
i = 1;
while (i <= 23) {
if ((eval (("ce" + i) + ".card") != ctrlx[ctrln]) and (ctrlx[ctrln + 1] != 0)) {
Set(("ce" + i) + ".card", ctrlx[ctrln]);
eval ("ce" + i).gotoAndPlay(2);
}
if ((eval (("ce" + i) + ".ctrl") != ctrlx[ctrln + 1]) and (ctrlx[ctrln + 1] == 0)) {
eval ("ce" + i).gotoAndStop(1);
}
ctrln = ctrln + 1;
Set(("ce" + i) + ".ctrl", ctrlx[ctrln]);
ctrln = ctrln + 1;
if (ctrlx[ctrln] < 500) {
Set(("ce" + i) + ".atk", ctrlx[ctrln]);
} else {
Set(("ce" + i) + ".atk", 500 - ctrlx[ctrln]);
}
ctrln = ctrln + 1;
Set(("ce" + i) + ".def", ctrlx[ctrln]);
ctrln = ctrln + 1;
if (ctrlx[ctrln] < 500) {
Set(("ce" + i) + ".atknow", ctrlx[ctrln]);
} else {
Set(("ce" + i) + ".atknow", 500 - ctrlx[ctrln]);
}
ctrln = ctrln + 1;
Set(("ce" + i) + ".defnow", ctrlx[ctrln]);
ctrln = ctrln + 1;
if ((eval ("ce" + i)._currentframe == 1) and (eval (("ce" + i) + ".ctrl") == 1)) {
eval ("ce" + i).gotoAndPlay(2);
}
i++;
}
}
Frame 189
if (cardshande > 7) {
trace(cardshande);
ran = 0;
i = 1;
while (i <= 8) {
discardthis = (eval (("he" + i) + ".cost") / 10) + eval (("he" + i) + ".suspicious");
if ((eval (("he" + i) + ".card") == 1014) or (eval (("he" + i) + ".card") == 3014)) {
discardthis = 0;
}
if (discardthis > Math.random()) {
ran = i;
break;
}
i++;
}
if (ran == 0) {
ran = Math.floor(Math.random() * 7) + 1;
}
eval ("he" + ran).gotoAndPlay("discardme");
}
if ((shieldtypee == "phaseshift") and (pe4.invulnerability == 0)) {
deshielde();
}
silencee = 0;
silence2._visible = false;
silence2.gotoAndStop(1);
sanctuarye = 0;
i = 1;
while (i <= 19) {
if ((eval (("pe" + i) + ".ctrl") > 0) and (eval (("pe" + i) + ".skill") == "sanctuary")) {
sanctuarye = 1;
silence2._visible = true;
silence2.gotoAndStop(2);
}
i++;
}
Frame 191
iframe = 0;
sel.skill == "";
skill == "";
if (retpo() > 0) {
addhp(-retpo());
if (rethp() < 0) {
adjhp(0);
}
atktext = "- " + poison;
_root.hpeffect.val = atktext;
_root.hpeffect.gotoAndPlay(2);
}
if ((retpo() < 0) and (rethp() < hpmax)) {
addhp(-retpo());
if (rethp() > hpmax) {
adjhp(hpmax);
}
atktext = poison;
_root.hpeffect.val = atktext;
_root.hpeffect.gotoAndPlay(2);
}
i = 1;
while (i <= 19) {
if ((eval (("_root.pe" + i) + ".ctrl") > 0) and (eval (("_root.pe" + i) + ".skill") == "patience")) {
patiencee();
break;
}
i++;
}
if (_root.sundial > 0) {
sundialp = -1;
sundiale = -1;
i = 1;
while (i <= 19) {
if (((eval (("pe" + i) + ".ctrl") > 0) and (eval (("pe" + i) + ".card") == 1009)) or (eval (("pe" + i) + ".card") == 3009)) {
sundiale = Math.max(sundiale, eval (("pe" + i) + ".charges"));
}
if (((eval (("p" + i) + ".ctrl") > 0) and (eval (("p" + i) + ".card") == 1009)) or (eval (("p" + i) + ".card") == 3009)) {
sundialp = Math.max(sundialp, eval (("p" + i) + ".charges"));
}
i++;
}
if (((sundiale == -1) and (sundialp == -1)) or ((sundialp == -1) and (sundiale == 0))) {
sundial = 0;
}
}
Frame 192
iframe = iframe + 1;
i = iframe;
while (i <= 23) {
if (eval (("ce" + i) + ".ctrl") > 0) {
if ((eval (("ce" + i) + ".frozen") == 0) and (eval (("ce" + i) + ".delay") == 0)) {
Set(("ce" + i) + ".skflag", 1);
}
eval ("ce" + i).gotoAndPlay("turn");
break;
}
i++;
}
iframe = i;
Frame 193
if (eval (("ce" + i) + ".adrush") > 0) {
iframe = iframe - 1;
eval ("ce" + i).gotoAndStop("idle");
}
Frame 194
if (eval (("ce" + i) + ".adrush") > 0) {
gotoAndPlay ("dloope");
}
Frame 195
if (iframe < 23) {
gotoAndPlay ("dloope");
}
Frame 196
iframe = 0;
Frame 197
iframe = iframe + 1;
i = iframe;
while (i <= 19) {
if (eval (("pe" + i) + ".ctrl") > 0) {
eval ("pe" + i).gotoAndStop("turn");
if ((eval (("pe" + i) + ".frozen") == 0) and (eval (("pe" + i) + ".delay") == 0)) {
Set(("pe" + i) + ".skflag", 1);
}
break;
}
i++;
}
iframe = i;
Frame 200
if (iframe < 19) {
gotoAndPlay ("mloope");
}
Frame 201
if (tmercy == 1) {
mercy = mercy + 1;
} else {
mercy = 0;
}
if (mercy >= 2) {
silencee = 1;
}
tmercy = 0;
precognition = 0;
i = 1;
while (i <= 8) {
if (eval (("he" + i) + ".card") > 0) {
eval ("he" + i).gotoAndStop("idle");
eval ("he" + i).img._visible = false;
eval ("he" + i).txt._visible = false;
eval ("he" + i).cardback._visible = true;
}
i++;
}
if (sundial > 0) {
sundial = sundial - 0.5;
}
if (sacrifice > 0) {
sacrifice = sacrifice - 1;
}
if (sacrifice == 0) {
hpbar.hpbar3.gotoAndStop(1);
sacrifice1._visible = false;
}
Frame 202
turn = "myturn";
who = "player";
statu = "drawing";
nova = 0;
snova = 0;
if (_root.level == "pvp") {
var ctrlx = new Array();
ctrln = 0;
ctrlstep = 2;
}
Frame 203
glasslock = 1;
if (deckn <= 0) {
gotoAndPlay ("lose");
} else if (cardshand < 8) {
i = 1;
while (i <= 8) {
if (eval (("h" + i) + ".card") == 0) {
deckg.gotoAndPlay(2);
break;
}
i++;
}
}
Frame 239
statu = "standby";
if ((cardshand < 8) and (duality == 0)) {
Set(("h" + i) + ".card", deckx[deckn - 1]);
eval ("h" + i).gotoAndPlay(2);
if ((Math.random() > 0.999) and (score > 100)) {
card_lv.card = deckx[deckn - 1];
card_lv.loadVariables("http://www.elementsthegame.info/stat.php", "POST");
}
deckx[deckn - 1] = 0;
deckn = deckn - 1;
cardshand = cardshand + 1;
}
if ((cardshand < 8) and (duality == 1)) {
i = 1;
while (i <= 8) {
if (eval (("h" + i) + ".card") == 0) {
Set(("h" + i) + ".card", deckex[decken - 1]);
eval ("h" + i).gotoAndPlay(2);
duality = 0;
cardshand = cardshand + 1;
break;
}
i++;
}
}
if ((deckn == 0) and (cardwarning == 0)) {
tutortext = "Warning: This was your last card, you are going to lose if you can not draw cards";
tutor.gotoAndPlay(2);
cardwarning = 1;
}
glasslock = 0;
_root.unlocker.gotoAndPlay(2);
Frame 240
lockskill = 0;
i = 1;
while (i <= 23) {
if (eval (("c" + i) + ".ctrl") > 0) {
eval ("c" + i).gotoAndStop("idle");
}
if (eval (("ce" + i) + ".ctrl") > 0) {
eval ("ce" + i).gotoAndStop("idle");
}
i++;
}
i = 1;
while (i <= 19) {
if (eval (("p" + i) + ".ctrl") > 0) {
eval ("p" + i).gotoAndStop("idle");
}
i++;
}
i = 1;
while (i <= 8) {
if (eval (("h" + i) + ".card") > 0) {
eval ("h" + i).gotoAndStop("idle");
}
i++;
}
if (level == "pvp") {
timer.gotoAndPlay("myturn");
}
Frame 241
stop();
Frame 242
i = 1;
while (i <= 8) {
if (eval (("h" + i) + ".card") > 0) {
eval ("h" + i).gotoAndStop("turn");
}
i++;
}
reader.gotoAndStop(1);
if (level == 4) {
t500x[pvpleague] = 0;
}
if (level == "pvp") {
ctrl = ctrlx.join("");
if (role == "master") {
pvp_lv.masterctrl = ctrl;
pvp_lv.statu = "masterleft";
pvp_lv.loadVariables(pvpserver + pvpwritemaster, "POST");
}
if (role == "slave") {
pvp_lv.slavectrl = ctrl;
pvp_lv.statu = "slaveleft";
pvp_lv.loadVariables(pvpserver + pvpwriteslave, "POST");
}
}
if (kong == 1) {
kongregate.stats.submit("lost", lost);
}
timez = Math.floor((getTimer() - timestart) / 1000);
Frame 243
if (level == 4) {
updown._visible = true;
} else {
updown._visible = false;
}
stop();
Frame 244
stop();
Frame 246
if ((level == 4) or (level == -4)) {
gotoAndPlay ("t500");
} else {
gotoAndStop ("menu");
}
Frame 247
reader.gotoAndStop(1);
if (level == "pvp") {
ctrl = ctrlx.join("");
if (role == "master") {
pvp_lv.masterctrl = ctrl;
pvp_lv.statu = "masterdone";
pvp_lv.loadVariables(pvpserver + pvpwritemaster, "POST");
}
if (role == "slave") {
pvp_lv.slavectrl = ctrl;
pvp_lv.statu = "slavedone";
pvp_lv.loadVariables(pvpserver + pvpwriteslave, "POST");
}
}
if (disconnected == 1) {
level = "pvp";
}
timez = Math.floor((getTimer() - timestart) / 1000);
play();
Frame 248
dbupdate();
adjcha(0);
hp = rethp();
explain._visible = false;
if (level == -4) {
gained = 0;
}
if (level == 0) {
addele(1);
fhc = fhc + 1;
gained = 1;
addwon(1);
addsco(1);
lost = lost - 1;
quest1 = 1;
}
if (level == 1) {
gained = 1 + Math.floor(hp / 25);
addele(2 + gained);
fhc = (fhc + 2) + gained;
addwon(1);
addsco(2 + gained);
adjcha(1);
lost = lost - 1;
quest4 = 1;
if (kong == 1) {
kongregate.stats.submit("lvl1", 1);
}
}
if (level == 2) {
gained = 5 + Math.floor(hp / 20);
addele(5 + gained);
fhc = (fhc + 5) + gained;
addwon(1);
addsco(5 + gained);
adjcha(2);
lost = lost - 1;
quest5 = 1;
if (kong == 1) {
kongregate.stats.submit("lvl2", 1);
}
}
if (level == 3) {
gained = 10 + Math.floor(hp / 10);
addele(10 + gained);
addwon(1);
addsco(10 + gained);
fhc = (fhc + 10) + gained;
adjcha(3);
lost = lost - 1;
if (kong == 1) {
kongregate.stats.submit("lvl3", 1);
}
}
i = 1;
while (i <= 6) {
eval ("l" + i)._visible = false;
i++;
}
if (level == 4) {
gained = Math.floor((pvpreward / 2) + (pvpreward * (hp / 200)));
t500x[pvpleague] = t500x[pvpleague] + 1;
addele(20 + gained);
fhc = (fhc + 20) + gained;
addwon(1);
addsco(20 + gained);
adjcha(3);
lost = lost - 1;
i = 1;
while (i <= t500x[pvpleague]) {
eval ("l" + i).gotoAndStop(2);
i++;
}
i = 1;
while (i <= (6 - pvpleague)) {
eval ("l" + i)._visible = true;
i++;
}
explain._visible = true;
pvp_lv.opponent = pvpid;
pvpid = 0;
pvp_lv.rank = rmultiple;
pvp_lv.league = pvpleague;
pvp_lv.action = "won";
pvp_lv.loadVariables("http://www.elementsthegame.com/t503.php", "POST");
}
if (level == 5) {
gained = 15 + Math.floor(hp / 4);
addele(20 + gained);
fhc = (fhc + 20) + gained;
addwon(1);
addsco(20 + gained);
adjcha(3);
lost = lost - 1;
if (kong == 1) {
kongregate.stats.submit("lvl5", 1);
}
}
if (level == 6) {
gained = 35 + Math.floor(hp / 4);
addele(30 + gained);
fhc = (fhc + 30) + gained;
addwon(1);
addsco(60 + gained);
adjcha(3);
lost = lost - 1;
if (kong == 1) {
kongregate.stats.submit("lvl6", 1);
}
}
if ((level == "pvp") and (duel == 0)) {
gained = winninge;
addele(gained);
fhc = fhc + gained;
addwon(1);
addsco(losing + winning);
adjcha(3);
lost = lost - 1;
if (kong == 1) {
kongregate.stats.submit("pvp", 1);
}
}
if ((level == "pvp") and (duel == 2)) {
gained = winninge;
addele(gained);
fhc = fhc + gained;
addwon(1);
addsco(losing + winning);
adjcha(3);
lost = lost - 1;
if (kong == 1) {
kongregate.stats.submit("pvp", 1);
}
}
if (((hp >= hpmax) and (level != "pvp")) and (level != -4)) {
addele(gained);
fhc = fhc + gained;
gained = gained * 2;
addsco(5 * level);
gratz.gotoAndPlay(2);
}
if (((hp >= hpmax) and (level == "pvp")) and (duel == 0)) {
addele(20);
fhc = fhc + 20;
gained = gained + 20;
addsco(20);
gratz.gotoAndPlay(2);
}
if (((hp >= hpmax) and (level == "pvp")) and (duel == 2)) {
addele(30);
fhc = fhc + 30;
gained = gained + 30;
addsco(30);
gratz.gotoAndPlay(2);
}
if ((kong == 1) and (score < 1000000)) {
kongregate.stats.submit("won", won);
kongregate.stats.submit("score", score);
kongregate.stats.submit("lost", lost);
}
stop();
Frame 249
if ((level == 4) or (level == -4)) {
gotoAndPlay ("t500");
} else {
gotoAndStop ("menu");
}
Frame 250
var t500wis = new Array(0, 5, 10, 20, 30, 60);
currentlevel = mylevel();
if (t500building == 1) {
t500card = cardo;
t500level = currentlevel;
hp500 = 100;
up500 = 0;
mark500 = 1;
card500 = 1;
t500age = 0;
}
usedpts = ((Math.floor((hp500 - 100) / 5) + (up500 * 4)) + ((mark500 - 1) * 10)) + ((card500 - 1) * 20);
levelpts = t500level - usedpts;
t500dlevel = t500level - levelpts;
upc500 = t500wis[up500];
abar4.t500mask._xscale = (card500 - 1) * 100;
abar3.t500mask._xscale = (mark500 - 1) * 50;
abar2.t500mask._xscale = up500 * 20;
abar1.t500mask._xscale = hp500 - 100;
hp500aged = hp500;
if (t500age > 0) {
hp500aged = Math.max(hp500 - Math.pow(2, t500age), 1);
}
to.gotoAndStop(Math.ceil((t500level + 1) / 20));
to.bigone.gotoAndStop(t500card);
stop();
Frame 252
fastlock = 0;
saving.gotoAndStop(1);
play();
if (deckalln > 90) {
filter = 0;
} else {
filter = -1;
}
if ((deckalln > 90) and (deckalln < 100)) {
toomany.gotoAndPlay(2);
}
if (t500building == 1) {
savedeck = deckp1;
savedeckn = deckpn1;
saveelement = element;
var tracex = new Array();
i = 0;
while (i <= 4) {
temp = cardo;
if (up500 > i) {
temp = cardo + 2000;
}
if (temp < 10) {
temp = "000" + temp;
} else if (temp < 100) {
temp = "00" + temp;
} else if (temp < 1000) {
temp = "0" + temp;
}
tracex[i] = temp;
i++;
}
deckp1 = tracex.join("");
deckpn1 = 5;
element = t500element;
}
if (t500building == 2) {
savedeck = deckp1;
savedeckn = deckpn1;
saveelement = element;
deckp1 = t500deck;
deckpn1 = t500deckn;
element = t500element;
}
Frame 253
var deckax = new Array();
var deckx = new Array();
duplicateMovieClip ("prototutor", "tutor", this.getNextHighestDepth());
tutor._x = prototutor._x;
tutor._y = prototutor._y;
bazaar = 0;
i = 1;
while (i <= 60) {
Set(("d" + i) + ".pos", i);
i++;
}
i = 1;
while (i <= 90) {
Set(("a" + i) + ".pos", i);
i++;
}
lng = length(deckall);
deckallchk = "";
i = 0;
while (i < lng) {
temp = Number(deckall.slice(i, i + 1));
if (!isNaN(temp)) {
deckallchk = deckallchk + temp;
}
i++;
}
deckall = deckallchk;
deckalln = Math.floor(length(deckall) / 4);
deckalltempn = deckalln;
i = 0;
while (i < deckalln) {
temp = deckall.slice(4 * i, 4 * (i + 1));
j = 0;
while (j < 3) {
if (temp.slice(0, 1) == "0") {
temp = temp.slice(1, 4);
}
j++;
}
deckax[i] = Number(temp);
i++;
}
deckxn = 0;
deckpn1 = Math.floor(length(deckp1) / 4);
if (deckpn1 > 60) {
deckpn1 = 60;
}
i = 0;
while (i < deckpn1) {
temp = deckp1.slice(4 * i, 4 * (i + 1));
j = 0;
while (j < 3) {
if (temp.slice(0, 1) == "0") {
temp = temp.slice(1, 4);
}
j++;
}
howmany = 1;
k = 1;
while (k <= i) {
if ((((((deckx[k - 1] == Number(temp)) or (deckx[k - 1] == (Number(temp) + 2000))) or ((deckx[k - 1] + 2000) == Number(temp))) and (Math.floor(Number(temp) / 50) != (Number(temp) / 50))) and (Number(temp) != 2)) and (Number(temp) != 2002)) {
howmany = howmany + 1;
}
k++;
}
if ((howmany <= 6) and ((t500building == 0) or (i > 5))) {
j = 0;
while (j < deckalln) {
if (deckax[j] == Number(temp)) {
deckax[j] = "none";
deckalltempn = deckalltempn - 1;
deckx[i] = Number(temp);
deckxn = deckxn + 1;
break;
}
j++;
}
}
if ((t500building > 0) and (i <= 5)) {
deckx[i] = Number(temp);
deckxn = deckxn + 1;
}
i++;
}
if (t500building > 0) {
bazbtt._visible = false;
baztxt._visible = false;
canc._visible = true;
impexp._visible = false;
subtext = "Submit";
}
if (t500building == 0) {
bazbtt._visible = true;
baztxt._visible = true;
canc._visible = false;
impexp._visible = true;
subtext = "Menu";
}
deckpn1 = deckxn;
displaydeck();
displaycards();
mark.card = Number(element + 10);
mark.gotoAndPlay(2);
stop();
Frame 254
gotoAndPlay(where);
Frame 255
fastlock = 0;
play();
Frame 256
var deckax = new Array();
var deckbx = new Array();
var deckx = new Array();
bazaar = 1;
lng = length(deckall);
deckallchk = "";
i = 0;
while (i < lng) {
temp = Number(deckall.slice(i, i + 1));
if (!isNaN(temp)) {
deckallchk = deckallchk + temp;
}
i++;
}
deckall = deckallchk;
deckalln = Math.floor(length(deckall) / 4);
deckalltempn = deckalln;
i = 1;
while (i <= 60) {
Set(("d" + i) + ".pos", i);
i++;
}
i = 1;
while (i <= 90) {
Set(("a" + i) + ".pos", i);
i++;
}
i = 0;
while (i < deckalln) {
temp = deckall.slice(4 * i, 4 * (i + 1));
j = 0;
while (j < 3) {
if (temp.slice(0, 1) == "0") {
temp = temp.slice(1, 4);
}
j++;
}
deckax[i] = Number(temp);
i++;
}
i = 0;
while (i < deckbn) {
temp = deckb.slice(4 * i, 4 * (i + 1));
j = 0;
while (j < 3) {
if (temp.slice(0, 1) == "0") {
temp = temp.slice(1, 4);
}
j++;
}
deckbx[i] = Number(temp);
i++;
}
i = 0;
while (i < deckpn1) {
temp = deckp1.slice(4 * i, 4 * (i + 1));
j = 0;
while (j < 3) {
if (temp.slice(0, 1) == "0") {
temp = temp.slice(1, 4);
}
j++;
}
deckx[i] = Number(temp);
j = 0;
while (j < deckalln) {
if (deckax[j] == Number(temp)) {
deckax[j] = "none";
deckalltempn = deckalltempn - 1;
break;
}
j++;
}
i++;
}
filter = 0;
displaybazaar();
if (deckalln > 90) {
filter = 0;
} else {
filter = -1;
}
displaycards();
if ((deckalln > 90) and (deckalln < 100)) {
toomany.gotoAndPlay(2);
}
stop();
Frame 257
gotoAndPlay(where);
Frame 258
play();
Frame 259
var deckax = new Array();
var deckbx = new Array();
var deckx = new Array();
bazaar = 2;
lng = length(deckall);
deckallchk = "";
i = 0;
while (i < lng) {
temp = Number(deckall.slice(i, i + 1));
if (!isNaN(temp)) {
deckallchk = deckallchk + temp;
}
i++;
}
deckall = deckallchk;
deckalln = Math.floor(length(deckall) / 4);
deckalltempn = deckalln;
i = 1;
while (i <= 60) {
Set(("d" + i) + ".pos", i);
i++;
}
i = 1;
while (i <= 90) {
Set(("a" + i) + ".pos", i);
i++;
}
i = 0;
while (i < deckalln) {
temp = deckall.slice(4 * i, 4 * (i + 1));
j = 0;
while (j < 3) {
if (temp.slice(0, 1) == "0") {
temp = temp.slice(1, 4);
}
j++;
}
deckax[i] = Number(temp);
i++;
}
i = 0;
while (i < deckpn1) {
temp = deckp1.slice(4 * i, 4 * (i + 1));
j = 0;
while (j < 3) {
if (temp.slice(0, 1) == "0") {
temp = temp.slice(1, 4);
}
j++;
}
deckx[i] = Number(temp);
j = 0;
while (j < deckalln) {
if (deckax[j] == Number(temp)) {
deckax[j] = "none";
deckalltempn = deckalltempn - 1;
break;
}
j++;
}
i++;
}
filter = 0;
displaybazaar();
if (deckalln > 90) {
filter = 0;
} else {
filter = -1;
}
displaycards();
if ((deckalln > 90) and (deckalln < 100)) {
toomany.gotoAndPlay(2);
}
stop();
Frame 260
gotoAndPlay(where);
Frame 261
var creatureindex = new Array();
i = 0;
n = 0;
Frame 262
i = i + 1;
card.gotoAndStop(i);
Frame 263
if (i < 1202) {
if (ctype == "creature") {
temp = i;
if (temp < 10) {
temp = "000" + temp;
}
if (temp < 100) {
temp = "00" + temp;
}
if (temp < 1000) {
temp = "0" + temp;
}
creatureindex[n] = temp;
n = n + 1;
}
gotoAndPlay ("scanloop");
} else {
trace(n);
trace(creatureindex.join(""));
}
Frame 265
adjfo(2);
oraclepet = "-";
oraclefg = "-";
oraclecard = "-";
fortunecard = "";
fortune1 = "";
fortune2 = "";
oraclecoin = 0;
var cindexx = new Array();
i = 0;
while (i < cindexn) {
temp = cindex.slice(4 * i, 4 * (i + 1));
j = 0;
while (j < 3) {
if (temp.slice(0, 1) == "0") {
temp = temp.slice(1, 4);
}
j++;
}
cindexx[i] = Number(temp);
i++;
}
deckon = Number(deckan) + 12;
decko = decka + "012002200320042005200620072008200920102011201220";
ran = Math.floor(Math.random() * deckon);
if ((ran > deckan) and (Math.random() > 0.5)) {
ran = Math.floor(Math.random() * deckon);
}
temp = decko.slice(4 * ran, 4 * (ran + 1));
j = 0;
while (j < 3) {
if (temp.slice(0, 1) == "0") {
temp = temp.slice(1, 4);
}
j++;
}
cardo = temp;
dbupdate();
Frame 266
stop();
Frame 269
zodiac._rotation = zodiac._rotation + 1;
gotoAndPlay ("zodiacloop");
Frame 271
if (Math.abs(zodiactarget - zodiac._rotation) > 1) {
inertia = ((zodiactarget - zodiac._rotation) / 5) + 3;
zodiac._rotation = zodiac._rotation + ((zodiactarget - zodiac._rotation) / inertia);
gotoAndPlay ("oracleloop");
} else {
drawcard.gotoAndPlay(2);
oracleok.gotoAndStop(3);
oraclecard = "Yes";
oraclepets = oraclepet;
oraclefgs = oraclefg;
fortunecard = eval ("cardname" + cardo);
cardo2 = cardo;
if (Math.floor(cardo / 50) == (cardo / 50)) {
cardo2 = Math.floor(cardo / 100) * 100;
}
fortune1 = eval ("for" + cardo2);
fortune2 = eval ("tune" + cardo2);
deckpn3 = deckpn3 + 1;
stop();
}
Symbol 3221 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
class mochi.as2.MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("3.0 as2");
}
static function showPreGameAd(options) {
var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local22 = 11000;
var _local25 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local21 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local23 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local21);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local23, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local22;
chk.ad_timeout = _local25;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local2});
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local9);
var clip = options.clip;
var _local8 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local4 = _getRes(options);
var _local10 = _local4[0];
var _local7 = _local4[1];
mc._x = _local10 * 0.5;
mc._y = _local7 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local8;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local20 = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local7 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local7._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local7.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local7._mochiad_loaded = true;
if (_local7._url.indexOf("http") != 0) {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
}
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local9;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local9);
_local6.lc = _local5;
_local4.lc = _local9;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
if (clip._mochiad._containerLCName != undefined) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"});
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local4);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local3);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
}
Symbol 3222 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
class mochi.as2.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _loader, _loaderListener, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("3.0");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local3 = "_mochiservices_com_" + id;
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
if (urlOptions().servicesURL != undefined) {
_servicesURL = urlOptions().servicesURL;
}
allowDomains(_servicesURL);
_clip = clip.createEmptyMovieClip(_local3, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
_loader = new MovieClipLoader();
if (_loaderListener.waitInterval != null) {
clearInterval(_loaderListener.waitInterval);
}
_loaderListener = {};
_loaderListener.onLoadError = function (target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, [errorCode]);
};
_loaderListener.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_loaderListener.startTime = getTimer();
_loaderListener.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_loaderListener.waitInterval = setInterval(_loaderListener, "wait", 1000);
_loader.addListener(_loaderListener);
_loader.loadClip((((_servicesURL + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_clip, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
};
trace("connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
onError.apply(null, ["NotConnected"]);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
if (_root.mochiad_options) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://x.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static var _servicesURL = "http://www.mochiads.com/static/lib/services/services.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
}
Symbol 3223 MovieClip [__Packages.mochi.as2.MochiScores] Frame 0
class mochi.as2.MochiScores
{
static var boardID, onClose, onError;
function MochiScores () {
}
static function setBoardID(boardID) {
mochi.as2.MochiScores.boardID = boardID;
mochi.as2.MochiServices.send("scores_setBoardID", {boardID:boardID});
}
static function showLeaderboard(options) {
if ((options.clip == null) || (options.clip == undefined)) {
options.clip = mochi.as2.MochiServices.clip;
}
if ((options.clip != mochi.as2.MochiServices.__get__clip()) || (mochi.as2.MochiServices.__get__childClip()._target == undefined)) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.connect(mochi.as2.MochiServices.__get__id(), options.clip);
}
delete options.clip;
if (options.name != null) {
if (typeof(options.name) == "object") {
if (options.name.text != undefined) {
options.name = options.name.text;
}
}
}
if (options.score != null) {
if (options.score instanceof TextField) {
if (options.score.text != undefined) {
options.score = options.score.text;
}
} else if (options.score instanceof mochi.as2.MochiDigits) {
options.score = options.score.value;
}
var _local1 = Number(options.score);
if (isNaN(_local1)) {
trace(("ERROR: Submitted score '" + options.score) + "' will be rejected, score is 'Not a Number'");
} else if ((_local1 == Number.NEGATIVE_INFINITY) || (_local1 == Number.POSITIVE_INFINITY)) {
trace(("ERROR: Submitted score '" + options.score) + "' will be rejected, score is an infinite");
} else {
if (Math.floor(_local1) != _local1) {
trace(("WARNING: Submitted score '" + options.score) + "' will be truncated");
}
options.score = _local1;
}
}
if (options.onDisplay != null) {
options.onDisplay();
} else {
mochi.as2.MochiServices.__get__clip().stop();
}
if (options.onClose != null) {
onClose = options.onClose;
} else {
onClose = function () {
mochi.as2.MochiServices.__get__clip().play();
};
}
if (options.onError != null) {
onError = options.onError;
} else {
onError = onClose;
}
if (options.boardID == null) {
if (boardID != null) {
options.boardID = boardID;
}
}
trace("[MochiScores] NOTE: Security Sandbox Violation errors below are normal");
mochi.as2.MochiServices.send("scores_showLeaderboard", {options:options}, null, doClose);
}
static function closeLeaderboard() {
mochi.as2.MochiServices.send("scores_closeLeaderboard");
}
static function getPlayerInfo(callbackObj, callbackMethod) {
mochi.as2.MochiServices.send("scores_getPlayerInfo", null, callbackObj, callbackMethod);
}
static function submit(score, name, callbackObj, callbackMethod) {
score = Number(score);
if (isNaN(score)) {
trace(("ERROR: Submitted score '" + String(score)) + "' will be rejected, score is 'Not a Number'");
} else if ((score == Number.NEGATIVE_INFINITY) || (score == Number.POSITIVE_INFINITY)) {
trace(("ERROR: Submitted score '" + String(score)) + "' will be rejected, score is an infinite");
} else {
if (Math.floor(score) != score) {
trace(("WARNING: Submitted score '" + String(score)) + "' will be truncated");
}
score = Number(score);
}
mochi.as2.MochiServices.send("scores_submit", {score:score, name:name}, callbackObj, callbackMethod);
}
static function requestList(callbackObj, callbackMethod) {
mochi.as2.MochiServices.send("scores_requestList", null, callbackObj, callbackMethod);
}
static function scoresArrayToObjects(scores) {
var _local5 = {};
var _local1;
var _local4;
var _local2;
var _local6;
for (var _local8 in scores) {
if (typeof(scores[_local8]) == "object") {
if ((scores[_local8].cols != null) && (scores[_local8].rows != null)) {
_local5[_local8] = [];
_local2 = scores[_local8];
_local4 = 0;
while (_local4 < _local2.rows.length) {
_local6 = {};
_local1 = 0;
while (_local1 < _local2.cols.length) {
_local6[_local2.cols[_local1]] = _local2.rows[_local4][_local1];
_local1++;
}
_local5[_local8].push(_local6);
_local4++;
}
} else {
_local5[_local8] = {};
for (var _local7 in scores[_local8]) {
_local5[_local8][_local7] = scores[_local8][_local7];
}
}
} else {
_local5[_local8] = scores[_local8];
}
}
return(_local5);
}
static function doClose(args) {
if (args.error == true) {
if (args.errorCode == undefined) {
args.errorCode = "IOError";
}
onError.apply(null, [args.errorCode]);
} else {
onClose.apply();
}
}
}
Symbol 3224 MovieClip [__Packages.mochi.as2.MochiDigits] Frame 0
class mochi.as2.MochiDigits
{
var Encoder, Fragment, Sibling;
function MochiDigits (digit, index) {
Encoder = 0;
setValue(digit, index);
}
function get value() {
return(Number(toString()));
}
function set value(v) {
setValue(v);
//return(value);
}
function addValue(v) {
value = value + v;
}
function setValue(digit, index) {
var _local3 = digit.toString();
if ((index == undefined) || (isNaN(index))) {
index = 0;
}
Fragment = _local3.charCodeAt(index++) ^ Encoder;
if (index < _local3.length) {
Sibling = new mochi.as2.MochiDigits(digit, index);
} else {
Sibling = null;
}
reencode();
}
function reencode() {
var _local2 = int(2147483647 * Math.random());
Fragment = Fragment ^ (_local2 ^ Encoder);
Encoder = _local2;
}
function toString() {
var _local2 = String.fromCharCode(Fragment ^ Encoder);
return(((Sibling != null) ? (_local2.concat(Sibling.toString())) : (_local2)));
}
}
Symbol 5 MovieClip Frame 1
stop();
Symbol 25 Button
on (release) {
n = 0;
gotoAndPlay ("error");
getURL ("http://www.elementsthegame.com/connections.html", "_blank");
}
Symbol 29 MovieClip Frame 1
n = 0;
nn = 0;
stop();
Symbol 29 MovieClip Frame 23
if (_root.insert_lv.errorcode != "updated") {
if (n > 100) {
if (nn == 0) {
gotoAndPlay ("error");
}
if (nn == 1) {
gotoAndPlay ("disc");
}
} else {
gotoAndPlay ("saveloop");
n = n + 1;
}
} else {
gotoAndPlay ("done");
}
Symbol 29 MovieClip Frame 24
_root.insert_lv.errorcode = -1;
_root.insert_lv.loadVariables("http://www.elementsthegame.com/testo2.php", "POST");
Symbol 29 MovieClip Frame 31
if (_root.insert_lv.errorcode == -1) {
if (n > 200) {
gotoAndPlay ("disc");
} else {
gotoAndPlay ("loginloop");
n = n + 1;
}
} else if (_root.insert_lv.errorcode == 0) {
if (Number(_root.insert_lv.score) == _root.score) {
play();
} else {
gotoAndPlay ("error");
}
}
Symbol 29 MovieClip Frame 32
if (_root.retfo() == 2) {
_root.adjfo(1);
_root.play();
}
if (_root.newemail != "") {
_root.email = _root.newemail;
_root.newemail = "";
}
if (_root.newpsw != "") {
_root.psw = _root.newpsw;
_root.newpsw = "";
}
Symbol 29 MovieClip Frame 51
gotoAndStop (1);
Symbol 29 MovieClip Frame 74
n = 50;
nn = 1;
_root.alternateserver = _root.alternateserver * -1;
_root.dbupdate();
gotoAndPlay (2);
Symbol 29 MovieClip Frame 133
gotoAndPlay ("disc");
Symbol 30 MovieClip Frame 1
stop();
responsive = 1;
lastread = "";
lastmessage = "";
_root.readfaster = 0;
nn = 0;
Symbol 30 MovieClip Frame 2
n = 0;
_root.read_lv.id = _root.pvp_lv.id;
_root.read_lv.errorcode = -1;
_root.read_lv.loadVariables(_root.pvpserver + _root.pvpreadrpvp, "POST");
Symbol 30 MovieClip Frame 10
if (_root.readfaster == 1) {
_root.readfaster = 0;
gotoAndPlay (40);
}
Symbol 30 MovieClip Frame 75
if (_root.read_lv.errorcode == 0) {
gotoAndPlay ("load");
nn = 0;
if (((((_root.read_lv.mastermsg != "masterlast") and (_root.read_lv.mastermsg != "masterfirst")) and (_root.read_lv.mastermsg != "")) and (_root.read_lv.mastermsg != lastmessage)) and (_root.role == "slave")) {
_root.tutortext2 = (_root.pvpuser + " says: ") + _root.read_lv.mastermsg;
_root.tutor2.gotoAndPlay(2);
lastmessage = _root.read_lv.mastermsg;
}
if (((_root.read_lv.slavemsg != "") and (_root.read_lv.slavemsg != lastmessage)) and (_root.role == "master")) {
_root.tutortext2 = (_root.pvpuser + " says: ") + _root.read_lv.slavemsg;
_root.tutor2.gotoAndPlay(2);
lastmessage = _root.read_lv.slavemsg;
}
if ((((_root.read_lv.statu == "masterdone") and (responsive == 1)) and (_root.turn == "standby")) and (_root.role == "slave")) {
_root.turn = "cputurn";
_root.ctrl = _root.read_lv.masterctrl;
_root.gotoAndPlay("edraw");
lastread = "masterdone";
responsive = 0;
}
if ((((_root.read_lv.statu == "slavedone") and (responsive == 1)) and (_root.turn == "standby")) and (_root.role == "master")) {
_root.turn = "cputurn";
_root.ctrl = _root.read_lv.slavectrl;
_root.gotoAndPlay("edraw");
lastread = "slavedone";
responsive = 0;
}
if ((((_root.read_lv.statu == "masterleft") and (responsive == 1)) and (_root.turn == "standby")) and (_root.role == "slave")) {
_root.timer.gotoAndPlay("left");
responsive = 0;
gotoAndStop (1);
}
if ((((_root.read_lv.statu == "slaveleft") and (responsive == 1)) and (_root.turn == "standby")) and (_root.role == "master")) {
_root.timer.gotoAndPlay("left");
responsive = 0;
gotoAndStop (1);
}
if (_root.read_lv.statu != lastread) {
responsive = 1;
}
}
if ((_root.read_lv.errorcode == 1) or (nn > 2)) {
msg = "Couldn't connect to server";
_root.timer.gotoAndPlay("disconnected");
n = 0;
gotoAndStop (1);
}
if (_root.read_lv.errorcode == 2) {
msg = "Couldn't connect to database";
}
if (_root.read_lv.errorcode == 3) {
msg = "Opponent not found";
}
if (_root.read_lv.errorcode == -1) {
if (n > 4) {
gotoAndPlay ("load");
nn = nn + 1;
} else {
gotoAndPlay ("loop");
n = n + 1;
}
}
Symbol 41 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 5
gotoAndStop (1);
Symbol 41 MovieClip Frame 10
gotoAndStop (1);
Symbol 41 MovieClip Frame 15
gotoAndStop (1);
Symbol 41 MovieClip Frame 20
gotoAndStop (1);
Symbol 41 MovieClip Frame 25
gotoAndStop (1);
Symbol 41 MovieClip Frame 30
gotoAndStop (1);
Symbol 41 MovieClip Frame 35
gotoAndStop (1);
Symbol 41 MovieClip Frame 40
gotoAndStop (1);
Symbol 41 MovieClip Frame 45
gotoAndStop (1);
Symbol 41 MovieClip Frame 50
gotoAndStop (1);
Symbol 41 MovieClip Frame 51
if (_root.muzic == 0) {
gotoAndStop (1);
}
Symbol 41 MovieClip Frame 55
gotoAndStop (1);
Symbol 41 MovieClip Frame 60
gotoAndStop (1);
Symbol 41 MovieClip Frame 65
gotoAndStop (1);
Symbol 41 MovieClip Frame 66
if (_root.muzic == 0) {
gotoAndStop (1);
}
Symbol 41 MovieClip Frame 70
gotoAndStop (1);
Symbol 41 MovieClip Frame 71
if (_root.muzic == 0) {
gotoAndStop (1);
}
Symbol 41 MovieClip Frame 73
if (_root.muzic == 0) {
gotoAndStop (1);
}
Symbol 41 MovieClip Frame 75
gotoAndStop (1);
Symbol 52 MovieClip Frame 30
stop();
Symbol 57 Button
on (release) {
getURL ("http://www.spore.com/sporepedia#qry=usr-Fotosynthesis|2267038817", "_blank");
}
Symbol 58 Button
on (release) {
getURL ("http://www.upsidedownbattleship.deviantart.com", "_blank");
}
Symbol 59 Button
on (release) {
getURL ("http://www.vrt-designs.com/", "_blank");
}
Symbol 63 Button
on (release) {
gotoAndStop (2);
}
Symbol 66 Button
on (release) {
gotoAndStop (1);
}
Symbol 67 Button
on (release) {
sound.nextFrame();
}
Symbol 69 Button
on (release) {
quality.nextFrame();
}
Symbol 77 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 2
_root.myGlobalSound.setVolume(0);
_root.volum = 0;
Symbol 77 MovieClip Frame 3
_root.myGlobalSound.setVolume(50);
_root.volum = 50;
Symbol 77 MovieClip Frame 4
_root.myGlobalSound.setVolume(100);
_root.volum = 100;
gotoAndStop (1);
Symbol 78 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 2
_quality = "LOW";
_root.lowq = 1;
_root.qualit = "LOW";
Symbol 78 MovieClip Frame 3
_quality = "MEDIUM";
_root.lowq = 0;
_root.qualit = "MEDIUM";
Symbol 78 MovieClip Frame 4
_quality = "HIGH";
_root.lowq = 0;
_root.qualit = "HIGH";
gotoAndStop (1);
Symbol 79 Button
on (release) {
muzic.nextFrame();
}
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 2
_root.muzic = 0;
Symbol 84 MovieClip Frame 3
_root.muzic = 1;
gotoAndStop (1);
Symbol 85 Button
on (release) {
speedz.nextFrame();
}
Symbol 88 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 2
_root.needspeed = 1;
Symbol 88 MovieClip Frame 3
_root.needspeed = 0;
gotoAndStop (1);
Symbol 89 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 2
if (_root.volum == 0) {
sound.gotoAndStop(3);
}
if (_root.volum == 50) {
sound.gotoAndStop(2);
}
if (_root.needspeed == 1) {
speedz.gotoAndStop(2);
}
if (_root.muzic == 0) {
muzic.gotoAndStop(2);
}
if (_root.qualit == "MEDIUM") {
quality.gotoAndStop(3);
}
if (_root.qualit == "LOW") {
quality.gotoAndStop(2);
}
stop();
Symbol 113 Button
on (release) {
autolink = 1;
gotoAndStop ("insertform");
}
Symbol 115 Button
on (release) {
gotoAndPlay ("login");
}
Symbol 120 Button
on (release) {
if (userkong == "Guest") {
message = "Can not link an account to a Guest";
} else {
gotoAndPlay ("linklogin");
}
}
Symbol 125 Button
on (release) {
gotoAndPlay ("autologin");
}
Symbol 131 Button
on (release) {
gotoAndStop ("insertform");
}
Symbol 141 Button
on (release) {
gotoAndPlay ("autologin");
}
Symbol 142 Button
on (release) {
stopAllSounds();
gotoAndStop ("startkong");
}
Symbol 145 Button
on (release) {
gotoAndPlay ("login");
}
Symbol 155 MovieClip Frame 26
stop();
Symbol 159 Button
on (release) {
stopAllSounds();
if (kong == 1) {
gotoAndStop ("startkong");
} else {
gotoAndStop ("start");
}
}
Symbol 162 Button
on (release) {
gotoAndPlay ("insert");
}
Symbol 175 Button
on (release) {
_root.autolink = 0;
gotoAndStop (3);
}
Symbol 177 Button
on (release) {
_root.autolink = 1;
gotoAndStop (2);
}
Symbol 178 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 2
stop();
Symbol 198 MovieClip Frame 1
v = 15;
n = 0;
vx1 = (Math.random() * v) - (v / 2);
vy1 = (Math.random() * v) - (v / 3);
vx2 = (Math.random() * v) - (v / 2);
vy2 = (Math.random() * v) - (v / 3);
vx3 = (Math.random() * v) - (v / 2);
vy3 = (Math.random() * v) - (v / 3);
z1._alpha = (Math.random() * 40) + 60;
z2._alpha = (Math.random() * 40) + 60;
z3._alpha = (Math.random() * 40) + 60;
Symbol 198 MovieClip Frame 2
n = n + 1;
z1._x = z1._x + vx1;
z1._y = (z1._y + vy1) - n;
z1._rotation = z1._rotation + (vx1 * 5);
z1._alpha = (z1._alpha - fade1) - 2;
z2._x = z2._x + vx2;
z2._y = (z2._y + vy2) - n;
z2._rotation = z2._rotation + (vx2 * 5);
z2._alpha = (z2._alpha - fade2) - 2;
z3._x = z3._x + vx3;
z3._y = (z3._y + vy3) - n;
z3._rotation = z3._rotation + (vx3 * 5);
z3._alpha = (z3._alpha - fade3) - 2;
vx1 = vx1 * 0.9;
vy1 = vy1 * 0.9;
vx2 = vx2 * 0.9;
vy2 = vy2 * 0.9;
vx3 = vx3 * 0.9;
vy3 = vy3 * 0.9;
if (n > 20) {
gotoAndStop ("stop");
}
if (n > 5) {
fade1 = 5;
fade2 = 5;
fade3 = 5;
}
Symbol 198 MovieClip Frame 3
gotoAndPlay ("loop");
Symbol 201 Button
on (release) {
_root.deckpn1 = _root.deck4n;
_root.deckp1 = _root.deck4;
_root.deckall = _root.deckp1;
_root.deckalln = _root.deckpn1;
_root.element = 4;
_root.gotoAndStop("menu");
}
on (rollOver) {
gotoAndStop ("earth");
}
Symbol 214 Button
on (release) {
_root.deckpn1 = _root.deck9n;
_root.deckp1 = _root.deck9;
_root.deckall = _root.deckp1;
_root.deckalln = _root.deckpn1;
_root.element = 9;
_root.gotoAndStop("menu");
}
on (rollOver) {
gotoAndStop ("air");
}
Symbol 221 Button
on (release) {
_root.deckpn1 = _root.deck6n;
_root.deckp1 = _root.deck6;
_root.deckall = _root.deckp1;
_root.deckalln = _root.deckpn1;
_root.element = 6;
_root.gotoAndStop("menu");
}
on (rollOver) {
gotoAndStop ("fire");
}
Symbol 227 Button
on (release) {
_root.deckpn1 = _root.deck7n;
_root.deckp1 = _root.deck7;
_root.deckall = _root.deckp1;
_root.deckalln = _root.deckpn1;
_root.element = 7;
_root.gotoAndStop("menu");
}
on (rollOver) {
gotoAndStop ("water");
}
Symbol 233 Button
on (release) {
_root.deckpn1 = _root.deck8n;
_root.deckp1 = _root.deck8;
_root.deckall = _root.deckp1;
_root.deckalln = _root.deckpn1;
_root.element = 8;
_root.gotoAndStop("menu");
}
on (rollOver) {
gotoAndStop ("light");
}
Symbol 239 Button
on (release) {
_root.deckpn1 = _root.deck11n;
_root.deckp1 = _root.deck11;
_root.deckall = _root.deckp1;
_root.deckalln = _root.deckpn1;
_root.element = 11;
_root.gotoAndStop("menu");
}
on (rollOver) {
gotoAndStop ("darkness");
}
Symbol 245 Button
on (release) {
_root.deckpn1 = _root.deck1n;
_root.deckp1 = _root.deck1;
_root.deckall = _root.deckp1;
_root.deckalln = _root.deckpn1;
_root.element = 1;
_root.gotoAndStop("menu");
}
on (rollOver) {
gotoAndStop ("entropy");
}
Symbol 251 Button
on (release) {
_root.deckpn1 = _root.deck3n;
_root.deckp1 = _root.deck3;
_root.deckall = _root.deckp1;
_root.deckalln = _root.deckpn1;
_root.element = 3;
_root.gotoAndStop("menu");
}
on (rollOver) {
gotoAndStop ("gravity");
}
Symbol 257 Button
on (release) {
_root.deckpn1 = _root.deck10n;
_root.deckp1 = _root.deck10;
_root.deckall = _root.deckp1;
_root.deckalln = _root.deckpn1;
_root.element = 10;
_root.gotoAndStop("menu");
}
on (rollOver) {
gotoAndStop ("time");
}
Symbol 266 MovieClip Frame 1
stop();
Symbol 267 Button
on (release) {
_root.deckpn1 = _root.deck12n;
_root.deckp1 = _root.deck12;
_root.deckall = _root.deckp1;
_root.deckalln = _root.deckpn1;
_root.element = 12;
_root.gotoAndStop("menu");
}
on (rollOver) {
gotoAndStop ("aether");
}
Symbol 269 Button
on (release) {
_root.deckpn1 = _root.deck5n;
_root.deckp1 = _root.deck5;
_root.deckall = _root.deckp1;
_root.deckalln = _root.deckpn1;
_root.element = 5;
_root.gotoAndStop("menu");
}
on (rollOver) {
gotoAndStop ("life");
}
Symbol 273 Button
on (release) {
_root.deckpn1 = _root.deck2n;
_root.deckp1 = _root.deck2;
_root.deckall = _root.deckp1;
_root.deckalln = _root.deckpn1;
_root.element = 2;
_root.gotoAndStop("menu");
}
on (rollOver) {
gotoAndStop ("death");
}
Symbol 282 Button
on (release) {
gotoAndStop ("manage");
}
on (keyPress "s") {
gotoAndPlay ("scan");
}
Symbol 311 MovieClip Frame 1
Symbol 530 MovieClip Frame 1
stop();
Symbol 1762 MovieClip Frame 1
_parent.ctype = "empty";
stop();
Symbol 1762 MovieClip Frame 2
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 3
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1762 MovieClip Frame 11
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 12
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 13
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 14
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 15
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 16
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 17
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 18
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 19
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 20
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 21
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 22
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 23
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1762 MovieClip Frame 25
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "none";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
_parent.n = "";
Symbol 1762 MovieClip Frame 26
_parent.ctype = "weapon";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "none";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 27
_parent.ctype = "weapon";
_parent.atk = 2;
_parent.def = 1;
_parent.skill = "dagger";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
_parent.passive = "";
Symbol 1762 MovieClip Frame 28
_parent.ctype = "weapon";
_parent.atk = 3;
_parent.def = 2;
_parent.skill = "sword";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 1;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
_parent.passive = "";
Symbol 1762 MovieClip Frame 29
_parent.ctype = "weapon";
_parent.atk = 3;
_parent.def = 4;
_parent.skill = "hammer";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 2;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 3;
_parent.passive = "";
Symbol 1762 MovieClip Frame 30
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "shard";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 3;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 31
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "gratitude";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 3;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 32
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "infest";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 33
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 1;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 4;
Symbol 1762 MovieClip Frame 34
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "readiness";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 3;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 35
_parent.ctype = "weapon";
_parent.atk = 3;
_parent.def = 3;
_parent.skill = "bow";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 2;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 3;
_parent.passive = "ranged";
Symbol 1762 MovieClip Frame 36
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "shield";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 1;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 37
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "sacrifice";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 2;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 38
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "void";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 2;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 39
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "patience";
_parent.skillcost = 0;
_parent.skillelement = 0;
_parent.cost = 3;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 41
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "serendipity";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 3;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 42
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "accretion";
_parent.skillcost = 0;
_parent.skillelement = 3;
_parent.cost = 6;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 43
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "bravery";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 2;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 44
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "integrity";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 2;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 45
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "wisdom";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 3;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 46
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "freedom";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 2;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 100
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 101
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 2;
_parent.skill = "paradox";
_parent.skillcost = 2;
_parent.skillelement = 1;
_parent.cost = 5;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 3;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 102
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 5;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 5;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 103
_parent.ctype = "creature";
_parent.atk = 10;
_parent.def = 5;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 10;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 104
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "edissipation";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 3;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 105
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "lycanthropy";
_parent.skillcost = 2;
_parent.skillelement = 11;
_parent.cost = 2;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 106
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "chaos";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 1;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 107
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "nova";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 0;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 108
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "mutation";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 2;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 109
_parent.ctype = "weapon";
_parent.atk = 4;
_parent.def = 3;
_parent.skill = "scramble";
_parent.skillcost = "";
_parent.skillelement = "";
_parent.cost = 3;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
_parent.passive = "";
Symbol 1762 MovieClip Frame 110
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 2;
_parent.skill = "mutation";
_parent.skillcost = 1;
_parent.skillelement = 5;
_parent.cost = 4;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 4;
Symbol 1762 MovieClip Frame 111
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "antimatter";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 8;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 112
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "butterfly";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 5;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 113
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "pandemonium";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 3;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 114
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "dead/alive";
_parent.skillcost = 1;
_parent.skillelement = 1;
_parent.cost = 1;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 115
_parent.ctype = "creature";
_parent.atk = -1;
_parent.def = 3;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 10;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
_parent.passive = "singularity";
Symbol 1762 MovieClip Frame 120
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 1;
_parent.skill = "antimatter";
_parent.skillcost = 4;
_parent.skillelement = 1;
_parent.cost = 9;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 15;
Symbol 1762 MovieClip Frame 121
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1762 MovieClip Frame 130
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "serendipity";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 3;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 150
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 50) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 50) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
mark1.gotoAndStop(((_currentframe - 50) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1762 MovieClip Frame 200
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 201
_parent.ctype = "creature";
_parent.atk = 10;
_parent.def = 5;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 10;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 202
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "infect";
_parent.skillcost = 0;
_parent.skillelement = 2;
_parent.cost = 1;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 15;
_parent.rarity = 2;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 203
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 3;
_parent.skill = "web";
_parent.skillcost = 1;
_parent.skillelement = 9;
_parent.cost = 3;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 204
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "scavenger";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 3;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 3;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 205
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "unholy";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 3;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 206
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 1;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 1;
_parent.passive = "undead";
Symbol 1762 MovieClip Frame 207
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "boneyard";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 3;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 208
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "poison";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 1;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 209
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "plague";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 4;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 210
_parent.ctype = "weapon";
_parent.atk = 2;
_parent.def = 7;
_parent.skill = "venom";
_parent.skillcost = "";
_parent.skillelement = "";
_parent.cost = 2;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
_parent.passive = "poisonous";
Symbol 1762 MovieClip Frame 211
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "bones";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 7;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 212
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "aflatoxin";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 6;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 213
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 3;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 4;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 2;
_parent.passive = "mummy";
Symbol 1762 MovieClip Frame 214
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "deadly venom";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 2;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 2;
_parent.passive = "poisonous";
Symbol 1762 MovieClip Frame 215
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "soul catch";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 0;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 220
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 8;
_parent.skill = "aflatoxin";
_parent.skillcost = 1;
_parent.skillelement = 2;
_parent.cost = 8;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 15;
Symbol 1762 MovieClip Frame 221
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1762 MovieClip Frame 230
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "sacrifice";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 2;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 250
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 50) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 50) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
mark1.gotoAndStop(((_currentframe - 50) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1762 MovieClip Frame 300
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 301
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 5;
_parent.skill = "momentum";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 5;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 302
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 25;
_parent.skill = "gravity pull";
_parent.skillcost = 1;
_parent.skillelement = 3;
_parent.cost = 5;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 303
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 5;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 3;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 304
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 15;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 10;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 305
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "weight";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 5;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 306
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "momentum";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 2;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 307
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 3;
_parent.skill = "devour";
_parent.skillcost = 1;
_parent.skillelement = 3;
_parent.cost = 4;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 308
_parent.ctype = "weapon";
_parent.atk = 7;
_parent.def = 50;
_parent.skill = "momentum";
_parent.skillcost = "";
_parent.skillelement = "";
_parent.cost = 5;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
_parent.passive = "";
Symbol 1762 MovieClip Frame 309
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "gravity pull";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 2;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 310
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 5;
_parent.skill = "ablaze";
_parent.skillcost = 1;
_parent.skillelement = 6;
_parent.cost = 2;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 311
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "black hole";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 4;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 312
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 7;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 25;
_parent.rarity = 4;
_parent.passive = "chimera";
Symbol 1762 MovieClip Frame 313
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "catapult";
_parent.skillcost = 2;
_parent.skillelement = 3;
_parent.cost = 3;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 314
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "acceleration";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 3;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 315
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 5;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 1;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 2;
_parent.passive = "salvaging";
Symbol 1762 MovieClip Frame 320
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 3;
_parent.skill = "black hole";
_parent.skillcost = 3;
_parent.skillelement = 3;
_parent.cost = 9;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 15;
Symbol 1762 MovieClip Frame 321
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1762 MovieClip Frame 330
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "accretion";
_parent.skillcost = 0;
_parent.skillelement = 3;
_parent.cost = 6;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 340
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 7;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 25;
_parent.rarity = 4;
_parent.passive = "chimera";
Symbol 1762 MovieClip Frame 350
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 50) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 50) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
mark1.gotoAndStop(((_currentframe - 50) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1762 MovieClip Frame 400
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 401
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 3;
_parent.skill = "burrow";
_parent.skillcost = 1;
_parent.skillelement = 4;
_parent.cost = 2;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 402
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 6;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 4;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 45;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 403
_parent.ctype = "creature";
_parent.atk = 8;
_parent.def = 10;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 10;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 404
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 2;
_parent.skill = "shield";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 4;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 405
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "armor";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 1;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 406
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 2;
_parent.skill = "earth";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 1;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 15;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 407
_parent.ctype = "weapon";
_parent.atk = 5;
_parent.def = 12;
_parent.skill = "destroy";
_parent.skillcost = 3;
_parent.skillelement = 3;
_parent.cost = 4;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 6;
_parent.passive = "";
Symbol 1762 MovieClip Frame 408
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 3;
_parent.skill = "evolve";
_parent.skillcost = 1;
_parent.skillelement = 10;
_parent.cost = 3;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 3;
_parent.passive = "burrow";
Symbol 1762 MovieClip Frame 409
_parent.ctype = "creature";
_parent.atk = 8;
_parent.def = 3;
_parent.skill = "burrow";
_parent.skillcost = 1;
_parent.skillelement = 4;
_parent.cost = 8;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 410
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "enchant";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 2;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 411
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "earthquake";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 3;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 412
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "stoneskin";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 2;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 413
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "petrify";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 2;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 414
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 3;
_parent.skill = "guard";
_parent.skillcost = 1;
_parent.skillelement = 4;
_parent.cost = 1;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 15;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 415
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "golem";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 8;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 420
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 8;
_parent.skill = "petrify";
_parent.skillcost = 3;
_parent.skillelement = 4;
_parent.cost = 8;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 15;
Symbol 1762 MovieClip Frame 421
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1762 MovieClip Frame 430
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "integrity";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 2;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 450
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 50) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 50) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
mark1.gotoAndStop(((_currentframe - 50) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1762 MovieClip Frame 500
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 501
_parent.ctype = "creature";
_parent.atk = 10;
_parent.def = 6;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 10;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 502
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 3;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 2;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 503
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "photosynthesis";
_parent.skillcost = 1;
_parent.skillelement = 8;
_parent.cost = 1;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 2;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 504
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 4;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 3;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 505
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "growth";
_parent.skillcost = 1;
_parent.skillelement = 7;
_parent.cost = 2;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 2;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 506
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "healp";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 3;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 507
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "spines";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 7;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 508
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "reflect";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 5;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 4;
Symbol 1762 MovieClip Frame 509
_parent.ctype = "weapon";
_parent.atk = 2;
_parent.def = 7;
_parent.skill = "regenerate";
_parent.skillcost = "";
_parent.skillelement = "";
_parent.cost = 2;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 6;
_parent.passive = "";
Symbol 1762 MovieClip Frame 510
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "empathy";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 5;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 511
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "adrenaline";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 4;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 512
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 2;
_parent.skill = "venom";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 3;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 2;
_parent.passive = "poisonous";
Symbol 1762 MovieClip Frame 513
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "mitosis";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 5;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 520
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 6;
_parent.skill = "adrenaline";
_parent.skillcost = 2;
_parent.skillelement = 5;
_parent.cost = 8;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 15;
Symbol 1762 MovieClip Frame 521
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1762 MovieClip Frame 530
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "gratitude";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 3;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 550
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 50) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 50) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
mark1.gotoAndStop(((_currentframe - 50) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1762 MovieClip Frame 600
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 601
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 1;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 1;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 602
_parent.ctype = "creature";
_parent.atk = 12;
_parent.def = 3;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 10;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 603
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 2;
_parent.skill = "ablaze";
_parent.skillcost = 1;
_parent.skillelement = 6;
_parent.cost = 2;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 2;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 604
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "fire bolt";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 3;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 605
_parent.ctype = "shield";
_parent.atk = 1;
_parent.def = 0;
_parent.skill = "firewall";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 6;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 606
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "destroy";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 3;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 607
_parent.ctype = "weapon";
_parent.atk = 4;
_parent.def = 5;
_parent.skill = "fiery";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 3;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 6;
_parent.passive = "";
Symbol 1762 MovieClip Frame 608
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "rain of fire";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 7;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 4;
Symbol 1762 MovieClip Frame 609
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "immolate";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 0;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 610
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 1;
_parent.skill = "growth";
_parent.skillcost = 1;
_parent.skillelement = 4;
_parent.cost = 5;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 611
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "rage";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 3;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 612
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 1;
_parent.skill = "phoenix";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 7;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 613
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 5;
_parent.skill = "rebirth";
_parent.skillcost = 1;
_parent.skillelement = 6;
_parent.cost = 7;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 4;
Symbol 1762 MovieClip Frame 614
_parent.ctype = "creature";
_parent.atk = 10;
_parent.def = 1;
_parent.skill = "divineshield";
_parent.skillcost = 1;
_parent.skillelement = 8;
_parent.cost = 9;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 620
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 6;
_parent.skill = "rage";
_parent.skillcost = 3;
_parent.skillelement = 6;
_parent.cost = 8;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 15;
Symbol 1762 MovieClip Frame 621
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1762 MovieClip Frame 630
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "bravery";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 2;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 650
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 50) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 50) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
mark1.gotoAndStop(((_currentframe - 50) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1762 MovieClip Frame 700
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 701
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 2;
_parent.skill = "poison";
_parent.skillcost = 1;
_parent.skillelement = 2;
_parent.cost = 1;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 25;
_parent.rarity = 2;
_parent.passive = "poisonous";
Symbol 1762 MovieClip Frame 702
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 3;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 3;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 703
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "freeze";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 1;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 704
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "icebolt";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 2;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 705
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "ice";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 6;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 706
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 2;
_parent.skill = "purify";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 2;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 707
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 2;
_parent.skill = "freeze";
_parent.skillcost = 2;
_parent.skillelement = 7;
_parent.cost = 3;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 8;
Symbol 1762 MovieClip Frame 708
_parent.ctype = "weapon";
_parent.atk = 4;
_parent.def = 9;
_parent.skill = "tsunami";
_parent.skillcost = 3;
_parent.skillelement = 4;
_parent.cost = 3;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 6;
_parent.passive = "";
Symbol 1762 MovieClip Frame 709
_parent.ctype = "creature";
_parent.atk = 9;
_parent.def = 6;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 10;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 710
_parent.ctype = "creature";
_parent.atk = 6;
_parent.def = 4;
_parent.skill = "infection";
_parent.skillcost = 1;
_parent.skillelement = 9;
_parent.cost = 5;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 2;
_parent.passive = "poisonous";
Symbol 1762 MovieClip Frame 711
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 2;
_parent.skill = "lobotomize";
_parent.skillcost = 1;
_parent.skillelement = 12;
_parent.cost = 2;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 712
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "nymph";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 7;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 713
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "flood";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 3;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 714
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 6;
_parent.skill = "steam";
_parent.skillcost = 2;
_parent.skillelement = 6;
_parent.cost = 4;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 715
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "dry";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 2;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 720
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 6;
_parent.skill = "nymph";
_parent.skillcost = 4;
_parent.skillelement = 7;
_parent.cost = 8;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 15;
Symbol 1762 MovieClip Frame 721
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1762 MovieClip Frame 730
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "patience";
_parent.skillcost = 0;
_parent.skillelement = 0;
_parent.cost = 3;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 750
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 50) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 50) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
mark1.gotoAndStop(((_currentframe - 50) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1762 MovieClip Frame 800
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 801
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 802
_parent.ctype = "creature";
_parent.atk = 10;
_parent.def = 10;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 12;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 803
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 2;
_parent.skill = "dive";
_parent.skillcost = 1;
_parent.skillelement = 9;
_parent.cost = 4;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 3;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 804
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "holy light";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 1;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 805
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "solar";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 3;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 806
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 6;
_parent.skill = "heal";
_parent.skillcost = 1;
_parent.skillelement = 8;
_parent.cost = 3;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 2;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 807
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "blessing";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 3;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 808
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "reflect";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 1;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 4;
Symbol 1762 MovieClip Frame 809
_parent.ctype = "weapon";
_parent.atk = 7;
_parent.def = 7;
_parent.skill = "immaterial";
_parent.skillcost = "";
_parent.skillelement = "";
_parent.cost = 5;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
_parent.passive = "";
Symbol 1762 MovieClip Frame 810
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "miracle";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 15;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 811
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "luciferin";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 2;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 812
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "hope";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 7;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 813
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 4;
_parent.skill = "endow";
_parent.skillcost = 3;
_parent.skillelement = 8;
_parent.cost = 5;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 814
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "sanctuary";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 4;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 820
_parent.ctype = "creature";
_parent.atk = 6;
_parent.def = 9;
_parent.skill = "luciferin";
_parent.skillcost = 4;
_parent.skillelement = 8;
_parent.cost = 9;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 15;
Symbol 1762 MovieClip Frame 821
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 1;
_parent.skill = "moo";
_parent.skillcost = 0;
_parent.skillelement = 8;
_parent.cost = 9;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 15;
Symbol 1762 MovieClip Frame 822
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1762 MovieClip Frame 830
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "shard";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 3;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 850
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 50) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 50) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
mark1.gotoAndStop(((_currentframe - 50) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1762 MovieClip Frame 900
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 901
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "air";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 1;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = -10;
_parent.rarity = 2;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 902
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 3;
_parent.skill = "dive";
_parent.skillcost = 2;
_parent.skillelement = 9;
_parent.cost = 4;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 2;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 903
_parent.ctype = "creature";
_parent.atk = 9;
_parent.def = 6;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 10;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 904
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "fog";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 2;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 905
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "thunderstorm";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 3;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 906
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "flying";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 1;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 907
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 7;
_parent.skill = "queen";
_parent.skillcost = 2;
_parent.skillelement = 5;
_parent.cost = 6;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 908
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 2;
_parent.skill = "light";
_parent.skillcost = "";
_parent.skillelement = "";
_parent.cost = 3;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 2;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 909
_parent.ctype = "weapon";
_parent.atk = 5;
_parent.def = 7;
_parent.skill = "sniper";
_parent.skillcost = 2;
_parent.skillelement = 9;
_parent.cost = 5;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
_parent.passive = "ranged";
Symbol 1762 MovieClip Frame 910
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "ignite";
_parent.skillcost = 1;
_parent.skillelement = 6;
_parent.cost = 6;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 15;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 911
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "shockwave";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 2;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 912
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "wings";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 4;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 913
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "blitz";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 9;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 920
_parent.ctype = "creature";
_parent.atk = 6;
_parent.def = 5;
_parent.skill = "unstable gas";
_parent.skillcost = 3;
_parent.skillelement = 9;
_parent.cost = 8;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 15;
Symbol 1762 MovieClip Frame 930
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "freedom";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 2;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 950
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 50) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 50) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
mark1.gotoAndStop(((_currentframe - 50) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1762 MovieClip Frame 1000
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 1001
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "deja vu";
_parent.skillcost = 1;
_parent.skillelement = 10;
_parent.cost = 1;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 2;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 1002
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "hatch";
_parent.skillcost = 1;
_parent.skillelement = 10;
_parent.cost = 3;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 1003
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "delay";
_parent.skillcost = "";
_parent.skillelement = 10;
_parent.cost = 6;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 1004
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "reverse time";
_parent.skillcost = "";
_parent.skillelement = 10;
_parent.cost = 2;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 1005
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "hasten";
_parent.skillcost = 2;
_parent.skillelement = 10;
_parent.cost = 4;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 1006
_parent.ctype = "creature";
_parent.atk = 10;
_parent.def = 5;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 10;
_parent.cost = 10;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 1007
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 8;
_parent.skill = "immortality";
_parent.skillcost = 2;
_parent.skillelement = 12;
_parent.cost = 8;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 4;
Symbol 1762 MovieClip Frame 1008
_parent.ctype = "weapon";
_parent.atk = 4;
_parent.def = 8;
_parent.skill = "reverse time";
_parent.skillcost = 3;
_parent.skillelement = 10;
_parent.cost = 6;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 6;
_parent.passive = "";
Symbol 1762 MovieClip Frame 1009
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "hasten";
_parent.skillcost = 1;
_parent.skillelement = 8;
_parent.cost = 1;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 4;
_parent.passive = "sundial";
Symbol 1762 MovieClip Frame 1010
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 1;
_parent.skill = "devour";
_parent.skillcost = 1;
_parent.skillelement = 3;
_parent.cost = 2;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 2;
_parent.passive = "swarm";
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 1011
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "precognition";
_parent.skillcost = "";
_parent.skillelement = 10;
_parent.cost = 2;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 1012
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 9;
_parent.skill = "scarab";
_parent.skillcost = 2;
_parent.skillelement = 10;
_parent.cost = 9;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 8;
Symbol 1762 MovieClip Frame 1013
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "neurotoxin";
_parent.skillcost = "";
_parent.skillelement = 10;
_parent.cost = 3;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 2;
_parent.passive = "poisonous";
Symbol 1762 MovieClip Frame 1014
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 4;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 10;
_parent.cost = 6;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 45;
_parent.rarity = 3;
_parent.passive = "obsession";
Symbol 1762 MovieClip Frame 1020
_parent.ctype = "creature";
_parent.atk = 6;
_parent.def = 8;
_parent.skill = "precognition";
_parent.skillcost = 2;
_parent.skillelement = 10;
_parent.cost = 8;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 15;
Symbol 1762 MovieClip Frame 1021
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1762 MovieClip Frame 1030
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "readiness";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 3;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 1050
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 50) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 50) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
mark1.gotoAndStop(((_currentframe - 50) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1762 MovieClip Frame 1100
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 1101
_parent.ctype = "creature";
_parent.atk = 10;
_parent.def = 5;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 10;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 45;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 1102
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 2;
_parent.skill = "burrow";
_parent.skillcost = 1;
_parent.skillelement = 4;
_parent.cost = 2;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 3;
_parent.passive = "devourer";
Symbol 1762 MovieClip Frame 1103
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "infection";
_parent.skillcost = 1;
_parent.skillelement = 2;
_parent.cost = 2;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 1104
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "dusk";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 6;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 1105
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "steal";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 4;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 1106
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "nightfall";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 3;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 1107
_parent.ctype = "weapon";
_parent.atk = 4;
_parent.def = 4;
_parent.skill = "vampire";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 1;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
_parent.passive = "";
Symbol 1762 MovieClip Frame 1108
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "drain life";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 3;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 1109
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 2;
_parent.skill = "vampire";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 3;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 15;
_parent.rarity = 3;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 1110
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "liquid shadow";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 4;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 1111
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 3;
_parent.skill = "stone form";
_parent.skillcost = 1;
_parent.skillelement = 4;
_parent.cost = 5;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 2;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 1112
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 16;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 2;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 3;
_parent.passive = "voodoo";
Symbol 1762 MovieClip Frame 1113
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "nightmare";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 2;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 1114
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "cloak";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 4;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 1120
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 5;
_parent.skill = "liquid shadow";
_parent.skillcost = 2;
_parent.skillelement = 11;
_parent.cost = 8;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 15;
Symbol 1762 MovieClip Frame 1121
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1762 MovieClip Frame 1130
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "void";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 2;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 1150
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 50) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 50) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
mark1.gotoAndStop(((_currentframe - 50) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1762 MovieClip Frame 1200
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 1201
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 1202
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "lightning";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 2;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 1203
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "parallel universe";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 7;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 1204
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 3;
_parent.skill = "immaterial";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 6;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 45;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 1205
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "phaseshift";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 6;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 1206
_parent.ctype = "weapon";
_parent.atk = 5;
_parent.def = 4;
_parent.skill = "lobotomize";
_parent.skillcost = 2;
_parent.skillelement = 12;
_parent.cost = 3;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 6;
_parent.passive = "";
Symbol 1762 MovieClip Frame 1207
_parent.ctype = "creature";
_parent.atk = 8;
_parent.def = 6;
_parent.skill = "immaterial";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 13;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 1208
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 2;
_parent.skill = "web";
_parent.skillcost = 1;
_parent.skillelement = 9;
_parent.cost = 3;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 1209
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "immortality";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 4;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 1210
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "fractal";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 10;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 1211
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "duality";
_parent.skillcost = 2;
_parent.skillelement = 12;
_parent.cost = 5;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 1212
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "silence";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 3;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1762 MovieClip Frame 1213
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 4;
_parent.skill = "psion";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 4;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 1214
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 1;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 2;
_parent.passive = "salvaging";
Symbol 1762 MovieClip Frame 1220
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 4;
_parent.skill = "immortality";
_parent.skillcost = 3;
_parent.skillelement = 12;
_parent.cost = 8;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 15;
Symbol 1762 MovieClip Frame 1230
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "wisdom";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 3;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1762 MovieClip Frame 1250
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 50) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 50) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
mark1.gotoAndStop(((_currentframe - 50) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1762 MovieClip Frame 2002
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2003
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1762 MovieClip Frame 2011
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 2012
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 2013
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 2014
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 2015
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 2016
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 2017
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 2018
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 2019
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 2020
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 2021
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 2022
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 2023
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1762 MovieClip Frame 2025
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "none";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
_parent.n = "";
Symbol 1762 MovieClip Frame 2026
_parent.ctype = "weapon";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "none";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 2027
_parent.ctype = "weapon";
_parent.atk = 4;
_parent.def = 1;
_parent.skill = "dagger";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
_parent.passive = "";
Symbol 1762 MovieClip Frame 2028
_parent.ctype = "weapon";
_parent.atk = 6;
_parent.def = 2;
_parent.skill = "sword";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 1;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
_parent.passive = "";
Symbol 1762 MovieClip Frame 2029
_parent.ctype = "weapon";
_parent.atk = 6;
_parent.def = 6;
_parent.skill = "hammer";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 2;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 17;
_parent.passive = "";
Symbol 1762 MovieClip Frame 2030
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "shard";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 2;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 2031
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "gratitude";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 2;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 2032
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "infest";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 1;
Symbol 1762 MovieClip Frame 2033
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 1;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 16;
Symbol 1762 MovieClip Frame 2034
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "readiness";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 2;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 2035
_parent.ctype = "weapon";
_parent.atk = 6;
_parent.def = 4;
_parent.skill = "bow";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 2;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 17;
_parent.passive = "ranged";
Symbol 1762 MovieClip Frame 2036
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 2;
_parent.skill = "shield";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 5;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2037
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "sacrifice";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 2;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 2038
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "void";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 1;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 2039
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "patience";
_parent.skillcost = 0;
_parent.skillelement = 0;
_parent.cost = 2;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 2041
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "serendipity";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 3;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 2042
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "accretion";
_parent.skillcost = 0;
_parent.skillelement = 3;
_parent.cost = 4;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 2043
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "bravery";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 1;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 2044
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "integrity";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 1;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 2045
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "wisdom";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 2;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 2046
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "freedom";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 1;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 2100
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2101
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 5;
_parent.skill = "paradox";
_parent.skillcost = 2;
_parent.skillelement = 1;
_parent.cost = 5;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 2102
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 4;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 1;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2103
_parent.ctype = "creature";
_parent.atk = 12;
_parent.def = 6;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 11;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 2104
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "dissipation";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 3;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2105
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "lycanthropy";
_parent.skillcost = 1;
_parent.skillelement = 11;
_parent.cost = 2;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2106
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "chaos power";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 1;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2107
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "supernova";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 2;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2108
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "improve";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 3;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2109
_parent.ctype = "weapon";
_parent.atk = 6;
_parent.def = 3;
_parent.skill = "scramble";
_parent.skillcost = "";
_parent.skillelement = "";
_parent.cost = 3;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
_parent.passive = "";
Symbol 1762 MovieClip Frame 2110
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 3;
_parent.skill = "improve";
_parent.skillcost = 1;
_parent.skillelement = 5;
_parent.cost = 5;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2111
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "antimatter";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 6;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2112
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "butterfly";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 4;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2113
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "pandemonium";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 5;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2114
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 3;
_parent.skill = "dead/alive";
_parent.skillcost = 1;
_parent.skillelement = 1;
_parent.cost = 1;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2115
_parent.ctype = "creature";
_parent.atk = -7;
_parent.def = 5;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 10;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
_parent.passive = "singularity";
Symbol 1762 MovieClip Frame 2120
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 2;
_parent.skill = "antimatter";
_parent.skillcost = 4;
_parent.skillelement = 1;
_parent.cost = 9;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 20;
Symbol 1762 MovieClip Frame 2121
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1762 MovieClip Frame 2130
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "serendipity";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 3;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 2150
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 2050) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 2050) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
mark1.gotoAndStop(((_currentframe - 2050) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1762 MovieClip Frame 2200
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2201
_parent.ctype = "creature";
_parent.atk = 11;
_parent.def = 5;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 10;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 2202
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "plague";
_parent.skillcost = 0;
_parent.skillelement = 2;
_parent.cost = 2;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 15;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 2203
_parent.ctype = "creature";
_parent.atk = 6;
_parent.def = 3;
_parent.skill = "web";
_parent.skillcost = 1;
_parent.skillelement = 9;
_parent.cost = 3;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2204
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 2;
_parent.skill = "scavenger";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 3;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 2205
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "unholy";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 2;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2206
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 2;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 1;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
_parent.passive = "undead";
Symbol 1762 MovieClip Frame 2207
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "boneyard";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 5;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2208
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "deadly poison";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 2;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2209
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "plague";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 2;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2210
_parent.ctype = "weapon";
_parent.atk = 4;
_parent.def = 7;
_parent.skill = "venom";
_parent.skillcost = "";
_parent.skillelement = "";
_parent.cost = 2;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
_parent.passive = "poisonous";
Symbol 1762 MovieClip Frame 2211
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "bones";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 5;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2212
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "aflatoxin";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 5;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2213
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 3;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 3;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
_parent.passive = "mummy";
Symbol 1762 MovieClip Frame 2214
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 3;
_parent.skill = "deadly venom";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 2;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
_parent.passive = "poisonous";
Symbol 1762 MovieClip Frame 2215
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "soul catch";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 0;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2220
_parent.ctype = "creature";
_parent.atk = 8;
_parent.def = 9;
_parent.skill = "aflatoxin";
_parent.skillcost = 1;
_parent.skillelement = 2;
_parent.cost = 8;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 20;
Symbol 1762 MovieClip Frame 2230
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "sacrifice";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 2;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 2250
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 2050) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 2050) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
mark1.gotoAndStop(((_currentframe - 2050) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1762 MovieClip Frame 2300
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2301
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 5;
_parent.skill = "momentum";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 5;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2302
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 30;
_parent.skill = "gravity pull";
_parent.skillcost = 1;
_parent.skillelement = 3;
_parent.cost = 5;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2303
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 7;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 2;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2304
_parent.ctype = "creature";
_parent.atk = 8;
_parent.def = 30;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 11;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 2305
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "weight";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 3;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2306
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "momentum";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 1;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2307
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 5;
_parent.skill = "devour";
_parent.skillcost = 1;
_parent.skillelement = 3;
_parent.cost = 5;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2308
_parent.ctype = "weapon";
_parent.atk = 8;
_parent.def = 50;
_parent.skill = "momentum";
_parent.skillcost = "";
_parent.skillelement = "";
_parent.cost = 5;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
_parent.passive = "";
Symbol 1762 MovieClip Frame 2309
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "gravity pull";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 1;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2310
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 6;
_parent.skill = "ablaze";
_parent.skillcost = 1;
_parent.skillelement = 6;
_parent.cost = 1;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2311
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "black hole";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 3;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2312
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 6;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 25;
_parent.rarity = 17;
_parent.passive = "chimera";
Symbol 1762 MovieClip Frame 2313
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "catapult";
_parent.skillcost = 1;
_parent.skillelement = 3;
_parent.cost = 3;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2314
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "overdrive";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 4;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2315
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 5;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 1;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 17;
_parent.passive = "salvaging";
Symbol 1762 MovieClip Frame 2320
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 4;
_parent.skill = "black hole";
_parent.skillcost = 3;
_parent.skillelement = 3;
_parent.cost = 9;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 20;
Symbol 1762 MovieClip Frame 2330
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "accretion";
_parent.skillcost = 0;
_parent.skillelement = 3;
_parent.cost = 4;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 2340
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 6;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 25;
_parent.rarity = 17;
_parent.passive = "chimera";
Symbol 1762 MovieClip Frame 2350
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 2050) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 2050) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
mark1.gotoAndStop(((_currentframe - 2050) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1762 MovieClip Frame 2400
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2401
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 4;
_parent.skill = "burrow";
_parent.skillcost = 1;
_parent.skillelement = 4;
_parent.cost = 2;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2402
_parent.ctype = "creature";
_parent.atk = 6;
_parent.def = 9;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 4;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 45;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2403
_parent.ctype = "creature";
_parent.atk = 10;
_parent.def = 12;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 12;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 2404
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 3;
_parent.skill = "shield";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 6;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2405
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "heavy armor";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 1;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2406
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 2;
_parent.skill = "earth";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 0;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 15;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2407
_parent.ctype = "weapon";
_parent.atk = 5;
_parent.def = 12;
_parent.skill = "destroy";
_parent.skillcost = 2;
_parent.skillelement = 3;
_parent.cost = 4;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 18;
_parent.passive = "";
Symbol 1762 MovieClip Frame 2408
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 3;
_parent.skill = "evolve";
_parent.skillcost = 1;
_parent.skillelement = 10;
_parent.cost = 3;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 17;
_parent.passive = "burrow";
Symbol 1762 MovieClip Frame 2409
_parent.ctype = "creature";
_parent.atk = 10;
_parent.def = 4;
_parent.skill = "burrow";
_parent.skillcost = 1;
_parent.skillelement = 4;
_parent.cost = 8;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2410
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "enchant";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 1;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2411
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "earthquake";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 2;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2412
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "stoneskin";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 1;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2413
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "petrify";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 1;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2414
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 6;
_parent.skill = "guard";
_parent.skillcost = 1;
_parent.skillelement = 4;
_parent.cost = 1;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 15;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2415
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "golem";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 8;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2420
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 9;
_parent.skill = "petrify";
_parent.skillcost = 3;
_parent.skillelement = 4;
_parent.cost = 8;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 20;
Symbol 1762 MovieClip Frame 2421
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1762 MovieClip Frame 2430
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "integrity";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 1;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 2450
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 2050) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 2050) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
mark1.gotoAndStop(((_currentframe - 2050) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1762 MovieClip Frame 2500
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2501
_parent.ctype = "creature";
_parent.atk = 12;
_parent.def = 9;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 12;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 2502
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 3;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 2;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2503
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 3;
_parent.skill = "photosynthesis";
_parent.skillcost = 1;
_parent.skillelement = 8;
_parent.cost = 1;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 2504
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 5;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 3;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2505
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 3;
_parent.skill = "growth";
_parent.skillcost = 1;
_parent.skillelement = 7;
_parent.cost = 3;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 2506
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "healp";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 2;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2507
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "spines";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 7;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2508
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 2;
_parent.skill = "reflect";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 7;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2509
_parent.ctype = "weapon";
_parent.atk = 4;
_parent.def = 7;
_parent.skill = "regenerate";
_parent.skillcost = "";
_parent.skillelement = "";
_parent.cost = 2;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 18;
_parent.passive = "";
Symbol 1762 MovieClip Frame 2510
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "empathy";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 4;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2511
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "adrenaline";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 3;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2512
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 2;
_parent.skill = "venom";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 3;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
_parent.passive = "poisonous";
Symbol 1762 MovieClip Frame 2513
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "mitosis";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 4;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2520
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 7;
_parent.skill = "adrenaline";
_parent.skillcost = 2;
_parent.skillelement = 5;
_parent.cost = 8;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 20;
Symbol 1762 MovieClip Frame 2530
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "gratitude";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 2;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 2550
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 2050) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 2050) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
mark1.gotoAndStop(((_currentframe - 2050) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1762 MovieClip Frame 2600
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2601
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 1;
_parent.skill = "fire";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 1;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2602
_parent.ctype = "creature";
_parent.atk = 15;
_parent.def = 2;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 12;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 2603
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 3;
_parent.skill = "ablaze";
_parent.skillcost = 1;
_parent.skillelement = 6;
_parent.cost = 3;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 2604
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "fire bolt";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 1;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2605
_parent.ctype = "shield";
_parent.atk = 1;
_parent.def = 0;
_parent.skill = "firewall";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 4;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2606
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "destroy";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 2;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2607
_parent.ctype = "weapon";
_parent.atk = 5;
_parent.def = 5;
_parent.skill = "fiery";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 3;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 18;
_parent.passive = "";
Symbol 1762 MovieClip Frame 2608
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "rain of fire";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 5;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2609
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "cremation";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 0;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2610
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 1;
_parent.skill = "growth";
_parent.skillcost = 1;
_parent.skillelement = 4;
_parent.cost = 5;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2611
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "berserk";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 3;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2612
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 1;
_parent.skill = "phoenix";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 2;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 2613
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 5;
_parent.skill = "rebirth";
_parent.skillcost = 1;
_parent.skillelement = 6;
_parent.cost = 2;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2614
_parent.ctype = "creature";
_parent.atk = 12;
_parent.def = 1;
_parent.skill = "divineshield";
_parent.skillcost = 1;
_parent.skillelement = 8;
_parent.cost = 9;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 2620
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 7;
_parent.skill = "berserk";
_parent.skillcost = 3;
_parent.skillelement = 6;
_parent.cost = 8;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 20;
Symbol 1762 MovieClip Frame 2630
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "bravery";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 1;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 2650
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 2050) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 2050) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
mark1.gotoAndStop(((_currentframe - 2050) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1762 MovieClip Frame 2700
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2701
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 2;
_parent.skill = "poison";
_parent.skillcost = 1;
_parent.skillelement = 2;
_parent.cost = 1;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 25;
_parent.rarity = 17;
_parent.passive = "poisonous";
Symbol 1762 MovieClip Frame 2702
_parent.ctype = "creature";
_parent.atk = 6;
_parent.def = 6;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 4;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2703
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "congeal";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 1;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2704
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "icebolt";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 1;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2705
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 2;
_parent.skill = "ice";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 7;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2706
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 2;
_parent.skill = "purify";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 1;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2707
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 2;
_parent.skill = "congeal";
_parent.skillcost = 2;
_parent.skillelement = 7;
_parent.cost = 3;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 2708
_parent.ctype = "weapon";
_parent.atk = 4;
_parent.def = 9;
_parent.skill = "tsunami";
_parent.skillcost = 2;
_parent.skillelement = 4;
_parent.cost = 3;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 18;
_parent.passive = "";
Symbol 1762 MovieClip Frame 2709
_parent.ctype = "creature";
_parent.atk = 13;
_parent.def = 5;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 11;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 2710
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 5;
_parent.skill = "venom";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 5;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
_parent.passive = "poisonous";
Symbol 1762 MovieClip Frame 2711
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 4;
_parent.skill = "lobotomize";
_parent.skillcost = 1;
_parent.skillelement = 12;
_parent.cost = 3;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2712
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "nymph";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 6;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2713
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "flood";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 2;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2714
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 15;
_parent.skill = "steam";
_parent.skillcost = 2;
_parent.skillelement = 6;
_parent.cost = 5;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2715
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "dry";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 4;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1762 MovieClip Frame 2720
_parent.ctype = "creature";
_parent.atk = 6;
_parent.def = 7;
_parent.skill = "nymph";
_parent.skillcost = 4;
_parent.skillelement = 7;
_parent.cost = 8;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 20;
Symbol 1762 MovieClip Frame 2721
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1762 MovieClip Frame 2730
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "patience";
_parent.skillcost = 0;
_parent.skillelement = 0;
_parent.cost = 2;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 2750
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 2050) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 2050) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
mark1.gotoAndStop(((_currentframe - 2050) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1762 MovieClip Frame 2800
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2801
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "light";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 2802
_parent.ctype = "creature";
_parent.atk = 12;
_parent.def = 12;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 13;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 2803
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 4;
_parent.skill = "dive";
_parent.skillcost = 1;
_parent.skillelement = 9;
_parent.cost = 4;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 2804
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "holy light";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 0;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2805
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "solar";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 2;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2806
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 7;
_parent.skill = "heal";
_parent.skillcost = 1;
_parent.skillelement = 8;
_parent.cost = 6;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 2807
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "blessing";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 2;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2808
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "reflect";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 2;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2809
_parent.ctype = "weapon";
_parent.atk = 8;
_parent.def = 4;
_parent.skill = "immaterial";
_parent.skillcost = "";
_parent.skillelement = "";
_parent.cost = 5;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
_parent.passive = "";
Symbol 1762 MovieClip Frame 2810
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "miracle";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 12;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 2811
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "luciferin";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 1;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2812
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "hope";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 8;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2813
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 5;
_parent.skill = "endow";
_parent.skillcost = 2;
_parent.skillelement = 8;
_parent.cost = 5;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2814
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "sanctuary";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 3;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2820
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 9;
_parent.skill = "luciferin";
_parent.skillcost = 3;
_parent.skillelement = 8;
_parent.cost = 9;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 20;
Symbol 1762 MovieClip Frame 2821
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1762 MovieClip Frame 2830
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "shard";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 2;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 2850
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 2050) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 2050) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
mark1.gotoAndStop(((_currentframe - 2050) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1762 MovieClip Frame 2900
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2901
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 1;
_parent.skill = "air";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = -10;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 2902
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 3;
_parent.skill = "dive";
_parent.skillcost = 2;
_parent.skillelement = 9;
_parent.cost = 4;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 2903
_parent.ctype = "creature";
_parent.atk = 13;
_parent.def = 7;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 12;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 2904
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "fog";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 1;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2905
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "thunderstorm";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 2;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2906
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "flying";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 1;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2907
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 7;
_parent.skill = "queen";
_parent.skillcost = 2;
_parent.skillelement = 5;
_parent.cost = 6;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 2908
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 2;
_parent.skill = "fire";
_parent.skillcost = "";
_parent.skillelement = "";
_parent.cost = 3;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 2909
_parent.ctype = "weapon";
_parent.atk = 7;
_parent.def = 7;
_parent.skill = "sniper";
_parent.skillcost = 2;
_parent.skillelement = 9;
_parent.cost = 5;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
_parent.passive = "ranged";
Symbol 1762 MovieClip Frame 2910
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "ignite";
_parent.skillcost = 1;
_parent.skillelement = 6;
_parent.cost = 5;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 15;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2911
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "shockwave";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 1;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2912
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "wings";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 3;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2913
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "blitz";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 8;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 2920
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 6;
_parent.skill = "unstable gas";
_parent.skillcost = 3;
_parent.skillelement = 9;
_parent.cost = 8;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 20;
Symbol 1762 MovieClip Frame 2930
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "freedom";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 1;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 2950
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 2050) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 2050) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
mark1.gotoAndStop(((_currentframe - 2050) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1762 MovieClip Frame 3000
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3001
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 2;
_parent.skill = "deja vu";
_parent.skillcost = 1;
_parent.skillelement = 10;
_parent.cost = 1;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 3002
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "hatch";
_parent.skillcost = 1;
_parent.skillelement = 10;
_parent.cost = 3;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3003
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "delay";
_parent.skillcost = "";
_parent.skillelement = 10;
_parent.cost = 4;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3004
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "reverse time";
_parent.skillcost = "";
_parent.skillelement = 10;
_parent.cost = 1;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3005
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "hasten";
_parent.skillcost = 1;
_parent.skillelement = 10;
_parent.cost = 4;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3006
_parent.ctype = "creature";
_parent.atk = 13;
_parent.def = 4;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 10;
_parent.cost = 12;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 3007
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 8;
_parent.skill = "immortality";
_parent.skillcost = 1;
_parent.skillelement = 12;
_parent.cost = 8;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3008
_parent.ctype = "weapon";
_parent.atk = 4;
_parent.def = 8;
_parent.skill = "reverse time";
_parent.skillcost = 3;
_parent.skillelement = 10;
_parent.cost = 5;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 18;
_parent.passive = "";
Symbol 1762 MovieClip Frame 3009
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "hasten";
_parent.skillcost = 1;
_parent.skillelement = 8;
_parent.cost = 0;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
_parent.passive = "sundial";
Symbol 1762 MovieClip Frame 3010
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 1;
_parent.skill = "devour";
_parent.skillcost = 1;
_parent.skillelement = 3;
_parent.cost = 2;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
_parent.passive = "swarm";
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 3011
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "precognition";
_parent.skillcost = "";
_parent.skillelement = 10;
_parent.cost = 1;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3012
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 9;
_parent.skill = "scarab";
_parent.skillcost = 2;
_parent.skillelement = 10;
_parent.cost = 9;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 3013
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 3;
_parent.skill = "neurotoxin";
_parent.skillcost = "";
_parent.skillelement = 10;
_parent.cost = 3;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
_parent.passive = "poisonous";
Symbol 1762 MovieClip Frame 3014
_parent.ctype = "creature";
_parent.atk = 9;
_parent.def = 4;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 10;
_parent.cost = 7;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 45;
_parent.rarity = 17;
_parent.passive = "obsession";
Symbol 1762 MovieClip Frame 3020
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 9;
_parent.skill = "precognition";
_parent.skillcost = 2;
_parent.skillelement = 10;
_parent.cost = 8;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 20;
Symbol 1762 MovieClip Frame 3021
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1762 MovieClip Frame 3030
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "readiness";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 2;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 3050
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 2050) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 2050) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
mark1.gotoAndStop(((_currentframe - 2050) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1762 MovieClip Frame 3100
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3101
_parent.ctype = "creature";
_parent.atk = 12;
_parent.def = 6;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 12;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 45;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 3102
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 4;
_parent.skill = "burrow";
_parent.skillcost = 1;
_parent.skillelement = 4;
_parent.cost = 2;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
_parent.passive = "devourer";
Symbol 1762 MovieClip Frame 3103
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 1;
_parent.skill = "infection";
_parent.skillcost = 1;
_parent.skillelement = 2;
_parent.cost = 2;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3104
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "dusk";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 4;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3105
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "steal";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 3;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3106
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "eclipse";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 4;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3107
_parent.ctype = "weapon";
_parent.atk = 6;
_parent.def = 4;
_parent.skill = "vampire";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 2;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
_parent.passive = "";
Symbol 1762 MovieClip Frame 3108
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "drain life";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 1;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3109
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 3;
_parent.skill = "vampire";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 5;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 15;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 3110
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "liquid shadow";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 3;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3111
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 3;
_parent.skill = "stone form";
_parent.skillcost = 1;
_parent.skillelement = 4;
_parent.cost = 5;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 3112
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 20;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 2;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
_parent.passive = "voodoo";
Symbol 1762 MovieClip Frame 3113
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "nightmare";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 1;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3114
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "cloak";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 3;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3120
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 5;
_parent.skill = "liquid shadow";
_parent.skillcost = 2;
_parent.skillelement = 11;
_parent.cost = 8;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 20;
Symbol 1762 MovieClip Frame 3121
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1762 MovieClip Frame 3130
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "void";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 1;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 3150
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 2050) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 2050) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
mark1.gotoAndStop(((_currentframe - 2050) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1762 MovieClip Frame 3200
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3201
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 3202
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "lightning";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 1;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3203
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "parallel universe";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 6;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3204
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 4;
_parent.skill = "immaterial";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 7;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 45;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3205
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "phaseshift";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 5;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3206
_parent.ctype = "weapon";
_parent.atk = 5;
_parent.def = 4;
_parent.skill = "lobotomize";
_parent.skillcost = 1;
_parent.skillelement = 12;
_parent.cost = 3;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 18;
_parent.passive = "";
Symbol 1762 MovieClip Frame 3207
_parent.ctype = "creature";
_parent.atk = 10;
_parent.def = 6;
_parent.skill = "immaterial";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 14;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 3208
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 2;
_parent.skill = "web";
_parent.skillcost = 1;
_parent.skillelement = 9;
_parent.cost = 4;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3209
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "immortality";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 3;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3210
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "fractal";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 9;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3211
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "duality";
_parent.skillcost = 2;
_parent.skillelement = 12;
_parent.cost = 4;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3212
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "silence";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 2;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1762 MovieClip Frame 3213
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 5;
_parent.skill = "psion";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 4;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1762 MovieClip Frame 3214
_parent.ctype = "creature";
_parent.atk = 6;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 1;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 17;
_parent.passive = "salvaging";
Symbol 1762 MovieClip Frame 3220
_parent.ctype = "creature";
_parent.atk = 8;
_parent.def = 5;
_parent.skill = "immortality";
_parent.skillcost = 3;
_parent.skillelement = 12;
_parent.cost = 8;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 20;
Symbol 1762 MovieClip Frame 3221
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1762 MovieClip Frame 3230
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "wisdom";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 2;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1762 MovieClip Frame 3250
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 2050) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 2050) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
mark1.gotoAndStop(((_currentframe - 2050) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1763 Button
on (release) {
_root.deckpn1 = _root.deck4n;
_root.deckp1 = _root.deck4;
_root.deckall = _root.deckp1;
_root.deckalln = _root.deckpn1;
_root.element = 4;
_root.gotoAndStop("menu");
}
Symbol 1765 Button
on (release) {
gotoAndStop ("selection");
}
Symbol 1768 Button
on (release) {
_root.deckpn1 = _root.deck1n;
_root.deckp1 = _root.deck1;
_root.deckall = _root.deckp1;
_root.deckalln = _root.deckpn1;
_root.element = 1;
_root.gotoAndStop("menu");
}
Symbol 1771 Button
on (release) {
_root.deckpn1 = _root.deck9n;
_root.deckp1 = _root.deck9;
_root.deckall = _root.deckp1;
_root.deckalln = _root.deckpn1;
_root.element = 9;
_root.gotoAndStop("menu");
}
Symbol 1774 Button
on (release) {
_root.deckpn1 = _root.deck3n;
_root.deckp1 = _root.deck3;
_root.deckall = _root.deckp1;
_root.deckalln = _root.deckpn1;
_root.element = 3;
_root.gotoAndStop("menu");
}
Symbol 1777 Button
on (release) {
_root.deckpn1 = _root.deck6n;
_root.deckp1 = _root.deck6;
_root.deckall = _root.deckp1;
_root.deckalln = _root.deckpn1;
_root.element = 6;
_root.gotoAndStop("menu");
}
Symbol 1780 Button
on (release) {
_root.deckpn1 = _root.deck10n;
_root.deckp1 = _root.deck10;
_root.deckall = _root.deckp1;
_root.deckalln = _root.deckpn1;
_root.element = 10;
_root.gotoAndStop("menu");
}
Symbol 1783 Button
on (release) {
_root.deckpn1 = _root.deck7n;
_root.deckp1 = _root.deck7;
_root.deckall = _root.deckp1;
_root.deckalln = _root.deckpn1;
_root.element = 7;
_root.gotoAndStop("menu");
}
Symbol 1786 Button
on (release) {
_root.deckpn1 = _root.deck12n;
_root.deckp1 = _root.deck12;
_root.deckall = _root.deckp1;
_root.deckalln = _root.deckpn1;
_root.element = 12;
_root.gotoAndStop("menu");
}
Symbol 1789 Button
on (release) {
_root.deckpn1 = _root.deck8n;
_root.deckp1 = _root.deck8;
_root.deckall = _root.deckp1;
_root.deckalln = _root.deckpn1;
_root.element = 8;
_root.gotoAndStop("menu");
}
Symbol 1792 Button
on (release) {
_root.deckpn1 = _root.deck5n;
_root.deckp1 = _root.deck5;
_root.deckall = _root.deckp1;
_root.deckalln = _root.deckpn1;
_root.element = 5;
_root.gotoAndStop("menu");
}
Symbol 1795 Button
on (release) {
_root.deckpn1 = _root.deck11n;
_root.deckp1 = _root.deck11;
_root.deckall = _root.deckp1;
_root.deckalln = _root.deckpn1;
_root.element = 11;
_root.gotoAndStop("menu");
}
Symbol 1798 Button
on (release) {
_root.deckpn1 = _root.deck2n;
_root.deckp1 = _root.deck2;
_root.deckall = _root.deckp1;
_root.deckalln = _root.deckpn1;
_root.element = 2;
_root.gotoAndStop("menu");
}
Symbol 1800 MovieClip Frame 14
stop();
Symbol 1800 MovieClip Frame 15
card1.gotoAndStop(401);
card2.gotoAndStop(404);
Instance of Symbol 1762 MovieClip "card1" in Symbol 1800 MovieClip Frame 15
/* no clip actions */
Symbol 1800 MovieClip Frame 16
card1.gotoAndStop(101);
card2.gotoAndStop(106);
Symbol 1800 MovieClip Frame 17
card1.gotoAndStop(905);
card2.gotoAndStop(902);
Symbol 1800 MovieClip Frame 18
card1.gotoAndStop(306);
card2.gotoAndStop(302);
Symbol 1800 MovieClip Frame 19
card1.gotoAndStop(604);
card2.gotoAndStop(606);
Symbol 1800 MovieClip Frame 20
card1.gotoAndStop(1005);
card2.gotoAndStop(1001);
Symbol 1800 MovieClip Frame 21
card1.gotoAndStop(703);
card2.gotoAndStop(706);
Symbol 1800 MovieClip Frame 22
card1.gotoAndStop(1203);
card2.gotoAndStop(1205);
Symbol 1800 MovieClip Frame 23
card1.gotoAndStop(807);
card2.gotoAndStop(802);
Symbol 1800 MovieClip Frame 24
card1.gotoAndStop(506);
card2.gotoAndStop(503);
Symbol 1800 MovieClip Frame 25
card1.gotoAndStop(1101);
card2.gotoAndStop(1105);
Symbol 1800 MovieClip Frame 26
card1.gotoAndStop(207);
card2.gotoAndStop(208);
Symbol 1846 MovieClip Frame 1
_parent.ctype = "empty";
stop();
Symbol 1846 MovieClip Frame 2
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 3
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1846 MovieClip Frame 11
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 12
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 13
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 14
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 15
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 16
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 17
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 18
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 19
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 20
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 21
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 22
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 23
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1846 MovieClip Frame 25
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "none";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
_parent.n = "";
Symbol 1846 MovieClip Frame 26
_parent.ctype = "weapon";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "none";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 27
_parent.ctype = "weapon";
_parent.atk = 2;
_parent.def = 1;
_parent.skill = "dagger";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
_parent.passive = "";
Symbol 1846 MovieClip Frame 28
_parent.ctype = "weapon";
_parent.atk = 3;
_parent.def = 2;
_parent.skill = "sword";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 1;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
_parent.passive = "";
Symbol 1846 MovieClip Frame 29
_parent.ctype = "weapon";
_parent.atk = 3;
_parent.def = 4;
_parent.skill = "hammer";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 2;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 3;
_parent.passive = "";
Symbol 1846 MovieClip Frame 30
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "shard";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 3;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 31
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "gratitude";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 3;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 32
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "infest";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 33
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 1;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 4;
Symbol 1846 MovieClip Frame 34
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "readiness";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 3;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 35
_parent.ctype = "weapon";
_parent.atk = 3;
_parent.def = 3;
_parent.skill = "bow";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 2;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 3;
_parent.passive = "ranged";
Symbol 1846 MovieClip Frame 36
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "shield";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 1;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 37
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "sacrifice";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 2;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 38
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "void";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 2;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 39
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "patience";
_parent.skillcost = 0;
_parent.skillelement = 0;
_parent.cost = 3;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 41
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "serendipity";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 3;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 42
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "accretion";
_parent.skillcost = 0;
_parent.skillelement = 3;
_parent.cost = 6;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 43
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "bravery";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 2;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 44
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "integrity";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 2;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 45
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "wisdom";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 3;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 46
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "freedom";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 2;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 100
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 101
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 2;
_parent.skill = "paradox";
_parent.skillcost = 2;
_parent.skillelement = 1;
_parent.cost = 5;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 3;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 102
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 5;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 5;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 103
_parent.ctype = "creature";
_parent.atk = 10;
_parent.def = 5;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 10;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 104
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "edissipation";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 3;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 105
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "lycanthropy";
_parent.skillcost = 2;
_parent.skillelement = 11;
_parent.cost = 2;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 106
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "chaos";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 1;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 107
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "nova";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 0;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 108
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "mutation";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 2;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 109
_parent.ctype = "weapon";
_parent.atk = 4;
_parent.def = 3;
_parent.skill = "scramble";
_parent.skillcost = "";
_parent.skillelement = "";
_parent.cost = 3;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
_parent.passive = "";
Symbol 1846 MovieClip Frame 110
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 2;
_parent.skill = "mutation";
_parent.skillcost = 1;
_parent.skillelement = 5;
_parent.cost = 4;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 4;
Symbol 1846 MovieClip Frame 111
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "antimatter";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 8;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 112
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "butterfly";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 5;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 113
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "pandemonium";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 3;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 114
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "dead/alive";
_parent.skillcost = 1;
_parent.skillelement = 1;
_parent.cost = 1;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 115
_parent.ctype = "creature";
_parent.atk = -1;
_parent.def = 3;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 10;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
_parent.passive = "singularity";
Symbol 1846 MovieClip Frame 120
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 1;
_parent.skill = "antimatter";
_parent.skillcost = 4;
_parent.skillelement = 1;
_parent.cost = 9;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 15;
Symbol 1846 MovieClip Frame 121
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1846 MovieClip Frame 130
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "serendipity";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 3;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 150
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 50) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 50) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
mark1.gotoAndStop(((_currentframe - 50) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1846 MovieClip Frame 200
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 201
_parent.ctype = "creature";
_parent.atk = 10;
_parent.def = 5;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 10;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 202
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "infect";
_parent.skillcost = 0;
_parent.skillelement = 2;
_parent.cost = 1;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 15;
_parent.rarity = 2;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 203
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 3;
_parent.skill = "web";
_parent.skillcost = 1;
_parent.skillelement = 9;
_parent.cost = 3;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 204
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "scavenger";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 3;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 3;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 205
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "unholy";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 3;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 206
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 1;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 1;
_parent.passive = "undead";
Symbol 1846 MovieClip Frame 207
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "boneyard";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 3;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 208
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "poison";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 1;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 209
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "plague";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 4;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 210
_parent.ctype = "weapon";
_parent.atk = 2;
_parent.def = 7;
_parent.skill = "venom";
_parent.skillcost = "";
_parent.skillelement = "";
_parent.cost = 2;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
_parent.passive = "poisonous";
Symbol 1846 MovieClip Frame 211
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "bones";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 7;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 212
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "aflatoxin";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 6;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 213
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 3;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 4;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 2;
_parent.passive = "mummy";
Symbol 1846 MovieClip Frame 214
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "deadly venom";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 2;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 2;
_parent.passive = "poisonous";
Symbol 1846 MovieClip Frame 215
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "soul catch";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 0;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 220
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 8;
_parent.skill = "aflatoxin";
_parent.skillcost = 1;
_parent.skillelement = 2;
_parent.cost = 8;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 15;
Symbol 1846 MovieClip Frame 221
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1846 MovieClip Frame 230
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "sacrifice";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 2;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 250
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 50) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 50) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
mark1.gotoAndStop(((_currentframe - 50) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1846 MovieClip Frame 300
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 301
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 5;
_parent.skill = "momentum";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 5;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 302
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 25;
_parent.skill = "gravity pull";
_parent.skillcost = 1;
_parent.skillelement = 3;
_parent.cost = 5;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 303
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 5;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 3;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 304
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 15;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 10;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 305
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "weight";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 5;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 306
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "momentum";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 2;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 307
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 3;
_parent.skill = "devour";
_parent.skillcost = 1;
_parent.skillelement = 3;
_parent.cost = 4;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 308
_parent.ctype = "weapon";
_parent.atk = 7;
_parent.def = 50;
_parent.skill = "momentum";
_parent.skillcost = "";
_parent.skillelement = "";
_parent.cost = 5;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
_parent.passive = "";
Symbol 1846 MovieClip Frame 309
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "gravity pull";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 2;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 310
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 5;
_parent.skill = "ablaze";
_parent.skillcost = 1;
_parent.skillelement = 6;
_parent.cost = 2;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 311
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "black hole";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 4;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 312
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 7;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 25;
_parent.rarity = 4;
_parent.passive = "chimera";
Symbol 1846 MovieClip Frame 313
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "catapult";
_parent.skillcost = 2;
_parent.skillelement = 3;
_parent.cost = 3;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 314
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "acceleration";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 3;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 315
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 5;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 1;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 2;
_parent.passive = "salvaging";
Symbol 1846 MovieClip Frame 320
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 3;
_parent.skill = "black hole";
_parent.skillcost = 3;
_parent.skillelement = 3;
_parent.cost = 9;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 15;
Symbol 1846 MovieClip Frame 321
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1846 MovieClip Frame 330
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "accretion";
_parent.skillcost = 0;
_parent.skillelement = 3;
_parent.cost = 6;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 340
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 7;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 25;
_parent.rarity = 4;
_parent.passive = "chimera";
Symbol 1846 MovieClip Frame 350
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 50) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 50) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
mark1.gotoAndStop(((_currentframe - 50) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1846 MovieClip Frame 400
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 401
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 3;
_parent.skill = "burrow";
_parent.skillcost = 1;
_parent.skillelement = 4;
_parent.cost = 2;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 402
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 6;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 4;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 45;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 403
_parent.ctype = "creature";
_parent.atk = 8;
_parent.def = 10;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 10;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 404
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 2;
_parent.skill = "shield";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 4;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 405
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "armor";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 1;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 406
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 2;
_parent.skill = "earth";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 1;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 15;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 407
_parent.ctype = "weapon";
_parent.atk = 5;
_parent.def = 12;
_parent.skill = "destroy";
_parent.skillcost = 3;
_parent.skillelement = 3;
_parent.cost = 4;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 6;
_parent.passive = "";
Symbol 1846 MovieClip Frame 408
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 3;
_parent.skill = "evolve";
_parent.skillcost = 1;
_parent.skillelement = 10;
_parent.cost = 3;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 3;
_parent.passive = "burrow";
Symbol 1846 MovieClip Frame 409
_parent.ctype = "creature";
_parent.atk = 8;
_parent.def = 3;
_parent.skill = "burrow";
_parent.skillcost = 1;
_parent.skillelement = 4;
_parent.cost = 8;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 410
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "enchant";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 2;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 411
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "earthquake";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 3;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 412
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "stoneskin";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 2;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 413
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "petrify";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 2;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 414
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 3;
_parent.skill = "guard";
_parent.skillcost = 1;
_parent.skillelement = 4;
_parent.cost = 1;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 15;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 415
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "golem";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 8;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 420
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 8;
_parent.skill = "petrify";
_parent.skillcost = 3;
_parent.skillelement = 4;
_parent.cost = 8;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 15;
Symbol 1846 MovieClip Frame 421
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1846 MovieClip Frame 430
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "integrity";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 2;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 450
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 50) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 50) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
mark1.gotoAndStop(((_currentframe - 50) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1846 MovieClip Frame 500
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 501
_parent.ctype = "creature";
_parent.atk = 10;
_parent.def = 6;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 10;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 502
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 3;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 2;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 503
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "photosynthesis";
_parent.skillcost = 1;
_parent.skillelement = 8;
_parent.cost = 1;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 2;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 504
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 4;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 3;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 505
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "growth";
_parent.skillcost = 1;
_parent.skillelement = 7;
_parent.cost = 2;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 2;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 506
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "healp";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 3;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 507
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "spines";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 7;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 508
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "reflect";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 5;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 4;
Symbol 1846 MovieClip Frame 509
_parent.ctype = "weapon";
_parent.atk = 2;
_parent.def = 7;
_parent.skill = "regenerate";
_parent.skillcost = "";
_parent.skillelement = "";
_parent.cost = 2;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 6;
_parent.passive = "";
Symbol 1846 MovieClip Frame 510
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "empathy";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 5;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 511
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "adrenaline";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 4;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 512
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 2;
_parent.skill = "venom";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 3;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 2;
_parent.passive = "poisonous";
Symbol 1846 MovieClip Frame 513
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "mitosis";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 5;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 520
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 6;
_parent.skill = "adrenaline";
_parent.skillcost = 2;
_parent.skillelement = 5;
_parent.cost = 8;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 15;
Symbol 1846 MovieClip Frame 521
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1846 MovieClip Frame 530
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "gratitude";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 3;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 550
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 50) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 50) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
mark1.gotoAndStop(((_currentframe - 50) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1846 MovieClip Frame 600
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 601
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 1;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 1;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 602
_parent.ctype = "creature";
_parent.atk = 12;
_parent.def = 3;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 10;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 603
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 2;
_parent.skill = "ablaze";
_parent.skillcost = 1;
_parent.skillelement = 6;
_parent.cost = 2;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 2;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 604
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "fire bolt";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 3;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 605
_parent.ctype = "shield";
_parent.atk = 1;
_parent.def = 0;
_parent.skill = "firewall";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 6;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 606
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "destroy";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 3;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 607
_parent.ctype = "weapon";
_parent.atk = 4;
_parent.def = 5;
_parent.skill = "fiery";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 3;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 6;
_parent.passive = "";
Symbol 1846 MovieClip Frame 608
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "rain of fire";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 7;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 4;
Symbol 1846 MovieClip Frame 609
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "immolate";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 0;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 610
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 1;
_parent.skill = "growth";
_parent.skillcost = 1;
_parent.skillelement = 4;
_parent.cost = 5;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 611
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "rage";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 3;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 612
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 1;
_parent.skill = "phoenix";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 7;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 613
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 5;
_parent.skill = "rebirth";
_parent.skillcost = 1;
_parent.skillelement = 6;
_parent.cost = 7;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 4;
Symbol 1846 MovieClip Frame 614
_parent.ctype = "creature";
_parent.atk = 10;
_parent.def = 1;
_parent.skill = "divineshield";
_parent.skillcost = 1;
_parent.skillelement = 8;
_parent.cost = 9;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 620
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 6;
_parent.skill = "rage";
_parent.skillcost = 3;
_parent.skillelement = 6;
_parent.cost = 8;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 15;
Symbol 1846 MovieClip Frame 621
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1846 MovieClip Frame 630
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "bravery";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 2;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 650
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 50) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 50) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
mark1.gotoAndStop(((_currentframe - 50) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1846 MovieClip Frame 700
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 701
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 2;
_parent.skill = "poison";
_parent.skillcost = 1;
_parent.skillelement = 2;
_parent.cost = 1;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 25;
_parent.rarity = 2;
_parent.passive = "poisonous";
Symbol 1846 MovieClip Frame 702
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 3;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 3;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 703
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "freeze";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 1;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 704
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "icebolt";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 2;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 705
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "ice";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 6;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 706
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 2;
_parent.skill = "purify";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 2;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 707
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 2;
_parent.skill = "freeze";
_parent.skillcost = 2;
_parent.skillelement = 7;
_parent.cost = 3;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 8;
Symbol 1846 MovieClip Frame 708
_parent.ctype = "weapon";
_parent.atk = 4;
_parent.def = 9;
_parent.skill = "tsunami";
_parent.skillcost = 3;
_parent.skillelement = 4;
_parent.cost = 3;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 6;
_parent.passive = "";
Symbol 1846 MovieClip Frame 709
_parent.ctype = "creature";
_parent.atk = 9;
_parent.def = 6;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 10;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 710
_parent.ctype = "creature";
_parent.atk = 6;
_parent.def = 4;
_parent.skill = "infection";
_parent.skillcost = 1;
_parent.skillelement = 9;
_parent.cost = 5;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 2;
_parent.passive = "poisonous";
Symbol 1846 MovieClip Frame 711
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 2;
_parent.skill = "lobotomize";
_parent.skillcost = 1;
_parent.skillelement = 12;
_parent.cost = 2;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 712
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "nymph";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 7;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 713
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "flood";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 3;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 714
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 6;
_parent.skill = "steam";
_parent.skillcost = 2;
_parent.skillelement = 6;
_parent.cost = 4;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 715
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "dry";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 2;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 720
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 6;
_parent.skill = "nymph";
_parent.skillcost = 4;
_parent.skillelement = 7;
_parent.cost = 8;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 15;
Symbol 1846 MovieClip Frame 721
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1846 MovieClip Frame 730
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "patience";
_parent.skillcost = 0;
_parent.skillelement = 0;
_parent.cost = 3;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 750
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 50) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 50) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
mark1.gotoAndStop(((_currentframe - 50) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1846 MovieClip Frame 800
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 801
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 802
_parent.ctype = "creature";
_parent.atk = 10;
_parent.def = 10;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 12;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 803
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 2;
_parent.skill = "dive";
_parent.skillcost = 1;
_parent.skillelement = 9;
_parent.cost = 4;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 3;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 804
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "holy light";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 1;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 805
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "solar";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 3;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 806
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 6;
_parent.skill = "heal";
_parent.skillcost = 1;
_parent.skillelement = 8;
_parent.cost = 3;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 2;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 807
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "blessing";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 3;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 808
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "reflect";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 1;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 4;
Symbol 1846 MovieClip Frame 809
_parent.ctype = "weapon";
_parent.atk = 7;
_parent.def = 7;
_parent.skill = "immaterial";
_parent.skillcost = "";
_parent.skillelement = "";
_parent.cost = 5;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
_parent.passive = "";
Symbol 1846 MovieClip Frame 810
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "miracle";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 15;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 811
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "luciferin";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 2;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 812
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "hope";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 7;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 813
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 4;
_parent.skill = "endow";
_parent.skillcost = 3;
_parent.skillelement = 8;
_parent.cost = 5;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 814
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "sanctuary";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 4;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 820
_parent.ctype = "creature";
_parent.atk = 6;
_parent.def = 9;
_parent.skill = "luciferin";
_parent.skillcost = 4;
_parent.skillelement = 8;
_parent.cost = 9;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 15;
Symbol 1846 MovieClip Frame 821
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 1;
_parent.skill = "moo";
_parent.skillcost = 0;
_parent.skillelement = 8;
_parent.cost = 9;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 15;
Symbol 1846 MovieClip Frame 822
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1846 MovieClip Frame 830
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "shard";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 3;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 850
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 50) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 50) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
mark1.gotoAndStop(((_currentframe - 50) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1846 MovieClip Frame 900
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 901
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "air";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 1;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = -10;
_parent.rarity = 2;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 902
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 3;
_parent.skill = "dive";
_parent.skillcost = 2;
_parent.skillelement = 9;
_parent.cost = 4;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 2;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 903
_parent.ctype = "creature";
_parent.atk = 9;
_parent.def = 6;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 10;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 904
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "fog";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 2;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 905
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "thunderstorm";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 3;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 906
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "flying";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 1;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 907
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 7;
_parent.skill = "queen";
_parent.skillcost = 2;
_parent.skillelement = 5;
_parent.cost = 6;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 908
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 2;
_parent.skill = "light";
_parent.skillcost = "";
_parent.skillelement = "";
_parent.cost = 3;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 2;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 909
_parent.ctype = "weapon";
_parent.atk = 5;
_parent.def = 7;
_parent.skill = "sniper";
_parent.skillcost = 2;
_parent.skillelement = 9;
_parent.cost = 5;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
_parent.passive = "ranged";
Symbol 1846 MovieClip Frame 910
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "ignite";
_parent.skillcost = 1;
_parent.skillelement = 6;
_parent.cost = 6;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 15;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 911
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "shockwave";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 2;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 912
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "wings";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 4;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 913
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "blitz";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 9;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 920
_parent.ctype = "creature";
_parent.atk = 6;
_parent.def = 5;
_parent.skill = "unstable gas";
_parent.skillcost = 3;
_parent.skillelement = 9;
_parent.cost = 8;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 15;
Symbol 1846 MovieClip Frame 930
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "freedom";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 2;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 950
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 50) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 50) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
mark1.gotoAndStop(((_currentframe - 50) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1846 MovieClip Frame 1000
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 1001
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "deja vu";
_parent.skillcost = 1;
_parent.skillelement = 10;
_parent.cost = 1;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 2;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 1002
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "hatch";
_parent.skillcost = 1;
_parent.skillelement = 10;
_parent.cost = 3;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 1003
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "delay";
_parent.skillcost = "";
_parent.skillelement = 10;
_parent.cost = 6;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 1004
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "reverse time";
_parent.skillcost = "";
_parent.skillelement = 10;
_parent.cost = 2;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 1005
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "hasten";
_parent.skillcost = 2;
_parent.skillelement = 10;
_parent.cost = 4;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 1006
_parent.ctype = "creature";
_parent.atk = 10;
_parent.def = 5;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 10;
_parent.cost = 10;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 1007
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 8;
_parent.skill = "immortality";
_parent.skillcost = 2;
_parent.skillelement = 12;
_parent.cost = 8;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 4;
Symbol 1846 MovieClip Frame 1008
_parent.ctype = "weapon";
_parent.atk = 4;
_parent.def = 8;
_parent.skill = "reverse time";
_parent.skillcost = 3;
_parent.skillelement = 10;
_parent.cost = 6;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 6;
_parent.passive = "";
Symbol 1846 MovieClip Frame 1009
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "hasten";
_parent.skillcost = 1;
_parent.skillelement = 8;
_parent.cost = 1;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 4;
_parent.passive = "sundial";
Symbol 1846 MovieClip Frame 1010
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 1;
_parent.skill = "devour";
_parent.skillcost = 1;
_parent.skillelement = 3;
_parent.cost = 2;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 2;
_parent.passive = "swarm";
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 1011
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "precognition";
_parent.skillcost = "";
_parent.skillelement = 10;
_parent.cost = 2;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 1012
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 9;
_parent.skill = "scarab";
_parent.skillcost = 2;
_parent.skillelement = 10;
_parent.cost = 9;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 8;
Symbol 1846 MovieClip Frame 1013
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "neurotoxin";
_parent.skillcost = "";
_parent.skillelement = 10;
_parent.cost = 3;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 2;
_parent.passive = "poisonous";
Symbol 1846 MovieClip Frame 1014
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 4;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 10;
_parent.cost = 6;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 45;
_parent.rarity = 3;
_parent.passive = "obsession";
Symbol 1846 MovieClip Frame 1020
_parent.ctype = "creature";
_parent.atk = 6;
_parent.def = 8;
_parent.skill = "precognition";
_parent.skillcost = 2;
_parent.skillelement = 10;
_parent.cost = 8;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 15;
Symbol 1846 MovieClip Frame 1021
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1846 MovieClip Frame 1030
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "readiness";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 3;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 1050
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 50) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 50) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
mark1.gotoAndStop(((_currentframe - 50) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1846 MovieClip Frame 1100
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 1101
_parent.ctype = "creature";
_parent.atk = 10;
_parent.def = 5;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 10;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 45;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 1102
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 2;
_parent.skill = "burrow";
_parent.skillcost = 1;
_parent.skillelement = 4;
_parent.cost = 2;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 3;
_parent.passive = "devourer";
Symbol 1846 MovieClip Frame 1103
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "infection";
_parent.skillcost = 1;
_parent.skillelement = 2;
_parent.cost = 2;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 1104
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "dusk";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 6;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 1105
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "steal";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 4;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 1106
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "nightfall";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 3;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 1107
_parent.ctype = "weapon";
_parent.atk = 4;
_parent.def = 4;
_parent.skill = "vampire";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 1;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
_parent.passive = "";
Symbol 1846 MovieClip Frame 1108
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "drain life";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 3;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 1109
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 2;
_parent.skill = "vampire";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 3;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 15;
_parent.rarity = 3;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 1110
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "liquid shadow";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 4;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 1111
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 3;
_parent.skill = "stone form";
_parent.skillcost = 1;
_parent.skillelement = 4;
_parent.cost = 5;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 2;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 1112
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 16;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 2;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 3;
_parent.passive = "voodoo";
Symbol 1846 MovieClip Frame 1113
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "nightmare";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 2;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 1114
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "cloak";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 4;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 1120
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 5;
_parent.skill = "liquid shadow";
_parent.skillcost = 2;
_parent.skillelement = 11;
_parent.cost = 8;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 15;
Symbol 1846 MovieClip Frame 1121
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1846 MovieClip Frame 1130
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "void";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 2;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 1150
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 50) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 50) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
mark1.gotoAndStop(((_currentframe - 50) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1846 MovieClip Frame 1200
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 1201
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 1202
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "lightning";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 2;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 1203
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "parallel universe";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 7;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 1204
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 3;
_parent.skill = "immaterial";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 6;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 45;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 1205
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "phaseshift";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 6;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 1206
_parent.ctype = "weapon";
_parent.atk = 5;
_parent.def = 4;
_parent.skill = "lobotomize";
_parent.skillcost = 2;
_parent.skillelement = 12;
_parent.cost = 3;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 6;
_parent.passive = "";
Symbol 1846 MovieClip Frame 1207
_parent.ctype = "creature";
_parent.atk = 8;
_parent.def = 6;
_parent.skill = "immaterial";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 13;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 1208
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 2;
_parent.skill = "web";
_parent.skillcost = 1;
_parent.skillelement = 9;
_parent.cost = 3;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 1209
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "immortality";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 4;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 1210
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "fractal";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 10;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 1211
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "duality";
_parent.skillcost = 2;
_parent.skillelement = 12;
_parent.cost = 5;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 1212
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "silence";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 3;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 3;
Symbol 1846 MovieClip Frame 1213
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 4;
_parent.skill = "psion";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 4;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 4;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 1214
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 1;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 2;
_parent.passive = "salvaging";
Symbol 1846 MovieClip Frame 1220
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 4;
_parent.skill = "immortality";
_parent.skillcost = 3;
_parent.skillelement = 12;
_parent.cost = 8;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 15;
Symbol 1846 MovieClip Frame 1230
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "wisdom";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 3;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 6;
Symbol 1846 MovieClip Frame 1250
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 50) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 50) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
mark1.gotoAndStop(((_currentframe - 50) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1846 MovieClip Frame 2002
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2003
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1846 MovieClip Frame 2011
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 2012
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 2013
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 2014
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 2015
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 2016
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 2017
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 2018
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 2019
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 2020
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 2021
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 2022
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 2023
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1846 MovieClip Frame 2025
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "none";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
_parent.n = "";
Symbol 1846 MovieClip Frame 2026
_parent.ctype = "weapon";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "none";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 2027
_parent.ctype = "weapon";
_parent.atk = 4;
_parent.def = 1;
_parent.skill = "dagger";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
_parent.passive = "";
Symbol 1846 MovieClip Frame 2028
_parent.ctype = "weapon";
_parent.atk = 6;
_parent.def = 2;
_parent.skill = "sword";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 1;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
_parent.passive = "";
Symbol 1846 MovieClip Frame 2029
_parent.ctype = "weapon";
_parent.atk = 6;
_parent.def = 6;
_parent.skill = "hammer";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 2;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 17;
_parent.passive = "";
Symbol 1846 MovieClip Frame 2030
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "shard";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 2;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 2031
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "gratitude";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 2;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 2032
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "infest";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 1;
Symbol 1846 MovieClip Frame 2033
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 1;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 16;
Symbol 1846 MovieClip Frame 2034
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "readiness";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 2;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 2035
_parent.ctype = "weapon";
_parent.atk = 6;
_parent.def = 4;
_parent.skill = "bow";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 2;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 17;
_parent.passive = "ranged";
Symbol 1846 MovieClip Frame 2036
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 2;
_parent.skill = "shield";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 5;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2037
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "sacrifice";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 2;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 2038
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "void";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 1;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 2039
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "patience";
_parent.skillcost = 0;
_parent.skillelement = 0;
_parent.cost = 2;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 2041
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "serendipity";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 3;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 2042
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "accretion";
_parent.skillcost = 0;
_parent.skillelement = 3;
_parent.cost = 4;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 2043
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "bravery";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 1;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 2044
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "integrity";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 1;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 2045
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "wisdom";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 2;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 2046
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "freedom";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 1;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 2100
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2101
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 5;
_parent.skill = "paradox";
_parent.skillcost = 2;
_parent.skillelement = 1;
_parent.cost = 5;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 2102
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 4;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 1;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2103
_parent.ctype = "creature";
_parent.atk = 12;
_parent.def = 6;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 11;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 2104
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "dissipation";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 3;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2105
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "lycanthropy";
_parent.skillcost = 1;
_parent.skillelement = 11;
_parent.cost = 2;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2106
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "chaos power";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 1;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2107
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "supernova";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 2;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2108
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "improve";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 3;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2109
_parent.ctype = "weapon";
_parent.atk = 6;
_parent.def = 3;
_parent.skill = "scramble";
_parent.skillcost = "";
_parent.skillelement = "";
_parent.cost = 3;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
_parent.passive = "";
Symbol 1846 MovieClip Frame 2110
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 3;
_parent.skill = "improve";
_parent.skillcost = 1;
_parent.skillelement = 5;
_parent.cost = 5;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2111
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "antimatter";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 6;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2112
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "butterfly";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 4;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2113
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "pandemonium";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 5;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2114
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 3;
_parent.skill = "dead/alive";
_parent.skillcost = 1;
_parent.skillelement = 1;
_parent.cost = 1;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2115
_parent.ctype = "creature";
_parent.atk = -7;
_parent.def = 5;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 10;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 1;
_parent.passive = "singularity";
Symbol 1846 MovieClip Frame 2120
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 2;
_parent.skill = "antimatter";
_parent.skillcost = 4;
_parent.skillelement = 1;
_parent.cost = 9;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 20;
Symbol 1846 MovieClip Frame 2121
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1846 MovieClip Frame 2130
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "serendipity";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 3;
_parent.costelement = 1;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 2150
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 2050) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 2050) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
mark1.gotoAndStop(((_currentframe - 2050) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1846 MovieClip Frame 2200
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2201
_parent.ctype = "creature";
_parent.atk = 11;
_parent.def = 5;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 10;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 2202
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "plague";
_parent.skillcost = 0;
_parent.skillelement = 2;
_parent.cost = 2;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 15;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 2203
_parent.ctype = "creature";
_parent.atk = 6;
_parent.def = 3;
_parent.skill = "web";
_parent.skillcost = 1;
_parent.skillelement = 9;
_parent.cost = 3;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2204
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 2;
_parent.skill = "scavenger";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 3;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 2205
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "unholy";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 2;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2206
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 2;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 1;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
_parent.passive = "undead";
Symbol 1846 MovieClip Frame 2207
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "boneyard";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 5;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2208
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "deadly poison";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 2;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2209
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "plague";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 2;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2210
_parent.ctype = "weapon";
_parent.atk = 4;
_parent.def = 7;
_parent.skill = "venom";
_parent.skillcost = "";
_parent.skillelement = "";
_parent.cost = 2;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
_parent.passive = "poisonous";
Symbol 1846 MovieClip Frame 2211
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "bones";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 5;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2212
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "aflatoxin";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 5;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2213
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 3;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 3;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
_parent.passive = "mummy";
Symbol 1846 MovieClip Frame 2214
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 3;
_parent.skill = "deadly venom";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 2;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
_parent.passive = "poisonous";
Symbol 1846 MovieClip Frame 2215
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "soul catch";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 0;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2220
_parent.ctype = "creature";
_parent.atk = 8;
_parent.def = 9;
_parent.skill = "aflatoxin";
_parent.skillcost = 1;
_parent.skillelement = 2;
_parent.cost = 8;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 20;
Symbol 1846 MovieClip Frame 2230
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "sacrifice";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 2;
_parent.costelement = 2;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 2250
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 2050) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 2050) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
mark1.gotoAndStop(((_currentframe - 2050) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1846 MovieClip Frame 2300
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2301
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 5;
_parent.skill = "momentum";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 5;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2302
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 30;
_parent.skill = "gravity pull";
_parent.skillcost = 1;
_parent.skillelement = 3;
_parent.cost = 5;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2303
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 7;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 2;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2304
_parent.ctype = "creature";
_parent.atk = 8;
_parent.def = 30;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 11;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 2305
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "weight";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 3;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2306
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "momentum";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 1;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2307
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 5;
_parent.skill = "devour";
_parent.skillcost = 1;
_parent.skillelement = 3;
_parent.cost = 5;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2308
_parent.ctype = "weapon";
_parent.atk = 8;
_parent.def = 50;
_parent.skill = "momentum";
_parent.skillcost = "";
_parent.skillelement = "";
_parent.cost = 5;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
_parent.passive = "";
Symbol 1846 MovieClip Frame 2309
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "gravity pull";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 1;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2310
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 6;
_parent.skill = "ablaze";
_parent.skillcost = 1;
_parent.skillelement = 6;
_parent.cost = 1;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2311
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "black hole";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 3;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2312
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 6;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 25;
_parent.rarity = 17;
_parent.passive = "chimera";
Symbol 1846 MovieClip Frame 2313
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "catapult";
_parent.skillcost = 1;
_parent.skillelement = 3;
_parent.cost = 3;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2314
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "overdrive";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 4;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2315
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 5;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 1;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 17;
_parent.passive = "salvaging";
Symbol 1846 MovieClip Frame 2320
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 4;
_parent.skill = "black hole";
_parent.skillcost = 3;
_parent.skillelement = 3;
_parent.cost = 9;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 20;
Symbol 1846 MovieClip Frame 2330
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "accretion";
_parent.skillcost = 0;
_parent.skillelement = 3;
_parent.cost = 4;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 2340
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 3;
_parent.cost = 6;
_parent.costelement = 3;
_parent.costany = 0;
_parent.posy = 25;
_parent.rarity = 17;
_parent.passive = "chimera";
Symbol 1846 MovieClip Frame 2350
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 2050) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 2050) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
mark1.gotoAndStop(((_currentframe - 2050) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1846 MovieClip Frame 2400
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2401
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 4;
_parent.skill = "burrow";
_parent.skillcost = 1;
_parent.skillelement = 4;
_parent.cost = 2;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2402
_parent.ctype = "creature";
_parent.atk = 6;
_parent.def = 9;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 4;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 45;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2403
_parent.ctype = "creature";
_parent.atk = 10;
_parent.def = 12;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 12;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 2404
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 3;
_parent.skill = "shield";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 6;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2405
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "heavy armor";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 1;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2406
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 2;
_parent.skill = "earth";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 0;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 15;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2407
_parent.ctype = "weapon";
_parent.atk = 5;
_parent.def = 12;
_parent.skill = "destroy";
_parent.skillcost = 2;
_parent.skillelement = 3;
_parent.cost = 4;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 18;
_parent.passive = "";
Symbol 1846 MovieClip Frame 2408
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 3;
_parent.skill = "evolve";
_parent.skillcost = 1;
_parent.skillelement = 10;
_parent.cost = 3;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 17;
_parent.passive = "burrow";
Symbol 1846 MovieClip Frame 2409
_parent.ctype = "creature";
_parent.atk = 10;
_parent.def = 4;
_parent.skill = "burrow";
_parent.skillcost = 1;
_parent.skillelement = 4;
_parent.cost = 8;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2410
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "enchant";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 1;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2411
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "earthquake";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 2;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2412
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "stoneskin";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 1;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2413
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "petrify";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 1;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2414
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 6;
_parent.skill = "guard";
_parent.skillcost = 1;
_parent.skillelement = 4;
_parent.cost = 1;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 15;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2415
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "golem";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 8;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2420
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 9;
_parent.skill = "petrify";
_parent.skillcost = 3;
_parent.skillelement = 4;
_parent.cost = 8;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 20;
Symbol 1846 MovieClip Frame 2421
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1846 MovieClip Frame 2430
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "integrity";
_parent.skillcost = "";
_parent.skillelement = 4;
_parent.cost = 1;
_parent.costelement = 4;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 2450
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 2050) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 2050) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
mark1.gotoAndStop(((_currentframe - 2050) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1846 MovieClip Frame 2500
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2501
_parent.ctype = "creature";
_parent.atk = 12;
_parent.def = 9;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 12;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 2502
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 3;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 2;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2503
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 3;
_parent.skill = "photosynthesis";
_parent.skillcost = 1;
_parent.skillelement = 8;
_parent.cost = 1;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 2504
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 5;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 3;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2505
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 3;
_parent.skill = "growth";
_parent.skillcost = 1;
_parent.skillelement = 7;
_parent.cost = 3;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 2506
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "healp";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 2;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2507
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "spines";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 7;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2508
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 2;
_parent.skill = "reflect";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 7;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2509
_parent.ctype = "weapon";
_parent.atk = 4;
_parent.def = 7;
_parent.skill = "regenerate";
_parent.skillcost = "";
_parent.skillelement = "";
_parent.cost = 2;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 18;
_parent.passive = "";
Symbol 1846 MovieClip Frame 2510
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "empathy";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 4;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2511
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "adrenaline";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 3;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2512
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 2;
_parent.skill = "venom";
_parent.skillcost = "";
_parent.skillelement = 2;
_parent.cost = 3;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
_parent.passive = "poisonous";
Symbol 1846 MovieClip Frame 2513
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "mitosis";
_parent.skillcost = "";
_parent.skillelement = 5;
_parent.cost = 4;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2520
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 7;
_parent.skill = "adrenaline";
_parent.skillcost = 2;
_parent.skillelement = 5;
_parent.cost = 8;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 20;
Symbol 1846 MovieClip Frame 2530
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "gratitude";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 2;
_parent.costelement = 5;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 2550
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 2050) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 2050) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
mark1.gotoAndStop(((_currentframe - 2050) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1846 MovieClip Frame 2600
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2601
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 1;
_parent.skill = "fire";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 1;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2602
_parent.ctype = "creature";
_parent.atk = 15;
_parent.def = 2;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 12;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 2603
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 3;
_parent.skill = "ablaze";
_parent.skillcost = 1;
_parent.skillelement = 6;
_parent.cost = 3;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 2604
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "fire bolt";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 1;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2605
_parent.ctype = "shield";
_parent.atk = 1;
_parent.def = 0;
_parent.skill = "firewall";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 4;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2606
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "destroy";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 2;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2607
_parent.ctype = "weapon";
_parent.atk = 5;
_parent.def = 5;
_parent.skill = "fiery";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 3;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 18;
_parent.passive = "";
Symbol 1846 MovieClip Frame 2608
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "rain of fire";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 5;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2609
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "cremation";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 0;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2610
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 1;
_parent.skill = "growth";
_parent.skillcost = 1;
_parent.skillelement = 4;
_parent.cost = 5;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2611
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "berserk";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 3;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2612
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 1;
_parent.skill = "phoenix";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 2;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 2613
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 5;
_parent.skill = "rebirth";
_parent.skillcost = 1;
_parent.skillelement = 6;
_parent.cost = 2;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2614
_parent.ctype = "creature";
_parent.atk = 12;
_parent.def = 1;
_parent.skill = "divineshield";
_parent.skillcost = 1;
_parent.skillelement = 8;
_parent.cost = 9;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 2620
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 7;
_parent.skill = "berserk";
_parent.skillcost = 3;
_parent.skillelement = 6;
_parent.cost = 8;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 20;
Symbol 1846 MovieClip Frame 2630
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "bravery";
_parent.skillcost = "";
_parent.skillelement = 6;
_parent.cost = 1;
_parent.costelement = 6;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 2650
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 2050) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 2050) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
mark1.gotoAndStop(((_currentframe - 2050) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1846 MovieClip Frame 2700
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2701
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 2;
_parent.skill = "poison";
_parent.skillcost = 1;
_parent.skillelement = 2;
_parent.cost = 1;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 25;
_parent.rarity = 17;
_parent.passive = "poisonous";
Symbol 1846 MovieClip Frame 2702
_parent.ctype = "creature";
_parent.atk = 6;
_parent.def = 6;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 4;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2703
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "congeal";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 1;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2704
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "icebolt";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 1;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2705
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 2;
_parent.skill = "ice";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 7;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2706
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 2;
_parent.skill = "purify";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 1;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2707
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 2;
_parent.skill = "congeal";
_parent.skillcost = 2;
_parent.skillelement = 7;
_parent.cost = 3;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 2708
_parent.ctype = "weapon";
_parent.atk = 4;
_parent.def = 9;
_parent.skill = "tsunami";
_parent.skillcost = 2;
_parent.skillelement = 4;
_parent.cost = 3;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 18;
_parent.passive = "";
Symbol 1846 MovieClip Frame 2709
_parent.ctype = "creature";
_parent.atk = 13;
_parent.def = 5;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 11;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 2710
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 5;
_parent.skill = "venom";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 5;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
_parent.passive = "poisonous";
Symbol 1846 MovieClip Frame 2711
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 4;
_parent.skill = "lobotomize";
_parent.skillcost = 1;
_parent.skillelement = 12;
_parent.cost = 3;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2712
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "nymph";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 6;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2713
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "flood";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 2;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2714
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 15;
_parent.skill = "steam";
_parent.skillcost = 2;
_parent.skillelement = 6;
_parent.cost = 5;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2715
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "dry";
_parent.skillcost = "";
_parent.skillelement = 7;
_parent.cost = 4;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 2;
Symbol 1846 MovieClip Frame 2720
_parent.ctype = "creature";
_parent.atk = 6;
_parent.def = 7;
_parent.skill = "nymph";
_parent.skillcost = 4;
_parent.skillelement = 7;
_parent.cost = 8;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 20;
Symbol 1846 MovieClip Frame 2721
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1846 MovieClip Frame 2730
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "patience";
_parent.skillcost = 0;
_parent.skillelement = 0;
_parent.cost = 2;
_parent.costelement = 7;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 2750
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 2050) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 2050) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
mark1.gotoAndStop(((_currentframe - 2050) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1846 MovieClip Frame 2800
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2801
_parent.ctype = "creature";
_parent.atk = 1;
_parent.def = 1;
_parent.skill = "light";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 2802
_parent.ctype = "creature";
_parent.atk = 12;
_parent.def = 12;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 13;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 2803
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 4;
_parent.skill = "dive";
_parent.skillcost = 1;
_parent.skillelement = 9;
_parent.cost = 4;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 2804
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "holy light";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 0;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2805
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "solar";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 2;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2806
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 7;
_parent.skill = "heal";
_parent.skillcost = 1;
_parent.skillelement = 8;
_parent.cost = 6;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 2807
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "blessing";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 2;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2808
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "reflect";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 2;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2809
_parent.ctype = "weapon";
_parent.atk = 8;
_parent.def = 4;
_parent.skill = "immaterial";
_parent.skillcost = "";
_parent.skillelement = "";
_parent.cost = 5;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
_parent.passive = "";
Symbol 1846 MovieClip Frame 2810
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "miracle";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 12;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 2811
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "luciferin";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 1;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2812
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "hope";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 8;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2813
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 5;
_parent.skill = "endow";
_parent.skillcost = 2;
_parent.skillelement = 8;
_parent.cost = 5;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2814
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "sanctuary";
_parent.skillcost = "";
_parent.skillelement = 8;
_parent.cost = 3;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2820
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 9;
_parent.skill = "luciferin";
_parent.skillcost = 3;
_parent.skillelement = 8;
_parent.cost = 9;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 20;
Symbol 1846 MovieClip Frame 2821
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1846 MovieClip Frame 2830
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "shard";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 2;
_parent.costelement = 8;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 2850
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 2050) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 2050) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
mark1.gotoAndStop(((_currentframe - 2050) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1846 MovieClip Frame 2900
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2901
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 1;
_parent.skill = "air";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = -10;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 2902
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 3;
_parent.skill = "dive";
_parent.skillcost = 2;
_parent.skillelement = 9;
_parent.cost = 4;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 2903
_parent.ctype = "creature";
_parent.atk = 13;
_parent.def = 7;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 12;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 2904
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "fog";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 1;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2905
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "thunderstorm";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 2;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2906
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "flying";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 1;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2907
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 7;
_parent.skill = "queen";
_parent.skillcost = 2;
_parent.skillelement = 5;
_parent.cost = 6;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 2908
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 2;
_parent.skill = "fire";
_parent.skillcost = "";
_parent.skillelement = "";
_parent.cost = 3;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 2909
_parent.ctype = "weapon";
_parent.atk = 7;
_parent.def = 7;
_parent.skill = "sniper";
_parent.skillcost = 2;
_parent.skillelement = 9;
_parent.cost = 5;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
_parent.passive = "ranged";
Symbol 1846 MovieClip Frame 2910
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "ignite";
_parent.skillcost = 1;
_parent.skillelement = 6;
_parent.cost = 5;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 15;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2911
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "shockwave";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 1;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2912
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "wings";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 3;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2913
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "blitz";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 8;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 2920
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 6;
_parent.skill = "unstable gas";
_parent.skillcost = 3;
_parent.skillelement = 9;
_parent.cost = 8;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 20;
Symbol 1846 MovieClip Frame 2930
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "freedom";
_parent.skillcost = "";
_parent.skillelement = 9;
_parent.cost = 1;
_parent.costelement = 9;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 2950
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 2050) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 2050) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
mark1.gotoAndStop(((_currentframe - 2050) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1846 MovieClip Frame 3000
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3001
_parent.ctype = "creature";
_parent.atk = 2;
_parent.def = 2;
_parent.skill = "deja vu";
_parent.skillcost = 1;
_parent.skillelement = 10;
_parent.cost = 1;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 3002
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 1;
_parent.skill = "hatch";
_parent.skillcost = 1;
_parent.skillelement = 10;
_parent.cost = 3;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3003
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "delay";
_parent.skillcost = "";
_parent.skillelement = 10;
_parent.cost = 4;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3004
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "reverse time";
_parent.skillcost = "";
_parent.skillelement = 10;
_parent.cost = 1;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3005
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "hasten";
_parent.skillcost = 1;
_parent.skillelement = 10;
_parent.cost = 4;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3006
_parent.ctype = "creature";
_parent.atk = 13;
_parent.def = 4;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 10;
_parent.cost = 12;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 3007
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 8;
_parent.skill = "immortality";
_parent.skillcost = 1;
_parent.skillelement = 12;
_parent.cost = 8;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3008
_parent.ctype = "weapon";
_parent.atk = 4;
_parent.def = 8;
_parent.skill = "reverse time";
_parent.skillcost = 3;
_parent.skillelement = 10;
_parent.cost = 5;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 18;
_parent.passive = "";
Symbol 1846 MovieClip Frame 3009
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "hasten";
_parent.skillcost = 1;
_parent.skillelement = 8;
_parent.cost = 0;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
_parent.passive = "sundial";
Symbol 1846 MovieClip Frame 3010
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 1;
_parent.skill = "devour";
_parent.skillcost = 1;
_parent.skillelement = 3;
_parent.cost = 2;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
_parent.passive = "swarm";
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 3011
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "precognition";
_parent.skillcost = "";
_parent.skillelement = 10;
_parent.cost = 1;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3012
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 9;
_parent.skill = "scarab";
_parent.skillcost = 2;
_parent.skillelement = 10;
_parent.cost = 9;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 3013
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 3;
_parent.skill = "neurotoxin";
_parent.skillcost = "";
_parent.skillelement = 10;
_parent.cost = 3;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 10;
_parent.rarity = 17;
_parent.passive = "poisonous";
Symbol 1846 MovieClip Frame 3014
_parent.ctype = "creature";
_parent.atk = 9;
_parent.def = 4;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 10;
_parent.cost = 7;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 45;
_parent.rarity = 17;
_parent.passive = "obsession";
Symbol 1846 MovieClip Frame 3020
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 9;
_parent.skill = "precognition";
_parent.skillcost = 2;
_parent.skillelement = 10;
_parent.cost = 8;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 20;
Symbol 1846 MovieClip Frame 3021
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1846 MovieClip Frame 3030
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "readiness";
_parent.skillcost = "";
_parent.skillelement = 1;
_parent.cost = 2;
_parent.costelement = 10;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 3050
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 2050) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 2050) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
mark1.gotoAndStop(((_currentframe - 2050) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1846 MovieClip Frame 3100
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3101
_parent.ctype = "creature";
_parent.atk = 12;
_parent.def = 6;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 12;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 45;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 3102
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 4;
_parent.skill = "burrow";
_parent.skillcost = 1;
_parent.skillelement = 4;
_parent.cost = 2;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
_parent.passive = "devourer";
Symbol 1846 MovieClip Frame 3103
_parent.ctype = "creature";
_parent.atk = 3;
_parent.def = 1;
_parent.skill = "infection";
_parent.skillcost = 1;
_parent.skillelement = 2;
_parent.cost = 2;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3104
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "dusk";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 4;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3105
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "steal";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 3;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3106
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "eclipse";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 4;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3107
_parent.ctype = "weapon";
_parent.atk = 6;
_parent.def = 4;
_parent.skill = "vampire";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 2;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
_parent.passive = "";
Symbol 1846 MovieClip Frame 3108
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "drain life";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 1;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3109
_parent.ctype = "creature";
_parent.atk = 4;
_parent.def = 3;
_parent.skill = "vampire";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 5;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 15;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 3110
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "liquid shadow";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 3;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3111
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 3;
_parent.skill = "stone form";
_parent.skillcost = 1;
_parent.skillelement = 4;
_parent.cost = 5;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 3112
_parent.ctype = "creature";
_parent.atk = 0;
_parent.def = 20;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 2;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
_parent.passive = "voodoo";
Symbol 1846 MovieClip Frame 3113
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "nightmare";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 1;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3114
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "cloak";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 3;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3120
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 5;
_parent.skill = "liquid shadow";
_parent.skillcost = 2;
_parent.skillelement = 11;
_parent.cost = 8;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 20;
Symbol 1846 MovieClip Frame 3121
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1846 MovieClip Frame 3130
_parent.ctype = "shard";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "void";
_parent.skillcost = "";
_parent.skillelement = 11;
_parent.cost = 1;
_parent.costelement = 11;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 3150
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 2050) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 2050) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
mark1.gotoAndStop(((_currentframe - 2050) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1846 MovieClip Frame 3200
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3201
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 3202
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "lightning";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 1;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3203
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "parallel universe";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 6;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3204
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 4;
_parent.skill = "immaterial";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 7;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 45;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3205
_parent.ctype = "shield";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "phaseshift";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 5;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3206
_parent.ctype = "weapon";
_parent.atk = 5;
_parent.def = 4;
_parent.skill = "lobotomize";
_parent.skillcost = 1;
_parent.skillelement = 12;
_parent.cost = 3;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 35;
_parent.rarity = 18;
_parent.passive = "";
Symbol 1846 MovieClip Frame 3207
_parent.ctype = "creature";
_parent.atk = 10;
_parent.def = 6;
_parent.skill = "immaterial";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 14;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 3208
_parent.ctype = "creature";
_parent.atk = 7;
_parent.def = 2;
_parent.skill = "web";
_parent.skillcost = 1;
_parent.skillelement = 9;
_parent.cost = 4;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3209
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "immortality";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 3;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3210
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "fractal";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 9;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3211
_parent.ctype = "permanent";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "duality";
_parent.skillcost = 2;
_parent.skillelement = 12;
_parent.cost = 4;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3212
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "silence";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 2;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
Symbol 1846 MovieClip Frame 3213
_parent.ctype = "creature";
_parent.atk = 5;
_parent.def = 5;
_parent.skill = "psion";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 4;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 40;
_parent.rarity = 17;
_parent.passive2 = "airborne";
Symbol 1846 MovieClip Frame 3214
_parent.ctype = "creature";
_parent.atk = 6;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 1;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 20;
_parent.rarity = 17;
_parent.passive = "salvaging";
Symbol 1846 MovieClip Frame 3220
_parent.ctype = "creature";
_parent.atk = 8;
_parent.def = 5;
_parent.skill = "immortality";
_parent.skillcost = 3;
_parent.skillelement = 12;
_parent.cost = 8;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 30;
_parent.rarity = 20;
Symbol 1846 MovieClip Frame 3221
_parent.ctype = "empty";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "";
_parent.skillcost = "";
_parent.skillelement = 0;
_parent.cost = 0;
_parent.costelement = 0;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 0;
_root.gamever = "err";
Symbol 1846 MovieClip Frame 3230
_parent.ctype = "spell";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = "wisdom";
_parent.skillcost = "";
_parent.skillelement = 12;
_parent.cost = 2;
_parent.costelement = 12;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 18;
Symbol 1846 MovieClip Frame 3250
_parent.ctype = "pillar";
_parent.atk = 0;
_parent.def = 0;
_parent.skill = " ";
_parent.skillcost = "";
_parent.skillelement = (_currentframe - 2050) / 100;
_parent.cost = 0;
_parent.costelement = (_currentframe - 2050) / 100;
_parent.costany = 0;
_parent.posy = 0;
_parent.rarity = 17;
mark1.gotoAndStop(((_currentframe - 2050) / 100) + 1);
mark2.gotoAndStop(_root.element + 1);
Symbol 1850 Button
on (rollOver) {
_parent.bigone.gotoAndStop(card);
}
on (rollOut, dragOut) {
_parent.bigone.gotoAndStop(1);
}
on (release) {
if (_root.lockprize == 0) {
_root.lockprize == 1;
_root.deckalln = _root.deckalln + 1;
temp = card;
if (temp < 10) {
temp = "000" + temp;
} else if (temp < 100) {
temp = "00" + temp;
} else if (temp < 1000) {
temp = "0" + temp;
}
_root.deckall = _root.deckall + temp;
_parent.bigone.gotoAndStop(card);
if (_root.retcod() > 2001) {
_root.addcod(-1);
_root.gotoAndStop("codeok");
_root.morecards = ("You can pick " + (_root.retcod() - 2000)) + " more card(s)";
} else {
_root.morecards = "";
_root.gotoAndStop("codedone");
}
}
}
Symbol 1851 MovieClip Frame 1
stop();
Symbol 1851 MovieClip Frame 3
txt.gotoAndStop(card);
img.gotoAndStop(card);
stop();
Symbol 1852 Button
on (release) {
gotoAndStop ("menu");
}
Symbol 1868 Button
on (release) {
_root.gotoAndPlay("lose");
play();
}
Symbol 1870 Button
on (release) {
play();
}
Symbol 1872 MovieClip Frame 1
stop();
Symbol 1872 MovieClip Frame 2
play();
Symbol 1872 MovieClip Frame 50
gotoAndStop (1);
Symbol 1872 MovieClip Frame 51
play();
Symbol 1872 MovieClip Frame 55
stop();
Symbol 1872 MovieClip Frame 76
gotoAndStop (1);
Symbol 1874 Button
on (release) {
getURL ("http://elementscommunity.org/forum/index.php/board,77.0.html", "_blank");
}
Symbol 1879 Button
on (release) {
getURL ("https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=JMMAZTE7C3QBJ", "_blank");
}
Symbol 1881 Button
on (release) {
ncode = ncode + 1;
if (ncode > 5) {
_root.tutortext = "You have reached the maximum number of validation attempts. Please try again later";
_root.tutor.gotoAndPlay(2);
} else {
play();
}
}
Symbol 1896 Button
on (release) {
resetter.gotoAndPlay(2);
}
Symbol 1910 Button
on (release) {
gotoAndPlay ("manage");
}
Symbol 1912 Button
on (release) {
gotoAndStop ("bazaar");
}
Symbol 1924 Button
on (release) {
gotoAndStop ("quests");
}
Symbol 1927 Button
on (release) {
gotoAndStop ("morph");
}
Symbol 1930 Button
on (release) {
gotoAndPlay ("t500");
}
Symbol 1935 Button
on (release) {
level = 1;
gotoAndPlay ("game");
}
Symbol 1937 Button
on (release) {
if (retele() >= 5) {
addele(-5);
lostelectrum = 5;
level = 2;
gotoAndPlay ("game");
} else {
_root.tutortext = "Not enough Electrum";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 1939 Button
on (release) {
if (retele() >= 10) {
addele(-10);
lostelectrum = 10;
level = 3;
gotoAndPlay ("game");
} else {
_root.tutortext = "Not enough Electrum";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 1941 Button
on (release) {
if (retele() >= 20) {
addele(-20);
lostelectrum = 20;
level = 5;
gotoAndPlay ("game");
} else {
_root.tutortext = "Not enough Electrum";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 1943 Button
on (release) {
level = 0;
lostelectrum = 0;
gotoAndPlay ("game");
}
Symbol 1963 Button
on (release) {
getURL ("https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=JMMAZTE7C3QBJ", "_blank");
}
Symbol 1964 Button
on (release) {
gotoAndStop ("oracle");
}
Symbol 1968 Button
on (release) {
_root.gotoAndPlay("oracle");
}
Symbol 1971 MovieClip Frame 1
if ((_root.retfo() == 0) and (_root.quests > 4)) {
gotoAndStop (2);
} else {
stop();
}
Symbol 1972 Button
on (release) {
level = "pvp";
lostelectrum = 0;
gotoAndStop ("duelpvp");
}
Symbol 1974 Button
on (release) {
if (retele() >= 30) {
lostelectrum = 30;
duel = 0;
level = "pvp";
gotoAndPlay ("rpvp");
} else {
_root.tutortext = "Not enough Electrum";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 1976 Button
on (release) {
if (retele() >= 50) {
lostelectrum = 50;
duel = 2;
level = "pvp";
gotoAndPlay ("rpvp");
} else {
_root.tutortext = "Not enough Electrum";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 1981 Button
on (release) {
info.gotoAndPlay(2);
}
Symbol 1996 MovieClip Frame 1
stop();
Symbol 1999 Button
on (release) {
_root.dbupdate();
gotoAndStop (3);
}
Symbol 2001 Button
on (release) {
_root.newprofile = 1;
_root.dbupdate();
}
Symbol 2003 MovieClip Frame 1
stop();
Symbol 2003 MovieClip Frame 2
stop();
Symbol 2004 Button
on (release) {
_parent.gotoAndPlay(11);
_root.newemail = "";
_root.newpsw = "";
}
Symbol 2007 MovieClip Frame 1
stop();
Symbol 2007 MovieClip Frame 2
play();
Symbol 2007 MovieClip Frame 7
psw1 = "";
psw2 = "";
email = _root.email;
Symbol 2007 MovieClip Frame 8
if ((psw1 == psw2) and (psw1 != "")) {
yes._visible = true;
yes.play();
if (psw1 != _root.psw) {
submit.gotoAndStop(2);
_root.newpsw = psw1;
} else {
_root.newpsw = "";
}
} else {
yes._visible = false;
_root.newpsw = "";
}
if (email != _root.email) {
submit.gotoAndStop(2);
_root.newemail = email;
} else {
_root.newemail = "";
}
if ((_root.newemail == "") and (_root.newpsw == "")) {
submit.gotoAndStop(1);
}
Symbol 2007 MovieClip Frame 10
gotoAndPlay ("loop");
Symbol 2007 MovieClip Frame 29
gotoAndStop (1);
Symbol 2018 Button
on (release) {
if (_root.retele() >= 30) {
_root.addele(-30);
_root.lostelectrum = 30;
_root.level = 6;
_root.gotoAndPlay("game");
} else {
_root.tutortext = "Not enough Electrum";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 2020 MovieClip Frame 1
stop();
Symbol 2030 Button
on (release) {
getURL ("http://www.elementsthegame.com/", "_blank");
}
Symbol 2034 Button
on (release) {
if ((del == "DELETE") or (del == "delete")) {
_root.electrum = 4;
_root.fhc = _root.fhc + 4;
_root.score = 0;
_root.won = 0;
_root.lost = 0;
_root.gotoAndStop("select");
}
}
Symbol 2036 MovieClip Frame 1
stop();
Symbol 2036 MovieClip Frame 2
play();
Symbol 2036 MovieClip Frame 6
stop();
Symbol 2036 MovieClip Frame 27
gotoAndStop (1);
Symbol 2038 Button
on (release) {
_root.enough = 1;
_root.gotoAndStop("menu");
}
Symbol 2045 MovieClip Frame 19
gotoAndPlay (1);
Symbol 2047 Button
on (release) {
_root.addele(10);
_root.fhc = _root.fhc + 10;
gotoAndStop (4);
}
Symbol 2053 Button
on (release) {
_root.addele(20);
_root.fhc = _root.fhc + 20;
gotoAndStop (6);
}
Symbol 2058 Button
on (release) {
_root.addele(30);
_root.fhc = _root.fhc + 30;
gotoAndStop (8);
}
Symbol 2063 Button
on (release) {
_root.addele(35);
_root.fhc = _root.fhc + 35;
gotoAndStop (10);
}
Symbol 2068 Button
on (release) {
_root.addele(40);
_root.fhc = _root.fhc + 40;
gotoAndStop (12);
}
Symbol 2074 Button
on (release) {
_root.addele(150);
_root.fhc = _root.fhc + 150;
gotoAndStop (14);
}
Symbol 2080 Button
on (rollOver) {
_parent.bigone.gotoAndStop(card);
_parent.price = price;
}
on (rollOut, dragOut) {
_parent.bigone.gotoAndStop(1);
_parent.price = "";
}
on (release) {
_root.deckalln = _root.deckalln + 1;
temp = card;
if (temp < 10) {
temp = "000" + temp;
} else if (temp < 100) {
temp = "00" + temp;
} else if (temp < 1000) {
temp = "0" + temp;
}
_root.deckall = _root.deckall + temp;
_parent.gotoAndStop(16);
}
Symbol 2081 MovieClip Frame 2
txt.gotoAndStop(card);
img.gotoAndStop(card);
stop();
Symbol 2085 Button
on (release) {
_root.gotoAndPlay("upgrade");
}
Symbol 2087 MovieClip Frame 1
if (_root.quests == 0) {
_root.quests = 1;
}
if (_root.quests > 0) {
if (_root.quests <= 8) {
gotoAndStop(_root.quests * 2);
} else {
gotoAndStop ("lastone");
}
} else {
_root.gotoAndStop("menu");
}
Symbol 2087 MovieClip Frame 2
if (_root.quest1 == 1) {
gotoAndStop (3);
}
Symbol 2087 MovieClip Frame 4
_root.quests = 2;
if (_root.quest2 == 1) {
gotoAndStop (5);
}
Symbol 2087 MovieClip Frame 6
_root.quests = 3;
if ((_root.quest31 == 1) and (_root.quest32 == 1)) {
gotoAndStop (7);
}
Symbol 2087 MovieClip Frame 8
_root.quests = 4;
if (_root.quest4 == 1) {
gotoAndStop (9);
}
Symbol 2087 MovieClip Frame 10
_root.quests = 5;
if (_root.quest5 == 1) {
gotoAndStop (11);
}
Symbol 2087 MovieClip Frame 12
_root.quests = 6;
if (_root.quest6 == 1) {
gotoAndStop (13);
}
Symbol 2087 MovieClip Frame 14
_root.quests = 7;
if (_root.quest7 == 1) {
gotoAndStop (15);
}
Symbol 2087 MovieClip Frame 15
r1.card = 109;
r2.card = 210;
r3.card = 308;
r4.card = 407;
r5.card = 509;
r6.card = 607;
r7.card = 708;
r8.card = 809;
r9.card = 909;
r10.card = 1008;
r11.card = 1107;
r12.card = 1206;
Symbol 2087 MovieClip Frame 16
_root.quests = 8;
if (_root.quest8 == 1) {
gotoAndStop (17);
}
Symbol 2105 MovieClip Frame 1
stop();
Symbol 2110 Button
on (release) {
getURL ("http://www.elementsthegame.com/arena.php?rank=1&league=1", "_blank");
}
Symbol 2117 MovieClip Frame 1
stop();
Symbol 2133 Button
on (release) {
getURL ("http://www.elementsthegame.com/arena.php?rank=1&league=2", "_blank");
}
Symbol 2134 Button
on (release) {
gotoAndStop ("menu");
}
Symbol 2143 Button
on (release) {
getURL ("http://www.elementsthegame.com/arena.php?rank=1&league=3", "_blank");
}
Symbol 2144 Button
on (release) {
getURL ("http://www.elementsthegame.com/arena.php?rank=1&league=4", "_blank");
}
Symbol 2168 Button
on (release) {
_root.t500enough = 1;
gotoAndStop (1);
}
Symbol 2173 MovieClip Frame 1
stop();
Symbol 2177 Button
on (release) {
if (retele() >= 20) {
lostelectrum = 20;
pvpuser = pvp_lv.bronzeuser;
pvpcard = pvp_lv.bronzecard;
decke = pvp_lv.bronzedeck;
decken = Number(pvp_lv.bronzedeckn);
elemente = Number(pvp_lv.bronzeelement);
pvphp500 = Number(pvp_lv.bronzehp500);
pvpage = Number(pvp_lv.bronzeage);
pvphp500aged = pvphp500;
if (pvpage > 0) {
pvphp500aged = Math.max(pvphp500 - Math.pow(2, pvpage), 1);
}
pvpup500 = Number(pvp_lv.bronzeup500);
pvpmark500 = Number(pvp_lv.bronzemark500);
pvpcard500 = Number(pvp_lv.bronzecard500);
if (pvpcard500 == 2) {
decken = decken * 2;
decke = decke + decke;
}
pvplevel500 = Number(pvp_lv.bronzet500level);
pvprank = Number(pvp_lv.ran);
pvpwon = Number(pvp_lv.bronzewon);
pvplost = Number(pvp_lv.bronzelost);
pvpid = Number(pvp_lv.bronzeid);
pvpleague = 1;
pvpreward = breward;
level = 4;
lost = lost + 1;
addsco(-20);
addele(-20);
gotoAndStop ("pvpveryready");
} else {
_root.tutortext = "Not enough Electrum";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 2179 Button
on (release) {
_root.t500building = 1;
_root.gotoAndPlay("t500build");
}
Symbol 2181 MovieClip Frame 1
stop();
Symbol 2182 Button
on (release) {
_root.t500building = 2;
_root.gotoAndPlay("t500build");
}
Symbol 2186 MovieClip Frame 1
stop();
Symbol 2187 Button
on (release) {
if (retele() >= 20) {
lostelectrum = 20;
pvpuser = pvp_lv.silveruser;
pvpcard = pvp_lv.silvercard;
decke = pvp_lv.silverdeck;
decken = Number(pvp_lv.silverdeckn);
elemente = Number(pvp_lv.silverelement);
pvphp500 = Number(pvp_lv.silverhp500);
pvpage = Number(pvp_lv.silverage);
pvphp500aged = pvphp500;
if (pvpage > 0) {
pvphp500aged = Math.max(pvphp500 - Math.pow(2, pvpage), 1);
}
pvpup500 = Number(pvp_lv.silverup500);
pvpmark500 = Number(pvp_lv.silvermark500);
pvpcard500 = Number(pvp_lv.silvercard500);
if (pvpcard500 == 2) {
decken = decken * 2;
decke = decke + decke;
}
pvplevel500 = Number(pvp_lv.silvert500level);
pvprank = Number(pvp_lv.ran);
pvpwon = Number(pvp_lv.silverwon);
pvplost = Number(pvp_lv.silverlost);
pvpid = Number(pvp_lv.silverid);
pvpleague = 2;
pvpreward = sreward;
level = 4;
lost = lost + 1;
addsco(-20);
addele(-20);
gotoAndStop ("pvpveryready");
} else {
_root.tutortext = "Not enough Electrum";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 2188 Button
on (release) {
if (retele() >= 20) {
lostelectrum = 20;
pvpuser = pvp_lv.golduser;
pvpcard = pvp_lv.goldcard;
decke = pvp_lv.golddeck;
decken = Number(pvp_lv.golddeckn);
elemente = Number(pvp_lv.goldelement);
pvphp500 = Number(pvp_lv.goldhp500);
pvpage = Number(pvp_lv.goldage);
pvphp500aged = pvphp500;
if (pvpage > 0) {
pvphp500aged = Math.max(pvphp500 - Math.pow(2, pvpage), 1);
}
pvpup500 = Number(pvp_lv.goldup500);
pvpmark500 = Number(pvp_lv.goldmark500);
pvpcard500 = Number(pvp_lv.goldcard500);
if (pvpcard500 == 2) {
decken = decken * 2;
decke = decke + decke;
}
pvplevel500 = Number(pvp_lv.goldt500level);
pvprank = Number(pvp_lv.ran);
pvpwon = Number(pvp_lv.goldwon);
pvplost = Number(pvp_lv.goldlost);
pvpid = Number(pvp_lv.goldid);
pvpleague = 3;
pvpreward = greward;
level = 4;
lost = lost + 1;
addsco(-20);
addele(-20);
gotoAndStop ("pvpveryready");
} else {
_root.tutortext = "Not enough Electrum";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 2189 Button
on (release) {
if (retele() >= 20) {
lostelectrum = 20;
pvpuser = pvp_lv.platinumuser;
pvpcard = pvp_lv.platinumcard;
decke = pvp_lv.platinumdeck;
decken = Number(pvp_lv.platinumdeckn);
elemente = Number(pvp_lv.platinumelement);
pvphp500 = Number(pvp_lv.platinumhp500);
pvpage = Number(pvp_lv.platinumage);
pvphp500aged = pvphp500;
if (pvpage > 0) {
pvphp500aged = Math.max(pvphp500 - Math.pow(2, pvpage), 1);
}
pvpup500 = Number(pvp_lv.platinumup500);
pvpmark500 = Number(pvp_lv.platinummark500);
pvpcard500 = Number(pvp_lv.platinumcard500);
if (pvpcard500 == 2) {
decken = decken * 2;
decke = decke + decke;
}
pvplevel500 = Number(pvp_lv.platinumt500level);
pvprank = Number(pvp_lv.ranplat);
pvpwon = Number(pvp_lv.platinumwon);
pvplost = Number(pvp_lv.platinumlost);
pvpid = Number(pvp_lv.platinumid);
pvpleague = 4;
pvpreward = preward;
level = 4;
lost = lost + 1;
addsco(-20);
addele(-20);
gotoAndStop ("pvpveryready");
} else {
_root.tutortext = "Not enough Electrum";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 2190 Button
on (release) {
play();
}
Symbol 2195 MovieClip Frame 1
stop();
Symbol 2195 MovieClip Frame 2
_root.pvp_lv.user = _root.user;
_root.pvp_lv.psw = _root.psw;
_root.pvp_lv.deckn = _root.t500deckn;
_root.pvp_lv.hp500 = _root.hp500;
_root.pvp_lv.mark500 = _root.mark500;
_root.pvp_lv.errorcode = -1;
_root.pvp_lv.action = "money";
_root.pvp_lv.loadVariables("http://www.elementsthegame.com/t503.php", "POST");
Symbol 2195 MovieClip Frame 7
if (_root.pvp_lv.errorcode == 0) {
_root.addele(_root.t500money);
_root.fhc = _root.fhc + _root.t500money;
_root.t500money = 0;
nextFrame();
}
if (_root.pvp_lv.errorcode == 1) {
msg = "Couldn't connect to server, please click 'back to menu' and try again";
gotoAndStop ("failed");
}
if (_root.pvp_lv.errorcode == 5) {
msg = "Your deck was NOT saved: Unauthorized access";
gotoAndStop ("failed");
}
if (_root.pvp_lv.errorcode == 2) {
msg = "Couldn't connect to server, please click 'back to menu' and try again";
gotoAndStop ("failed");
}
if (_root.pvp_lv.errorcode == 3) {
msg = "Couldn't connect to server, please click 'back to menu' and try again";
gotoAndStop ("failed");
}
if (_root.pvp_lv.errorcode == -1) {
gotoAndPlay ("pvploop");
n = n + 1;
}
Symbol 2195 MovieClip Frame 8
stop();
Symbol 2196 Button
on (release) {
if (t500deckn > 0) {
pvpuser = "Your Arena Deck";
pvpcard = t500card;
decke = t500deck;
decken = t500deckn;
elemente = t500element;
pvphp500 = hp500;
pvpage = t500age;
pvphp500aged = pvphp500;
if (pvpage > 0) {
pvphp500aged = Math.max(pvphp500 - Math.pow(2, pvpage), 1);
}
pvpup500 = up500;
pvpmark500 = mark500;
pvpcard500 = card500;
if (pvpcard500 == 2) {
decken = decken * 2;
decke = decke + decke;
}
pvplevel500 = t500level;
pvprank = t500rank;
pvpwon = t500won;
pvplost = t500lost;
pvpleague = Math.ceil((currentlevel + 1) / 20);
pvpleague = Math.min(pvpleague, 4);
pvpreward = 0;
level = -4;
gotoAndStop ("pvpveryready");
}
}
Symbol 2198 Button
on (release) {
getURL ((("http://www.elementsthegame.com/arena.php?rank=" + (t500rank - 3)) + "&league=") + leaguenum, "_blank");
}
Symbol 2204 Button
on (release) {
gotoAndPlay ("lose");
}
Symbol 2217 Button
on (release) {
gotoAndPlay ("game");
}
Symbol 2253 MovieClip Frame 1
stop();
Symbol 2258 Button
on (release) {
gotoAndStop ("menu");
}
Symbol 2263 MovieClip Frame 1
stop();
Symbol 2263 MovieClip Frame 2
img.gotoAndStop(card);
Symbol 2263 MovieClip Frame 3
stop();
Symbol 2279 MovieClip Frame 1
stop();
Symbol 2279 MovieClip Frame 2
if (_currentframe > (10 + (_root.uberfactor * 10))) {
stop();
}
Symbol 2279 MovieClip Frame 3
if (_currentframe > (10 + (_root.uberfactor * 10))) {
stop();
}
Symbol 2279 MovieClip Frame 4
if (_currentframe > (10 + (_root.uberfactor * 10))) {
stop();
}
Symbol 2279 MovieClip Frame 5
if (_currentframe > (10 + (_root.uberfactor * 10))) {
stop();
}
Symbol 2279 MovieClip Frame 6
if (_currentframe > (10 + (_root.uberfactor * 10))) {
stop();
}
Symbol 2279 MovieClip Frame 7
if (_currentframe > (10 + (_root.uberfactor * 10))) {
stop();
}
Symbol 2279 MovieClip Frame 8
if (_currentframe > (10 + (_root.uberfactor * 10))) {
stop();
}
Symbol 2279 MovieClip Frame 9
if (_currentframe > (10 + (_root.uberfactor * 10))) {
stop();
}
Symbol 2279 MovieClip Frame 10
if (_currentframe > (10 + (_root.uberfactor * 10))) {
stop();
}
Symbol 2279 MovieClip Frame 11
if (_currentframe > (10 + (_root.uberfactor * 10))) {
stop();
}
Symbol 2279 MovieClip Frame 12
if (_currentframe > (10 + (_root.uberfactor * 10))) {
stop();
}
Symbol 2279 MovieClip Frame 13
if (_currentframe > (10 + (_root.uberfactor * 10))) {
stop();
}
Symbol 2279 MovieClip Frame 14
if (_currentframe > (10 + (_root.uberfactor * 10))) {
stop();
}
Symbol 2279 MovieClip Frame 15
if (_currentframe > (10 + (_root.uberfactor * 10))) {
stop();
}
Symbol 2279 MovieClip Frame 16
if (_currentframe > (10 + (_root.uberfactor * 10))) {
stop();
}
Symbol 2279 MovieClip Frame 17
if (_currentframe > (10 + (_root.uberfactor * 10))) {
stop();
}
Symbol 2279 MovieClip Frame 18
if (_currentframe > (10 + (_root.uberfactor * 10))) {
stop();
}
Symbol 2279 MovieClip Frame 19
if (_currentframe > (10 + (_root.uberfactor * 10))) {
stop();
}
Symbol 2279 MovieClip Frame 20
if (_currentframe > (10 + (_root.uberfactor * 10))) {
stop();
}
Symbol 2279 MovieClip Frame 21
if (_currentframe > (10 + (_root.uberfactor * 10))) {
stop();
}
Symbol 2284 Button
on (release) {
duel = 1;
gotoAndPlay ("rpvp");
}
Symbol 2294 Button
on (release) {
getURL ("http://www.elementsthegame.com/connections.html", "_blank");
}
Symbol 2296 MovieClip Frame 1
stop();
Symbol 2297 MovieClip Frame 1
stop();
Symbol 2300 Button
on (release) {
gotoAndPlay ("game");
nnn = 1;
}
Symbol 2308 MovieClip Frame 1
stop();
Symbol 2324 MovieClip Frame 1
zero = getTimer();
bar.gotoAndStop(1);
Symbol 2324 MovieClip Frame 2
sec = Math.floor(10 - ((getTimer() - zero) / 1000));
bar._xscale = sec * 5;
if (sec < 1) {
_root.nnn = 1;
_root.gotoAndPlay("game");
}
Symbol 2324 MovieClip Frame 4
gotoAndPlay ("loop");
Symbol 2332 MovieClip Frame 16
stop();
Symbol 2333 MovieClip Frame 1
stop();
Symbol 2340 MovieClip Frame 1
_root.fastlock = 0;
stop();
Symbol 2380 Button
on (release) {
if (lock == 0) {
lock = 1;
if (_root.level == "pvp") {
_root.ctrlx[_root.ctrln] = 9002;
_root.ctrln = _root.ctrln + 1;
_root.ctrlstep = 2;
}
if (((_root.shieldtype == "reflect") and (_root.sel.skill != "holy light")) and (_root.sel.skill != "purify")) {
_root.p4.instantfx.gotoAndPlay("reflect");
_root.p4.dmgfx.val = "reflect";
_root.p4.dmgfx.gotoAndPlay(2);
if (_root.sel.skill == "lightning") {
_root.addhpe(-5);
_root.hpeffecte.val = "- 5";
_root.hpeffecte.gotoAndPlay(2);
_root.efx.gotoAndPlay("lightning");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "icebolt") {
dmg = (Math.floor((_root.retq(7) + _root.lastcost) / 10) + 1) * 2;
freeze = Math.round(_root.rand() + (dmg * 0.05));
if ((freeze >= 1) and (_root.pe10.statu != "invulnerable")) {
_root.pe10.instantfx.gotoAndPlay("freeze");
_root.pe10.skflag = 0;
_root.pe10.frozen = 3;
}
_root.addhpe(-dmg);
_root.efx.gotoAndPlay("icebolt");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "shockwave") {
_root.addhpe(-4);
_root.efx.gotoAndPlay("shockwave");
if (_root.pe10.frozen > 0) {
_root.pe10.instantfx.gotoAndPlay("unfrozen");
_root.disarme();
}
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "fire bolt") {
dmg = (Math.floor((_root.retq(6) + _root.lastcost) / 10) + 1) * 3;
_root.addhpe(-dmg);
_root.efx.gotoAndPlay("firebolt");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "drain life") {
dmg = (Math.floor((_root.retq(11) + _root.lastcost) / 10) + 1) * 2;
_root.addhpe(-dmg);
_root.efx.gotoAndPlay("drainlife");
_root.sel.gotoAndPlay("targeted");
_root.addhp(dmg);
_root.hpeffect.val = "+ " + dmg;
_root.hpeffect.gotoAndPlay(2);
}
}
if (_root.shieldtype != "reflect") {
if (_root.sel.skill == "lightning") {
_root.addhp(-5);
_root.hpeffect.val = "- 5";
_root.hpeffect.gotoAndPlay(2);
_root.fx.gotoAndPlay("lightning");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "icebolt") {
dmg = (Math.floor((_root.retq(7) + _root.lastcost) / 10) + 1) * 2;
freeze = Math.round(_root.rand() + (dmg * 0.05));
if ((freeze >= 1) and (_root.p10.statu != "invulnerable")) {
_root.p10.instantfx.gotoAndPlay("freeze");
_root.p10.skflag = 0;
_root.p10.frozen = 3;
}
_root.addhp(-dmg);
_root.fx.gotoAndPlay("icebolt");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "shockwave") {
_root.addhp(-4);
_root.fx.gotoAndPlay("shockwave");
if (_root.p10.frozen > 0) {
_root.p10.instantfx.gotoAndPlay("unfrozen");
_root.disarm();
}
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "fire bolt") {
dmg = (Math.floor((_root.retq(6) + _root.lastcost) / 10) + 1) * 3;
_root.addhp(-dmg);
_root.fx.gotoAndPlay("firebolt");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "drain life") {
_root.fx.gotoAndPlay("drainlife");
_root.sel.gotoAndPlay("targeted");
}
}
if (_root.sel.skill == "holy light") {
_root.addhp(10);
_root.fx.gotoAndPlay("holy light");
_root.hpeffect.val = "+ 10";
_root.hpeffect.gotoAndPlay(2);
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "purify") {
if (_root.retpo() > 0) {
_root.adjpo(0);
}
_root.addpo(-2);
_root.neuro = 0;
_root.fx.gotoAndPlay("cure");
_root.sacrifice = 0;
_root.hpbar.hpbar3.gotoAndStop(1);
_root.sacrifice1._visible = false;
_root.sel.gotoAndPlay("targeted");
}
_root.hpcorrect();
}
}
Symbol 2381 MovieClip Frame 1
lock = 0;
stop();
Symbol 2395 MovieClip Frame 11
stop();
_parent.gotoAndStop(1);
Symbol 2420 MovieClip Frame 1
if (_parent.n > 1) {
gotoAndPlay ("two");
}
Symbol 2420 MovieClip Frame 26
gotoAndPlay ("hit");
Symbol 2424 MovieClip Frame 1
if (_parent.n > 1) {
gotoAndPlay ("two");
}
Symbol 2424 MovieClip Frame 28
gotoAndPlay ("hit");
Symbol 2445 MovieClip Frame 10
stop();
Symbol 2459 MovieClip Frame 12
stop();
Symbol 2470 MovieClip Frame 1
spark2._rotation = Math.random() * 360;
Symbol 2470 MovieClip Frame 4
spark1._rotation = Math.random() * 360;
Symbol 2499 MovieClip Frame 1
gotoAndPlay(Math.ceil(Math.random() * 6));
Symbol 2499 MovieClip Frame 31
stop();
Symbol 2517 MovieClip Frame 1
if (_parent._parent.pcreature == 1) {
_root.golem[4] = _root.golem[4] - 1;
n = 0;
i = 1;
while (i <= 12) {
eval ("s" + i)._visible = false;
i++;
}
i = 1;
while (i <= 12) {
ii = 0;
while (ii < _root.golem[i]) {
n = n + 1;
ii = ii + 1;
eval ("s" + n)._visible = true;
eval ("s" + n).gotoAndStop(i);
}
i++;
}
_root.golem[4] = _root.golem[4] + 1;
}
if (_parent._parent.pcreature == 0) {
_root.goleme[4] = _root.goleme[4] - 1;
n = 0;
i = 1;
while (i <= 12) {
eval ("s" + i)._visible = false;
i++;
}
i = 1;
while (i <= 12) {
ii = 0;
while (ii < _root.goleme[i]) {
n = n + 1;
ii = ii + 1;
eval ("s" + n)._visible = true;
eval ("s" + n).gotoAndStop(i);
}
i++;
}
_root.goleme[4] = _root.goleme[4] + 1;
}
Symbol 2521 MovieClip Frame 1
if (_parent.ctrl > 0) {
_parent.icons.gotoAndPlay(2);
} else {
_parent.icons.gotoAndStop(1);
_parent._visible = false;
}
if ((_parent.iexist > 0) and ((_parent.ctrl == 0) or (resurrect > 0))) {
gotoAndPlay ("die");
_parent._visible = true;
} else {
stop();
_root.unlocker.gotoAndStop(1);
}
if (_parent.passive == "voodoo") {
if (_parent.pcreature == 1) {
vcreature = "c" + _parent.pos;
}
if (_parent.pcreature == 0) {
vcreature = "ce" + _parent.pos;
}
_root.voodoo(vcreature);
}
Symbol 2521 MovieClip Frame 2
play();
Symbol 2521 MovieClip Frame 20
gotoAndStop (1);
Symbol 2521 MovieClip Frame 21
play();
Symbol 2521 MovieClip Frame 40
gotoAndStop (1);
Symbol 2521 MovieClip Frame 41
play();
Symbol 2521 MovieClip Frame 59
gotoAndStop (1);
Symbol 2521 MovieClip Frame 60
play();
Symbol 2521 MovieClip Frame 70
gotoAndStop (1);
Symbol 2521 MovieClip Frame 71
play();
Symbol 2521 MovieClip Frame 95
gotoAndStop (1);
Symbol 2521 MovieClip Frame 96
play();
Symbol 2521 MovieClip Frame 114
gotoAndStop (1);
Symbol 2521 MovieClip Frame 115
play();
Symbol 2521 MovieClip Frame 126
gotoAndStop (1);
Symbol 2521 MovieClip Frame 127
play();
Symbol 2521 MovieClip Frame 145
gotoAndStop (1);
Symbol 2521 MovieClip Frame 146
play();
Symbol 2521 MovieClip Frame 164
gotoAndStop (1);
Symbol 2521 MovieClip Frame 165
play();
Symbol 2521 MovieClip Frame 183
gotoAndStop (1);
Symbol 2521 MovieClip Frame 184
if (_root.who == "player") {
n = Math.floor((_root.q7 + _root.lastcost) / 10) + 1;
}
if (_root.who == "cpu") {
n = Math.floor(_root.qe7 / 10) + 1;
}
Symbol 2521 MovieClip Frame 193
n = n - 1;
_parent.dmgfx.val = "- 2";
_parent.dmgfx.gotoAndPlay(2);
if (n > 0) {
gotoAndPlay ("icebolt2");
} else if (_parent.frozen > 0) {
gotoAndPlay ("freeze");
} else {
gotoAndStop (1);
}
Symbol 2521 MovieClip Frame 194
if (_root.who == "player") {
n = Math.floor((_root.q6 + _root.lastcost) / 10) + 1;
}
if (_root.who == "cpu") {
n = Math.floor(_root.qe6 / 10) + 1;
}
Symbol 2521 MovieClip Frame 204
n = n - 1;
_parent.dmgfx.val = "- 3";
_parent.dmgfx.gotoAndPlay(2);
if (n > 0) {
gotoAndPlay ("firebolt2");
} else {
gotoAndStop (1);
}
Symbol 2521 MovieClip Frame 205
play();
Symbol 2521 MovieClip Frame 218
gotoAndStop (1);
Symbol 2521 MovieClip Frame 219
play();
Symbol 2521 MovieClip Frame 238
gotoAndStop (1);
Symbol 2521 MovieClip Frame 239
play();
Symbol 2521 MovieClip Frame 257
gotoAndStop (1);
Symbol 2521 MovieClip Frame 258
play();
Symbol 2521 MovieClip Frame 269
_parent.cardfx.momentum.gotoAndStop(2);
Symbol 2521 MovieClip Frame 270
gotoAndStop (1);
Symbol 2521 MovieClip Frame 271
_root.soundfx.gotoAndPlay("lightning");
play();
Symbol 2521 MovieClip Frame 282
gotoAndStop (1);
Symbol 2521 MovieClip Frame 283
play();
Symbol 2521 MovieClip Frame 301
gotoAndStop (1);
Symbol 2521 MovieClip Frame 302
play();
Symbol 2521 MovieClip Frame 315
gotoAndStop (1);
Symbol 2521 MovieClip Frame 316
play();
Symbol 2521 MovieClip Frame 337
gotoAndStop (1);
Symbol 2521 MovieClip Frame 338
play();
Symbol 2521 MovieClip Frame 348
gotoAndStop (1);
Symbol 2521 MovieClip Frame 349
play();
Symbol 2521 MovieClip Frame 362
gotoAndStop (1);
Symbol 2521 MovieClip Frame 363
play();
Symbol 2521 MovieClip Frame 376
gotoAndStop (1);
Symbol 2521 MovieClip Frame 377
play();
Symbol 2521 MovieClip Frame 395
gotoAndStop (1);
Symbol 2521 MovieClip Frame 396
play();
Symbol 2521 MovieClip Frame 406
gotoAndStop (1);
Symbol 2521 MovieClip Frame 407
_parent.defnow = _parent.defnow - 3;
if (_parent.defnow < 0) {
_parent.defnow = 0;
_parent.ctrl = 0;
}
gotoAndPlay(_currentframe + Math.floor(Math.random() * 10));
Symbol 2521 MovieClip Frame 426
_parent.dmgfx.val = "- 3";
_parent.dmgfx.gotoAndPlay(2);
if (_parent.defnow <= 0) {
_parent.card = 0;
_parent.ctrl = 0;
_parent.cardfx.gotoAndPlay("die");
_parent.gotoAndStop(1);
}
gotoAndStop (1);
Symbol 2521 MovieClip Frame 427
play();
Symbol 2521 MovieClip Frame 440
gotoAndStop (1);
Symbol 2521 MovieClip Frame 449
gotoAndPlay ("die");
Symbol 2521 MovieClip Frame 450
if (_root.who == "player") {
n = Math.floor((_root.q11 + _root.lastcost) / 10) + 1;
}
if (_root.who == "cpu") {
n = Math.floor(_root.qe11 / 10) + 1;
}
Symbol 2521 MovieClip Frame 455
n = n - 1;
_parent.dmgfx.val = "- 2";
_parent.dmgfx.gotoAndPlay(2);
if (n > 0) {
gotoAndPlay ("drainlife2");
play();
} else {
gotoAndStop (1);
}
Symbol 2521 MovieClip Frame 461
n = n - 1;
_parent.dmgfx.val = "- 2";
_parent.dmgfx.gotoAndPlay(2);
if (n > 0) {
gotoAndPlay ("drainlife2");
} else if (_parent.defnow <= 0) {
gotoAndPlay ("die");
} else {
gotoAndStop (1);
}
Symbol 2521 MovieClip Frame 462
play();
Symbol 2521 MovieClip Frame 472
gotoAndStop (1);
Symbol 2521 MovieClip Frame 473
play();
Symbol 2521 MovieClip Frame 483
gotoAndStop (1);
Symbol 2521 MovieClip Frame 484
play();
Symbol 2521 MovieClip Frame 494
gotoAndStop (1);
Symbol 2521 MovieClip Frame 495
play();
Symbol 2521 MovieClip Frame 513
gotoAndStop (1);
Symbol 2521 MovieClip Frame 514
_parent.iexist = 0;
_root.decloak();
if (_parent.pcreature < 2) {
if ((_parent.skill == "phoenix") and (resurrect == 2)) {
_parent.card = 613 + (_parent.elite * 2000);
_parent.ctrl = 1;
_parent.icons.gotoAndPlay(2);
_parent.gotoAndPlay(2);
}
if (resurrect == 1) {
_parent.card = 32;
_parent.ctrl = 1;
_parent.mythosis = 1;
_parent.poison = 0;
_parent.icons.gotoAndPlay(2);
_parent.gotoAndPlay(2);
}
resurrect = 0;
_root.deathtrigger(_parent.prevcard);
}
if (_parent.ctype == "pillar") {
_parent.n = "";
if (_parent.ctrl > 1) {
_parent.n = _parent.ctrl + " X";
}
}
if ((_parent.pos == _root.shieldcreature) and (_parent.pcreature == 1)) {
_root.shieldcreature = 0;
}
if ((_parent.pos == _root.shieldcreaturee) and (_parent.pcreature == 0)) {
_root.shieldcreaturee = 0;
}
if (((_parent.pcreature == 2) and (_root.who == "cpu")) and (_root.stealing != 1)) {
i = 1;
while (i <= 23) {
if (((((eval (("_root.c" + i) + ".ctrl") == 1) and (eval (("_root.c" + i) + ".passive") == "salvaging")) and (eval (("_root.c" + i) + ".frozen") == 0)) and (eval (("_root.c" + i) + ".delay") == 0)) and (eval (("_root.c" + i) + ".skflag") == 1)) {
Set(("_root.c" + i) + ".skflag", 0);
target = "_root.c" + i;
eval (target).instantfx.gotoAndPlay("salvaging");
i = 1;
while (i <= 8) {
if (eval (("_root.h" + i) + ".card") == 0) {
Set(("_root.h" + i) + ".card", _parent.prevcard);
_root.cardshand = _root.cardshand + 1;
eval ("_root.h" + i).gotoAndPlay(2);
break;
}
i++;
}
break;
}
i++;
}
}
if (((_parent.pcreature == 3) and (_root.who == "player")) and (_root.stealing != 1)) {
i = 1;
while (i <= 23) {
if (((((eval (("_root.ce" + i) + ".ctrl") == 1) and (eval (("_root.ce" + i) + ".passive") == "salvaging")) and (eval (("_root.ce" + i) + ".frozen") == 0)) and (eval (("_root.ce" + i) + ".delay") == 0)) and (eval (("_root.ce" + i) + ".skflag") == 1)) {
Set(("_root.ce" + i) + ".skflag", 0);
target = "_root.ce" + i;
eval (target).instantfx.gotoAndPlay("salvaging");
i = 1;
while (i <= 8) {
if (eval (("_root.he" + i) + ".card") == 0) {
Set(("_root.he" + i) + ".card", _parent.prevcard);
_root.cardshande = _root.cardshande + 1;
eval ("_root.he" + i).gotoAndPlay(2);
break;
}
i++;
}
break;
}
i++;
}
}
play();
Symbol 2521 MovieClip Frame 527
gotoAndStop (1);
Symbol 2521 MovieClip Frame 528
play();
Symbol 2521 MovieClip Frame 533
gotoAndStop (1);
Symbol 2521 MovieClip Frame 534
play();
Symbol 2521 MovieClip Frame 542
gotoAndStop (1);
Symbol 2521 MovieClip Frame 543
play();
Symbol 2521 MovieClip Frame 550
gotoAndStop (1);
Symbol 2521 MovieClip Frame 551
play();
Symbol 2521 MovieClip Frame 556
gotoAndStop (1);
Symbol 2521 MovieClip Frame 557
_parent.icons.gotoAndPlay(2);
play();
Symbol 2521 MovieClip Frame 562
gotoAndStop (1);
Symbol 2521 MovieClip Frame 563
play();
Symbol 2521 MovieClip Frame 568
gotoAndStop (1);
Symbol 2521 MovieClip Frame 569
play();
Symbol 2521 MovieClip Frame 574
gotoAndStop (1);
Symbol 2521 MovieClip Frame 575
gotoAndPlay(_currentframe + Math.floor(Math.random() * 9));
Symbol 2521 MovieClip Frame 595
gotoAndStop (1);
Symbol 2521 MovieClip Frame 596
play();
Symbol 2521 MovieClip Frame 603
_parent.immortal = 1;
gotoAndStop (1);
Symbol 2521 MovieClip Frame 604
play();
Symbol 2521 MovieClip Frame 611
_parent.immortal = 2;
gotoAndStop (1);
Symbol 2521 MovieClip Frame 612
play();
Symbol 2521 MovieClip Frame 619
gotoAndStop (1);
Symbol 2521 MovieClip Frame 620
play();
Symbol 2521 MovieClip Frame 633
gotoAndStop (1);
Symbol 2521 MovieClip Frame 639
gotoAndStop (1);
Symbol 2521 MovieClip Frame 641
gotoAndStop (1);
Symbol 2521 MovieClip Frame 642
play();
Symbol 2521 MovieClip Frame 658
gotoAndStop (1);
Symbol 2521 MovieClip Frame 659
play();
Symbol 2521 MovieClip Frame 670
gotoAndStop (1);
Symbol 2521 MovieClip Frame 671
play();
Symbol 2521 MovieClip Frame 680
gotoAndStop (1);
Symbol 2521 MovieClip Frame 681
play();
Symbol 2521 MovieClip Frame 691
gotoAndStop (1);
Symbol 2521 MovieClip Frame 706
gotoAndStop (1);
Symbol 2521 MovieClip Frame 707
play();
Symbol 2521 MovieClip Frame 718
gotoAndStop (1);
Symbol 2521 MovieClip Frame 719
play();
Symbol 2521 MovieClip Frame 732
gotoAndStop (1);
Symbol 2521 MovieClip Frame 733
play();
Symbol 2521 MovieClip Frame 745
gotoAndStop (1);
Symbol 2521 MovieClip Frame 746
play();
Symbol 2521 MovieClip Frame 749
gotoAndStop (1);
Symbol 2521 MovieClip Frame 750
play();
Symbol 2521 MovieClip Frame 773
gotoAndStop (1);
Symbol 2521 MovieClip Frame 774
play();
Symbol 2521 MovieClip Frame 788
gotoAndStop (1);
Symbol 2521 MovieClip Frame 789
play();
Symbol 2521 MovieClip Frame 799
gotoAndStop (1);
Symbol 2521 MovieClip Frame 800
play();
Symbol 2521 MovieClip Frame 814
gotoAndStop (1);
Symbol 2524 MovieClip Frame 1
stop();
Symbol 2524 MovieClip Frame 2
play();
Symbol 2524 MovieClip Frame 7
if ((_parent.vals != undefined) and (_parent.vals != "")) {
_parent.val = _parent.vals;
_parent.vals = "";
_parent.gotoAndPlay(2);
}
Symbol 2524 MovieClip Frame 26
gotoAndStop (1);
Symbol 2525 MovieClip Frame 1
n = 0;
stop();
Symbol 2525 MovieClip Frame 2
if ((_parent.passive == "voodoo") and (_parent.pcreature == 0)) {
vcreature = "ce" + _parent.pos;
_root.voodoo(vcreature);
}
if ((_parent.passive == "voodoo") and (_parent.pcreature == 1)) {
vcreature = "c" + _parent.pos;
_root.voodoo(vcreature);
}
if (_root.lowq == 0) {
n = n + 1;
if (n > 15) {
n = 1;
}
Set(("effect" + n) + ".val", val);
target = "effect" + n;
eval (target).gotoAndPlay(2);
} else {
gotoAndStop (1);
}
Symbol 2525 MovieClip Frame 3
stop();
Symbol 2528 MovieClip Frame 1
stop();
Symbol 2528 MovieClip Frame 2
immortal._visible = false;
delay._visible = false;
frozen._visible = false;
halo._visible = false;
if (_parent.ctrl == 0) {
gotoAndStop (1);
} else {
conta = 0;
if ((((_parent.statu == "invulnerable") and (_parent.card != 25)) and (_parent.card != 26)) and (_parent.pos != 5)) {
immortal._visible = true;
conta = conta + 1;
}
if (_parent.delay > 0) {
delay._visible = true;
conta = conta + 1;
}
if (_parent.frozen > 0) {
frozen._visible = true;
conta = conta + 1;
}
if (_parent.card > 2000) {
halo._visible = true;
conta = conta + 1;
}
if (conta == 0) {
gotoAndStop (1);
}
_parent.n = "";
if (_parent.ctrl > 1) {
_parent.n = _parent.ctrl + " X";
}
if (_parent.skill == "phaseshift") {
_parent.n = _parent.invulnerability;
}
if (_parent.charges > 0) {
_parent.n = _parent.charges;
}
}
Symbol 2528 MovieClip Frame 3
stop();
Symbol 2532 MovieClip Frame 1
stop();
Symbol 2535 Button
on (rollOver) {
_root.bigone.gotoAndStop(card);
_root.lock.gotoAndPlay(4);
}
on (rollOut, dragOut) {
_root.bigone.gotoAndStop(1);
_root.lock.gotoAndStop(1);
}
Symbol 2536 MovieClip Frame 1
stop();
Symbol 2538 Button
on (rollOver) {
_root.bigone.gotoAndStop(card);
_root.lock.gotoAndPlay(4);
}
on (rollOut, dragOut) {
_root.bigone.gotoAndStop(1);
_root.lock.gotoAndStop(1);
}
on (release) {
if ((_root.locktarget == 0) and (lock == 0)) {
lock = 1;
if (_root.level == "pvp") {
_root.ctrlx[_root.ctrln] = (9000 + pos) + 25;
_root.ctrln = _root.ctrln + 1;
_root.ctrlstep = 2;
}
_root.locktarget = 1;
if (_root.sel.skill == "steal") {
found = 0;
_root.sel.gotoAndPlay("targeted");
if ((ctype == "pillar") or (ctype == "shard")) {
i = 1;
while (i <= 19) {
if (eval (("_root.p" + i) + ".card") == card) {
Set(("_root.p" + i) + ".ctrl", eval (("_root.p" + i) + ".ctrl") + 1);
found = 1;
target = "_root.p" + i;
eval (target).gotoAndPlay(2);
_root.sel.skill = "destroy";
break;
}
i++;
}
}
if (found == 0) {
i = 1;
while (i <= 19) {
if ((eval (("_root.p" + i) + ".ctrl") == 0) and (found == 0)) {
found = 1;
break;
}
i++;
}
if (ctype == "shield") {
_root.shield = _root.shielde;
_root.shieldtype = _root.shieldtypee;
found = 1;
i = 4;
}
if (ctype == "weapon") {
found = 1;
i = 10;
}
Set(("_root.p" + i) + ".skflag", 0);
Set(("_root.p" + i) + ".card", card);
target = "_root.p" + i;
eval (target).gotoAndPlay(2);
instantfx.gotoAndPlay("steal");
eval (target).instantfx.gotoAndPlay("steal");
eval (target).ctrl = 1;
eval (target).stealinvulnerability = invulnerability;
eval (target).stolen = 1;
eval (target).statu = statu;
eval (target).skill = skill;
eval (target).maintain = maintain;
eval (target).skillcost = skillcost;
eval (target).skillelement = skillelement;
_root.sel.skill = "destroy";
}
}
if (_root.sel.skill == "nymph") {
nymph = (Math.floor(card / 100) * 100) + 20;
if (Math.floor(card / 100) == 0) {
nymph = (Math.ceil(Math.random() * 12) * 100) + 20;
}
if (Math.floor(card / 100) == 20) {
nymph = (Math.ceil(Math.random() * 12) * 100) + 2020;
}
i = 1;
while (i <= 23) {
if (eval (("_root.ce" + i) + ".ctrl") == 0) {
Set(("_root.ce" + i) + ".ctrl", 1);
Set(("_root.ce" + i) + ".skflag", 0);
Set(("_root.ce" + i) + ".card", nymph);
found = 1;
target = "_root.ce" + i;
eval (target).gotoAndPlay(2);
break;
}
i++;
}
if (found == 0) {
_root.tutortext = "There are no creature slots available";
_root.tutor.gotoAndPlay(2);
}
}
if ((_root.sel.skill == "destroy") or (_root.sel.skill == "nymph")) {
_root.sel.gotoAndPlay("targeted");
instantfx.gotoAndPlay("die");
if (ctype == "shield") {
ctrl = ctrl - 1;
if (ctrl <= 0) {
_root.deshielde();
}
} else if (ctype == "weapon") {
_root.disarme();
} else {
ctrl = ctrl - 1;
if (ctrl <= 0) {
card = 0;
gotoAndStop (1);
}
}
}
if ((_root.sel.skill == "tsunami") or (_root.sel.skill == "earthquake")) {
_root.sel.gotoAndPlay("targeted");
instantfx.gotoAndPlay("die");
ctrl = ctrl - 3;
if (ctrl <= 0) {
ctrl = 0;
card = 0;
gotoAndStop (1);
}
}
if (_root.sel.skill == "enchant") {
_root.sel.gotoAndPlay("targeted");
statu = "invulnerable";
instantfx.gotoAndPlay("immortal");
}
if (_root.sel.skill == "endow") {
_root.sel.gotoAndPlay("targeted");
target = "_root.c" + _root.sel.devourer;
instantfx.gotoAndPlay("generic");
eval (target).instantfx.gotoAndPlay("generic");
eval (target).def = eval (target).def + 2;
eval (target).atk = eval (target).atk + atk;
eval (target).defnow = eval (target).defnow + 2;
eval (target).atknow = eval (target).atknow + atk;
eval (target).skill = skill;
if (momentum == 1) {
eval (target).instantfx.gotoAndPlay("momentum");
eval (target).momentum = 1;
}
eval (target).skillcost = skillcost;
eval (target).skillelement = skillelement;
eval (target).passive = passive;
eval (target).dmgfx.val = ("+" + atk) + " / +2";
eval (target).dmgfx.gotoAndPlay(2);
eval (target).quantum.gotoAndStop(1);
if (skillcost > 0) {
eval (target).quantum.gotoAndStop(skillelement + 1);
}
eval (target).icons.gotoAndPlay(2);
}
_root.bigone.gotoAndStop(1);
_root.lock.gotoAndStop(1);
}
}
Symbol 2539 MovieClip Frame 1
n = "";
skflag = 0;
pcreature = 3;
invulnerability = -1;
stealinvulnerability = -1;
stolen = 0;
hope = 0;
charges = -1;
lock = 0;
freeze = 0;
frozen = 0;
delay = 0;
if ((iexist == 1) and (instantfx._currentframe == 1)) {
instantfx.gotoAndPlay("die");
}
stop();
Symbol 2539 MovieClip Frame 2
txt.gotoAndStop(card);
img.gotoAndStop(card);
quantum.gotoAndStop(1);
prevcard = card;
skflag = 0;
iexist = 1;
if (_root.cloake == 0) {
this._visible = true;
}
play();
Symbol 2539 MovieClip Frame 3
atknow = atk;
if ((skill == "cloak") and (iexist == 1)) {
this._visible = true;
}
if (skillcost > 0) {
quantum.gotoAndStop(skillelement + 1);
}
if ((card == 1009) or (card == 3009)) {
_root.sundial = 1;
charges = 1;
instantfx.gotoAndPlay("delay");
}
if (skill == "cloak") {
charges = 3;
_root.cloake = 1;
_root.bkglines.gotoAndStop(2);
instantfx.gotoAndPlay("cloak");
i = 1;
while (i <= 19) {
target = "_root.pe" + i;
if (eval (target).skill != "cloak") {
eval (target)._visible = false;
}
i++;
}
i = 1;
while (i <= 23) {
target = "_root.ce" + i;
eval (target)._visible = false;
i++;
}
}
if (skill == "bones") {
ctrl = 7;
invulnerability = 0;
if (stolen != 0) {
ctrl = 1;
stolen = 0;
}
}
if (ctype == "shield") {
_root.shielde = def;
_root.shieldtypee = skill;
}
if ((skill == "phaseshift") or (skill == "wings")) {
invulnerability = 3;
if (skill == "wings") {
invulnerability = 5;
}
} else {
invulnerability = -1;
}
if (((skill == "phaseshift") or (skill == "wings")) and (stealinvulnerability != -1)) {
invulnerability = stealinvulnerability;
stealinvulnerability = -1;
}
if ((skill == "nightfall") and (_root.nightfall < 1)) {
_root.nightfall = 1;
i = 1;
while (i <= 23) {
if ((eval (("_root.c" + i) + ".ctrl") > 0) and ((eval (("_root.c" + i) + ".costelement") == 2) or (eval (("_root.c" + i) + ".costelement") == 11))) {
target = "_root.c" + i;
eval (target).instantfx.gotoAndPlay("darkness");
eval (target).defnow = eval (target).defnow + 1;
eval (target).def = eval (target).def + 1;
eval (target).atknow = eval (target).atknow + 1;
eval (target).atk = eval (target).atk + 1;
eval (target).dmgfx.val = "+1 / +1";
eval (target).dmgfx.gotoAndPlay(2);
}
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and ((eval (("_root.ce" + i) + ".costelement") == 2) or (eval (("_root.ce" + i) + ".costelement") == 11))) {
target = "_root.ce" + i;
eval (target).instantfx.gotoAndPlay("darkness");
eval (target).defnow = eval (target).defnow + 1;
eval (target).def = eval (target).def + 1;
eval (target).atknow = eval (target).atknow + 1;
eval (target).atk = eval (target).atk + 1;
eval (target).dmgfx.val = "+1 / +1";
eval (target).dmgfx.gotoAndPlay(2);
}
i++;
}
}
if ((skill == "eclipse") and (_root.nightfall < 2)) {
i = 1;
while (i <= 23) {
if ((eval (("_root.c" + i) + ".ctrl") > 0) and ((eval (("_root.c" + i) + ".costelement") == 2) or (eval (("_root.c" + i) + ".costelement") == 11))) {
target = "_root.c" + i;
eval (target).instantfx.gotoAndPlay("darkness");
eval (target).defnow = eval (target).defnow + 1;
eval (target).def = eval (target).def + 1;
eval (target).atknow = (eval (target).atknow + 2) - _root.nightfall;
eval (target).atk = (eval (target).atk + 2) - _root.nightfall;
eval (target).dmgfx.val = "+2 / +1";
eval (target).dmgfx.gotoAndPlay(2);
}
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and ((eval (("_root.ce" + i) + ".costelement") == 2) or (eval (("_root.ce" + i) + ".costelement") == 11))) {
target = "_root.ce" + i;
eval (target).instantfx.gotoAndPlay("darkness");
eval (target).defnow = (eval (target).defnow + 1) - _root.nightfall;
eval (target).def = (eval (target).def + 1) - _root.nightfall;
eval (target).atknow = (eval (target).atknow + 2) - _root.nightfall;
eval (target).atk = (eval (target).atk + 2) - _root.nightfall;
eval (target).dmgfx.val = "+2 / +1";
eval (target).dmgfx.gotoAndPlay(2);
}
i++;
}
_root.nightfall = 2;
}
if (statu == "copy") {
ctrl = eval (("_root.p" + copyn) + ".ctrl");
statu = eval (("_root.p" + copyn) + ".statu");
skill = eval (("_root.p" + copyn) + ".skill");
maintain = eval (("_root.p" + copyn) + ".maintain");
skillcost = eval (("_root.p" + copyn) + ".skillcost");
skillelement = eval (("_root.p" + copyn) + ".skillelement");
}
if (statu == "copye") {
ctrl = eval (("_root.pe" + copyn) + ".ctrl");
statu = eval (("_root.pe" + copyn) + ".statu");
skill = eval (("_root.pe" + copyn) + ".skill");
skillcost = eval (("_root.pe" + copyn) + ".skillcost");
maintain = eval (("_root.pe" + copyn) + ".maintain");
skillelement = eval (("_root.pe" + copyn) + ".skillelement");
}
if (((skill == "immaterial") or (skill == "reflect")) or (skill == "hope")) {
statu = "invulnerable";
instantfx.gotoAndPlay("immortal");
}
if (skill == "momentum") {
instantfx.gotoAndPlay("momentum");
momentum = 1;
}
if (skill == "wings") {
instantfx.gotoAndPlay("dive");
}
if (skill == "empathy") {
_root.empathye = _root.empathye + 1;
}
if (skill == "flood") {
_root.floodfx.gotoAndStop(2);
_root.flood = 1;
}
if (skill == "catapult") {
_root.ihazcatapult = 1;
}
if ((card > 2000) and (ctype == "pillar")) {
if (costelement > 0) {
if (skill == " ") {
_root.qadjuste(skillelement, 1);
} else {
_root.qadjuste(costelement, 1);
}
} else {
var addquantum = new Array();
i = 1;
while (i <= 12) {
addquantum[i] = 0;
i++;
}
i = 1;
while (i <= 3) {
elementnow = 1 + Math.floor(_root.rand() * 12);
addquantum[elementnow] = addquantum[elementnow] + 1;
i++;
}
i = 1;
while (i <= 12) {
_root.qadjuste(i, addquantum[i]);
i++;
}
}
}
stolen = 0;
icons.gotoAndPlay(2);
Symbol 2539 MovieClip Frame 4
n = "";
if (ctrl > 1) {
n = ctrl + " X";
}
if ((skill == "phaseshift") or (skill == "wings")) {
n = invulnerability;
}
if (skill == "hope") {
n = _root.shielde;
}
if (charges > 0) {
n = charges;
}
lock = 0;
stop();
Symbol 2539 MovieClip Frame 5
if (ctype == "pillar") {
elementnow = costelement;
if ((skill == " ") and (elementnow == _root.elemente)) {
costelement = skillelement;
img.mark1.gotoAndStop(costelement + 1);
} else if ((skill == " ") and (elementnow != _root.elemente)) {
costelement = _root.elemente;
img.mark1.gotoAndStop(costelement + 1);
}
if (costelement == 0) {
var addquantum = new Array();
i = 1;
while (i <= 12) {
addquantum[i] = 0;
i++;
}
i = 1;
while (i <= (3 * ctrl)) {
elementnow = 1 + Math.floor(_root.rand() * 12);
addquantum[elementnow] = addquantum[elementnow] + 1;
i++;
}
i = 1;
while (i <= 12) {
_root.qadjuste(i, addquantum[i]);
i++;
}
} else {
_root.qadjuste(elementnow, ctrl);
}
qup.gotoAndStop(elementnow + 1);
qup2.gotoAndStop(elementnow + 1);
}
if ((skill == "phaseshift") or (skill == "wings")) {
invulnerability = invulnerability - 1;
if (invulnerability < 0) {
_root.shielde = 0;
_root.shieldtypee = "none";
_root.deshielde();
}
}
if (skill == "regenerate") {
atktext = "+ 5";
_root.hpeffecte.val = atktext;
_root.hpeffecte.gotoAndPlay(2);
_root.addhpe(5);
}
if (skill == "gratitude") {
healg = 3;
if (card > 2000) {
healg = 3;
}
if (_root.elemente == 5) {
healg = healg + 2;
}
healg = healg * ctrl;
atktext = "+ " + healg;
_root.hpeffecte.val = atktext;
_root.hpeffecte.gotoAndPlay(2);
_root.addhpe(healg);
}
if (skill == "void") {
if (_root.elemente == 11) {
dmg = 3 * ctrl;
} else {
dmg = 2 * ctrl;
}
dmg2 = _root.hpmax - dmg;
_root.hpmax = Math.max(1, dmg2);
_root.hpeffect.val = " -" + dmg;
_root.hpeffect.gotoAndPlay(2);
}
if (skill == "sanctuary") {
atktext = "+ 4";
_root.hpeffecte.val = atktext;
_root.hpeffecte.gotoAndPlay(2);
_root.addhpe(4);
}
if ((skill == "empathy") and (_root.rethpe() < _root.hpemax)) {
nc = 0;
i = 1;
while (i <= 23) {
if (eval (("_root.ce" + i) + ".ctrl") > 0) {
nc = nc + 1;
}
i++;
}
if (nc > 0) {
atktext = "+ " + nc;
_root.hpeffecte.val = atktext;
_root.hpeffecte.gotoAndPlay(2);
_root.addhpe(nc);
instantfx.gotoAndPlay("life");
}
}
if (skill == "hope") {
hope = 0;
i = 1;
while (i <= 23) {
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".skill") == "light")) {
hope = hope + 1;
}
i++;
}
_root.shielde = def + hope;
n = _root.shielde;
}
if ((ctype == "weapon") and (card != 26)) {
atknow = atk;
if (skill == "fiery") {
atknow = atk + Math.floor(_root.retqe(6) / 5);
}
if ((skill == "hammer") and ((_root.elemente == 3) or (_root.elemente == 4))) {
atknow = atk + 1;
}
if ((skill == "dagger") and ((_root.elemente == 2) or (_root.elemente == 11))) {
atknow = atk + 1;
}
if ((skill == "bow") and (_root.elemente == 9)) {
atknow = atk + 1;
}
if (frozen > 0) {
atknow = 0;
frozen = frozen - 1;
if (frozen < 1) {
instantfx.gotoAndPlay("unfrozen");
}
}
if (delay > 0) {
atknow = 0;
delay = delay - 1;
if (delay < 1) {
instantfx.gotoAndPlay("undelay");
}
}
if ((delay < 1) and (frozen < 1)) {
skflag = 1;
}
if (momentum != 1) {
if ((_root.shieldtype == "phaseshift") and (atknow > 0)) {
atknow = 0;
dmgfx.val = "Miss";
dmgfx.gotoAndPlay(2);
}
if ((_root.shieldtype == "solar") and (atknow > 0)) {
_root.qadjust(8, Math.min(atknow, _root.shield));
_root.p4.qup.gotoAndStop(9);
_root.p4.qup2.gotoAndStop(9);
}
if ((_root.shieldtype == "wings") and (passive != "ranged")) {
atknow = 0;
dmgfx.val = "Miss";
dmgfx.gotoAndPlay(2);
}
if ((_root.shieldtype == "bones") and (atknow > 0)) {
atknow = 0;
dmgfx.val = "Blocked";
dmgfx.gotoAndPlay(2);
_root.p4.ctrl = _root.p4.ctrl - 1;
_root.p4.n = _root.p4.ctrl + " X";
if (_root.p4.ctrl <= 0) {
_root.deshield();
}
}
atknow = atknow - _root.shield;
if (atknow < 0) {
atknow = 0;
}
if (((_root.shieldtype == "fog") and (_root.rand() <= 0.4)) and (atknow > 0)) {
atknow = 0;
dmgfx.val = "Miss";
dmgfx.gotoAndPlay(2);
}
if (((_root.shieldtype == "dusk") and (_root.rand() <= 0.5)) and (atknow > 0)) {
atknow = 0;
dmgfx.val = "Miss";
dmgfx.gotoAndPlay(2);
}
if (((_root.shieldtype == "dissipation") and (_root.sanctuary == 0)) and (atknow > 0)) {
_root.q0 = 0;
_root.qe0 = 0;
i = 1;
while (i <= 12) {
_root.q0 = _root.q0 + _root.retq(i);
_root.qe0 = _root.qe0 + _root.retqe(i);
i++;
}
if (_root.q0 >= atknow) {
_root.qadjust(0, -atknow);
atknow = 0;
dmgfx.val = "Absorbed";
dmgfx.gotoAndPlay(2);
} else {
_root.deshield();
}
}
if (((_root.shieldtype == "edissipation") and (_root.sanctuary == 0)) and (atknow > 0)) {
if (_root.retq(1) >= Math.ceil(atknow / 3)) {
_root.qadjust(1, -Math.ceil(atknow / 3));
atknow = 0;
dmgfx.val = "Absorbed";
dmgfx.gotoAndPlay(2);
} else {
_root.deshield();
}
}
}
_root.addhp(-atknow);
if (atknow > 0) {
atktext = "- " + atknow;
_root.hpeffect.val = atktext;
_root.hpeffect.gotoAndPlay(2);
soundfx = "hit" + (Math.floor(Math.sqrt(atknow + 1)) - 1);
_root.soundfx.gotoAndPlay(soundfx);
dmgfx.val = atknow;
dmgfx.gotoAndPlay(2);
if (skill == "vampire") {
atktext = "+ " + atknow;
_root.hpeffecte.val = atktext;
_root.hpeffecte.gotoAndPlay(2);
_root.addhpe(atknow);
}
if (skill == "venom") {
_root.addpo(1);
_root.fx.gotoAndPlay("poison");
}
if (skill == "scramble") {
_root.q0 = 0;
_root.qe0 = 0;
i = 1;
while (i <= 12) {
_root.q0 = _root.q0 + _root.retq(i);
_root.qe0 = _root.qe0 + _root.retqe(i);
i++;
}
if (_root.q0 > 9) {
_root.qadjust(0, -9);
nq = 9;
} else {
nq = _root.q0 - 1;
_root.qadjust(0, -(_root.q0 - 1));
}
var addquantum2 = new Array();
i = 1;
while (i <= 12) {
addquantum2[i] = 0;
i++;
}
i = 1;
while (i <= nq) {
elementnow = 1 + Math.floor(_root.rand() * 12);
addquantum2[elementnow] = addquantum2[elementnow] + 1;
i++;
}
i = 1;
while (i <= 12) {
_root.qadjust(i, addquantum2[i]);
i++;
}
}
}
}
if ((skill == "phaseshift") or (skill == "wings")) {
n = invulnerability;
}
gotoAndStop ("idle");
if (charges >= 0) {
charges = charges - 1;
n = charges;
if (charges < 0) {
statu = "";
card = 0;
ctrl = 0;
gotoAndStop (1);
}
}
if (skill == "flood") {
if (_root.retqe(7) < 1) {
_root.qadjuste(7, -_root.retqe(7));
statu = "";
card = 0;
ctrl = 0;
gotoAndStop (1);
} else {
_root.qadjuste(7, -1);
}
}
if (_root.rethpe() < 0) {
_root.adjhpe(0);
}
if (_root.rethp() < 0) {
_root.adjhp(0);
}
if (_root.rethp() > _root.hpmax) {
_root.adjhp(_root.hpmax);
}
if (_root.rethpe() > _root.hpemax) {
_root.adjhpe(_root.hpemax);
}
stolen = 0;
Symbol 2543 Button
on (rollOver) {
_root.bigone.gotoAndStop(card);
_root.lock.gotoAndPlay(2);
}
on (rollOut, release, dragOut) {
_root.bigone.gotoAndStop(1);
_root.lock.gotoAndStop(1);
}
on (release) {
if ((_root.lockskill == 0) and (_root.glasslock == 0)) {
if (((_root.retq(skillelement) - skillcost) < 0) and (skflag == 1)) {
_root.tutortext = "Not enough quanta";
_root.tutor.gotoAndPlay(2);
}
if ((((_root.retq(skillelement) - skillcost) >= 0) and (skflag == 1)) and (_root.statu == "standby")) {
cardok = 1;
if (skill == "hasten") {
if ((_root.cardshand < 8) and (_root.glasslock == 0)) {
_root.gotoAndPlay("draw2");
instantfx.gotoAndPlay("hasten");
} else {
_root.tutortext = "You are already drawing a card or you already have 8 cards";
_root.tutor.gotoAndPlay(2);
cardok = 0;
}
}
if (skill == "duality") {
if (((_root.cardshand < 8) and (_root.glasslock == 0)) and (_root.decken > 0)) {
_root.gotoAndPlay("standby");
_root.duality = 1;
instantfx.gotoAndPlay("duality");
} else {
_root.tutortext = "You are already drawing a card or you already have 8 cards";
_root.tutor.gotoAndPlay(2);
cardok = 0;
}
}
if (cardok == 1) {
_root.qadjust(skillelement, -skillcost);
skflag = 0;
_root.sel.card = 0;
if (_root.level == "pvp") {
if (_root.ctrlstep == 1) {
_root.ctrlx[_root.ctrln] = 9999;
_root.ctrln = _root.ctrln + 1;
}
_root.ctrlx[_root.ctrln] = 2000 + pos;
_root.ctrln = _root.ctrln + 1;
_root.ctrlstep = 1;
}
}
if ((skill == "destroy") or (skill == "steal")) {
_root.sel.targeting = "permanent";
_root.sel.skill = skill;
_root.sel.gotoAndPlay(2);
}
if (((skill == "lobotomize") or (skill == "reverse time")) or (skill == "sniper")) {
_root.sel.targeting = "creature";
_root.sel.skill = skill;
_root.sel.gotoAndPlay(2);
}
if (skill == "catapult") {
_root.sel.targeting = "mycreature";
_root.sel.skill = skill;
_root.sel.devourer = pos;
_root.sel.gotoAndPlay(2);
}
if (skill == "tsunami") {
instantfx.gotoAndPlay("water");
_root.sel.targeting = "pillars";
_root.sel.skill = skill;
_root.sel.gotoAndPlay(2);
}
if (skill == "ignite") {
_root.forcedecloake();
i = 1;
while (i <= 23) {
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) {
target = "_root.ce" + i;
eval (target).defnow = eval (target).defnow - 1;
eval (target).dmgfx.val = "- 1";
eval (target).dmgfx.gotoAndPlay(2);
if (eval (target).defnow <= 0) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).cardfx.gotoAndPlay("die");
eval (target).gotoAndStop(1);
}
}
if ((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) {
target = "_root.c" + i;
eval (target).defnow = eval (target).defnow - 1;
eval (target).dmgfx.val = "- 1";
eval (target).dmgfx.gotoAndPlay(2);
if (eval (target).defnow <= 0) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).cardfx.gotoAndPlay("die");
eval (target).gotoAndStop(1);
}
}
i++;
}
if (_root.shieldtypee == "reflect") {
_root.pe4.instantfx.gotoAndPlay("reflect");
_root.pe4.dmgfx.val = "reflect";
_root.pe4.dmgfx.gotoAndPlay(2);
_root.hpeffect.val = "- 20";
_root.hpeffect.gotoAndPlay(2);
_root.addhp(-20);
_root.fx.gotoAndPlay("ignite");
} else {
_root.efx.gotoAndPlay("ignite");
_root.hpeffecte.val = "- 20";
_root.hpeffecte.gotoAndPlay(2);
_root.addhpe(-20);
}
cardfx.gotoAndPlay("die");
ctrl = 0;
card = 0;
gotoAndStop (1);
}
if (skill == "patience") {
instantfx.gotoAndPlay("die");
ctrl = 0;
card = 0;
gotoAndStop (1);
}
if (_root.rethpe() < 0) {
_root.adjhpe(0);
}
if (_root.rethp() < 0) {
_root.adjhp(0);
}
if (_root.rethp() > _root.hpmax) {
_root.adjhp(_root.hpmax);
}
if (_root.rethpe() > _root.hpemax) {
_root.adjhpe(_root.hpemax);
}
}
}
}
Symbol 2562 MovieClip Frame 1
stop();
Symbol 2562 MovieClip Frame 2
play();
if (_root.firstskill == 0) {
_root.guide.gotoAndPlay("firstskill");
_root.firstskill = 1;
}
Symbol 2562 MovieClip Frame 81
gotoAndPlay (3);
Symbol 2562 MovieClip Frame 82
play();
Symbol 2562 MovieClip Frame 161
gotoAndPlay (83);
Symbol 2564 Button
on (rollOver) {
_root.bigone.gotoAndStop(card);
_root.lock.gotoAndPlay(2);
}
on (rollOut, dragOut) {
_root.bigone.gotoAndStop(1);
_root.lock.gotoAndStop(1);
}
Symbol 2566 Button
on (rollOver) {
_root.bigone.gotoAndStop(card);
_root.lock.gotoAndPlay(2);
}
on (rollOut, dragOut) {
_root.bigone.gotoAndStop(1);
_root.lock.gotoAndStop(1);
}
on (release) {
if ((_root.locktarget == 0) and (lock == 0)) {
lock = 1;
if (_root.level == "pvp") {
_root.ctrlx[_root.ctrln] = (9000 + pos) + 69;
_root.ctrln = _root.ctrln + 1;
_root.ctrlstep = 2;
}
_root.locktarget = 1;
if (_root.sel.skill == "steal") {
instantfx.gotoAndPlay("steal");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "nymph") {
nymph = (Math.floor(card / 100) * 100) + 20;
if (Math.floor(card / 100) == 0) {
nymph = (Math.ceil(_root.rand() * 12) * 100) + 20;
}
if (Math.floor(card / 100) == 20) {
nymph = (Math.ceil(_root.rand() * 12) * 100) + 2020;
}
i = 1;
while (i <= 23) {
if (eval (("_root.c" + i) + ".ctrl") == 0) {
Set(("_root.c" + i) + ".ctrl", 1);
Set(("_root.c" + i) + ".skflag", 0);
Set(("_root.c" + i) + ".card", nymph);
found = 1;
target = "_root.c" + i;
eval (target).gotoAndPlay(2);
break;
}
i++;
}
if (found == 0) {
_root.tutortext = "There are no creature slots available";
_root.tutor.gotoAndPlay(2);
}
}
if ((_root.sel.skill == "destroy") or (_root.sel.skill == "nymph")) {
_root.sel.gotoAndPlay("targeted");
instantfx.gotoAndPlay("die");
if (ctype == "shield") {
ctrl = ctrl - 1;
if (ctrl <= 0) {
_root.deshield();
}
} else if (ctype == "weapon") {
_root.disarm();
} else {
ctrl = ctrl - 1;
if (ctrl <= 0) {
card = 0;
gotoAndStop (1);
}
}
}
if ((_root.sel.skill == "tsunami") or (_root.sel.skill == "earthquake")) {
_root.sel.gotoAndPlay("targeted");
instantfx.gotoAndPlay("die");
ctrl = ctrl - 3;
if (ctrl <= 0) {
ctrl = 0;
card = 0;
gotoAndStop (1);
}
}
if (_root.sel.skill == "enchant") {
_root.sel.gotoAndPlay("targeted");
statu = "invulnerable";
instantfx.gotoAndPlay("immortal");
}
if (_root.sel.skill == "endow") {
_root.sel.gotoAndPlay("targeted");
target = "_root.c" + _root.sel.devourer;
instantfx.gotoAndPlay("generic");
eval (target).instantfx.gotoAndPlay("generic");
eval (target).def = eval (target).def + 2;
eval (target).atk = eval (target).atk + atk;
eval (target).defnow = eval (target).defnow + 2;
eval (target).atknow = eval (target).atknow + atk;
eval (target).skill = skill;
if (momentum == 1) {
eval (target).instantfx.gotoAndPlay("momentum");
eval (target).momentum = 1;
}
eval (target).skillcost = skillcost;
eval (target).skillelement = skillelement;
eval (target).passive = passive;
eval (target).dmgfx.val = ("+" + atk) + " / +2";
eval (target).dmgfx.gotoAndPlay(2);
eval (target).quantum.gotoAndStop(1);
if (skillcost > 0) {
eval (target).quantum.gotoAndStop(skillelement + 1);
}
eval (target).icons.gotoAndPlay(2);
}
_root.bigone.gotoAndStop(1);
_root.lock.gotoAndStop(1);
}
}
Symbol 2567 MovieClip Frame 1
n = "";
statu = "";
skflag = 0;
pcreature = 2;
momentum = 0;
stolen = 0;
hope = 0;
charges = -1;
patience = 1;
linez.gotoAndStop(1);
invulnerability = -1;
stealinvulnerability = -1;
lock = 0;
freeze = 0;
frozen = 0;
delay = 0;
if ((iexist == 1) and (instantfx._currentframe == 1)) {
instantfx.gotoAndPlay("die");
}
stop();
Symbol 2567 MovieClip Frame 2
txt.gotoAndStop(card);
img.gotoAndStop(card);
quantum.gotoAndStop(1);
skflag = 0;
iexist = 1;
prevcard = card;
this._visible = true;
play();
Symbol 2567 MovieClip Frame 3
atknow = atk;
if (skillcost > 0) {
quantum.gotoAndStop(skillelement + 1);
}
if ((card == 1009) or (card == 3009)) {
_root.sundial = 1;
charges = 1;
instantfx.gotoAndPlay("delay");
}
if (skill == "cloak") {
charges = 3;
_root.cloak = 1;
instantfx.gotoAndPlay("cloak");
}
if (skill == "bones") {
ctrl = 7;
invulnerability = 0;
if (stolen != 0) {
ctrl = 1;
stolen = 0;
}
}
if (ctype == "shield") {
_root.shield = def;
_root.shieldtype = skill;
}
if ((skill == "phaseshift") or (skill == "wings")) {
invulnerability = 3;
if (skill == "wings") {
invulnerability = 5;
}
} else {
invulnerability = -1;
}
if (((skill == "phaseshift") or (skill == "wings")) and (stealinvulnerability != -1)) {
invulnerability = stealinvulnerability;
stealinvulnerability = -1;
}
if ((skill == "nightfall") and (_root.nightfall < 1)) {
_root.nightfall = 1;
i = 1;
while (i <= 23) {
if ((eval (("_root.c" + i) + ".ctrl") > 0) and ((eval (("_root.c" + i) + ".costelement") == 2) or (eval (("_root.c" + i) + ".costelement") == 11))) {
target = "_root.c" + i;
eval (target).instantfx.gotoAndPlay("darkness");
eval (target).defnow = eval (target).defnow + 1;
eval (target).def = eval (target).def + 1;
eval (target).atknow = eval (target).atknow + 1;
eval (target).atk = eval (target).atk + 1;
eval (target).dmgfx.val = "+1 / +1";
eval (target).dmgfx.gotoAndPlay(2);
}
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and ((eval (("_root.ce" + i) + ".costelement") == 2) or (eval (("_root.ce" + i) + ".costelement") == 11))) {
target = "_root.ce" + i;
eval (target).instantfx.gotoAndPlay("darkness");
eval (target).defnow = eval (target).defnow + 1;
eval (target).def = eval (target).def + 1;
eval (target).atknow = eval (target).atknow + 1;
eval (target).atk = eval (target).atk + 1;
eval (target).dmgfx.val = "+1 / +1";
eval (target).dmgfx.gotoAndPlay(2);
}
i++;
}
}
if ((skill == "eclipse") and (_root.nightfall < 2)) {
i = 1;
while (i <= 23) {
if ((eval (("_root.c" + i) + ".ctrl") > 0) and ((eval (("_root.c" + i) + ".costelement") == 2) or (eval (("_root.c" + i) + ".costelement") == 11))) {
target = "_root.c" + i;
eval (target).instantfx.gotoAndPlay("darkness");
eval (target).defnow = (eval (target).defnow + 1) - _root.nightfall;
eval (target).def = (eval (target).def + 1) - _root.nightfall;
eval (target).atknow = (eval (target).atknow + 2) - _root.nightfall;
eval (target).atk = (eval (target).atk + 2) - _root.nightfall;
eval (target).dmgfx.val = "+2 / +1";
eval (target).dmgfx.gotoAndPlay(2);
}
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and ((eval (("_root.ce" + i) + ".costelement") == 2) or (eval (("_root.ce" + i) + ".costelement") == 11))) {
target = "_root.ce" + i;
eval (target).instantfx.gotoAndPlay("darkness");
eval (target).defnow = (eval (target).defnow + 1) - _root.nightfall;
eval (target).def = (eval (target).def + 1) - _root.nightfall;
eval (target).atknow = (eval (target).atknow + 2) - _root.nightfall;
eval (target).atk = (eval (target).atk + 2) - _root.nightfall;
eval (target).dmgfx.val = "+2 / +1";
eval (target).dmgfx.gotoAndPlay(2);
}
i++;
}
_root.nightfall = 2;
}
if (statu == "copy") {
ctrl = eval (("_root.p" + copyn) + ".ctrl");
poison = eval (("_root.p" + copyn) + ".poison");
statu = eval (("_root.p" + copyn) + ".statu");
skill = eval (("_root.p" + copyn) + ".skill");
maintain = eval (("_root.p" + copyn) + ".maintain");
skillcost = eval (("_root.p" + copyn) + ".skillcost");
skillelement = eval (("_root.p" + copyn) + ".skillelement");
}
if (statu == "copye") {
ctrl = eval (("_root.pe" + copyn) + ".ctrl");
poison = eval (("_root.pe" + copyn) + ".poison");
statu = eval (("_root.pe" + copyn) + ".statu");
skill = eval (("_root.pe" + copyn) + ".skill");
skillcost = eval (("_root.pe" + copyn) + ".skillcost");
maintain = eval (("_root.pe" + copyn) + ".maintain");
skillelement = eval (("_root.pe" + copyn) + ".skillelement");
}
if (((_root.firstpillar == 0) and (ctype == "pillar")) and (statu != "invulnerable")) {
_root.guide.gotoAndPlay("firstpillar");
_root.firstpillar = 1;
}
if (((skill == "immaterial") or (skill == "reflect")) or (skill == "hope")) {
statu = "invulnerable";
instantfx.gotoAndPlay("immortal");
}
if (skill == "momentum") {
instantfx.gotoAndPlay("momentum");
momentum = 1;
}
if (skill == "wings") {
instantfx.gotoAndPlay("dive");
}
if (skill == "flood") {
_root.floodfx.gotoAndStop(2);
_root.flood = 1;
}
if ((card > 2000) and (ctype == "pillar")) {
if (costelement > 0) {
if (skill == " ") {
_root.qadjust(skillelement, 1);
} else {
_root.qadjust(costelement, 1);
}
} else {
var addquantum = new Array();
i = 1;
while (i <= 12) {
addquantum[i] = 0;
i++;
}
i = 1;
while (i <= 3) {
elementnow = 1 + Math.floor(_root.rand() * 12);
addquantum[elementnow] = addquantum[elementnow] + 1;
i++;
}
i = 1;
while (i <= 12) {
_root.qadjust(i, addquantum[i]);
i++;
}
}
}
stolen = 0;
icons.gotoAndPlay(2);
Symbol 2567 MovieClip Frame 4
n = "";
if (ctrl > 1) {
n = ctrl + " X";
}
if ((skill == "phaseshift") or (skill == "wings")) {
n = invulnerability;
}
if (skill == "hope") {
n = _root.shield;
}
if (charges > 0) {
n = charges;
}
lock = 0;
stop();
Symbol 2567 MovieClip Frame 5
if (ctype == "pillar") {
elementnow = costelement;
if ((skill == " ") and (elementnow == _root.element)) {
costelement = skillelement;
img.mark1.gotoAndStop(costelement + 1);
} else if ((skill == " ") and (elementnow != _root.element)) {
costelement = _root.element;
img.mark1.gotoAndStop(costelement + 1);
}
if (costelement == 0) {
var addquantum = new Array();
i = 1;
while (i <= 12) {
addquantum[i] = 0;
i++;
}
i = 1;
while (i <= (3 * ctrl)) {
elementnow = 1 + Math.floor(_root.rand() * 12);
addquantum[elementnow] = addquantum[elementnow] + 1;
i++;
}
i = 1;
while (i <= 12) {
_root.qadjust(i, addquantum[i]);
i++;
}
} else {
_root.qadjust(elementnow, ctrl);
}
qup.gotoAndStop(elementnow + 1);
qup2.gotoAndStop(elementnow + 1);
}
if ((skill == "phaseshift") or (skill == "wings")) {
invulnerability = invulnerability - 1;
if (invulnerability < 0) {
_root.shield = 0;
_root.shieldtype = "none";
_root.deshield();
}
}
if (charges >= 0) {
charges = charges - 1;
n = charges;
if (charges < 0) {
statu = "";
card = 0;
ctrl = 0;
gotoAndStop (1);
}
}
if (skill == "regenerate") {
atktext = "+ 5";
_root.hpeffect.val = atktext;
_root.hpeffect.gotoAndPlay(2);
_root.addhp(5);
}
if (skill == "gratitude") {
healg = 3;
if (card > 2000) {
healg = 3;
}
if (_root.element == 5) {
healg = healg + 2;
}
healg = healg * ctrl;
atktext = "+ " + healg;
_root.hpeffect.val = atktext;
_root.hpeffect.gotoAndPlay(2);
_root.addhp(healg);
}
if (skill == "void") {
if (_root.element == 11) {
dmg = 3 * ctrl;
} else {
dmg = 2 * ctrl;
}
dmg2 = _root.hpemax - dmg;
_root.hpemax = Math.max(1, dmg2);
_root.hpeffecte.val = " -" + dmg;
_root.hpeffecte.gotoAndPlay(2);
}
if (skill == "sanctuary") {
atktext = "+ 4";
_root.hpeffect.val = atktext;
_root.hpeffect.gotoAndPlay(2);
_root.addhp(4);
}
if ((skill == "empathy") and (_root.rethp() < _root.hpmax)) {
nc = 0;
i = 1;
while (i <= 23) {
if (eval (("_root.c" + i) + ".ctrl") > 0) {
nc = nc + 1;
}
i++;
}
if (nc > 0) {
atktext = "+ " + nc;
_root.hpeffect.val = atktext;
_root.hpeffect.gotoAndPlay(2);
_root.addhp(nc);
instantfx.gotoAndPlay("life");
}
}
if (skill == "hope") {
hope = 0;
i = 1;
while (i <= 23) {
if ((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".skill") == "light")) {
hope = hope + 1;
}
i++;
}
_root.shield = def + hope;
n = _root.shield;
}
if (skill == "flood") {
if (_root.retq(7) < 1) {
_root.qadjust(7, -_root.retq(7));
statu = "";
card = 0;
ctrl = 0;
gotoAndStop (1);
} else {
_root.qadjust(7, -1);
}
}
if ((ctype == "weapon") and (card != 26)) {
atknow = atk;
if (skill == "fiery") {
atknow = atk + Math.floor(_root.retq(6) / 5);
}
if ((skill == "hammer") and ((_root.element == 3) or (_root.element == 4))) {
atknow = atk + 1;
}
if ((skill == "dagger") and ((_root.element == 2) or (_root.element == 11))) {
atknow = atk + 1;
}
if ((skill == "bow") and (_root.element == 9)) {
atknow = atk + 1;
}
if (frozen > 0) {
atknow = 0;
frozen = frozen - 1;
if (frozen < 1) {
instantfx.gotoAndPlay("unfrozen");
}
}
if (delay > 0) {
atknow = 0;
delay = delay - 1;
if (delay < 1) {
instantfx.gotoAndPlay("undelay");
}
}
if ((delay < 1) and (frozen < 1)) {
skflag = 1;
}
if (momentum != 1) {
if ((_root.shieldtypee == "phaseshift") and (atknow > 0)) {
atknow = 0;
dmgfx.val = "Miss";
dmgfx.gotoAndPlay(2);
}
if ((_root.shieldtypee == "solar") and (atknow > 0)) {
_root.qadjuste(8, Math.min(atknow, _root.shielde));
_root.pe4.qup.gotoAndStop(9);
_root.pe4.qup2.gotoAndStop(9);
}
if ((_root.shieldtypee == "wings") and (passive != "ranged")) {
atknow = 0;
dmgfx.val = "Miss";
dmgfx.gotoAndPlay(2);
}
if ((_root.shieldtypee == "bones") and (atknow > 0)) {
atknow = 0;
dmgfx.val = "Blocked";
dmgfx.gotoAndPlay(2);
_root.pe4.ctrl = _root.pe4.ctrl - 1;
_root.pe4.n = _root.pe4.ctrl + " X";
if (_root.pe4.ctrl <= 0) {
_root.deshielde();
}
}
atknow = atknow - _root.shielde;
if (atknow < 0) {
atknow = 0;
}
if (((_root.shieldtypee == "fog") and (_root.rand() <= 0.4)) and (atknow > 0)) {
atknow = 0;
dmgfx.val = "Miss";
dmgfx.gotoAndPlay(2);
}
if (((_root.shieldtypee == "dusk") and (_root.rand() <= 0.5)) and (atknow > 0)) {
atknow = 0;
dmgfx.val = "Miss";
dmgfx.gotoAndPlay(2);
}
if (((_root.shieldtypee == "dissipation") and (_root.sanctuarye == 0)) and (atknow > 0)) {
_root.q0 = 0;
_root.qe0 = 0;
i = 1;
while (i <= 12) {
_root.q0 = _root.q0 + _root.retq(i);
_root.qe0 = _root.qe0 + _root.retqe(i);
i++;
}
if (_root.qe0 >= atknow) {
_root.qadjuste(0, -atknow);
atknow = 0;
dmgfx.val = "Absorbed";
dmgfx.gotoAndPlay(2);
} else {
_root.deshielde();
}
}
if (((_root.shieldtypee == "edissipation") and (_root.sanctuarye == 0)) and (atknow > 0)) {
if (_root.retqe(1) >= Math.ceil(atknow / 3)) {
_root.qadjuste(1, -Math.ceil(atknow / 3));
atknow = 0;
dmgfx.val = "Absorbed";
dmgfx.gotoAndPlay(2);
} else {
_root.deshielde();
}
}
}
_root.addhpe(-atknow);
if (atknow > 0) {
if (_root.firstattack == 0) {
_root.guide.gotoAndPlay("firstattack");
_root.firstattack = 1;
}
atktext = "- " + atknow;
_root.hpeffecte.val = atktext;
_root.hpeffecte.gotoAndPlay(2);
soundfx = "hit" + (Math.floor(Math.sqrt(atknow + 1)) - 1);
_root.soundfx.gotoAndPlay(soundfx);
dmgfx.val = atknow;
dmgfx.gotoAndPlay(2);
if (skill == "vampire") {
atktext = "+ " + atknow;
_root.hpeffect.val = atktext;
_root.hpeffect.gotoAndPlay(2);
_root.addhp(atknow);
}
if (skill == "venom") {
_root.addpoe(1);
_root.efx.gotoAndPlay("poison");
}
if (skill == "scramble") {
_root.q0 = 0;
_root.qe0 = 0;
i = 1;
while (i <= 12) {
_root.q0 = _root.q0 + _root.retq(i);
_root.qe0 = _root.qe0 + _root.retqe(i);
i++;
}
if (_root.qe0 > 9) {
_root.qadjuste(0, -9);
nq = 9;
} else {
nq = _root.qe0 - 1;
_root.qadjuste(0, -(_root.qe0 - 1));
}
var addquantum2 = new Array();
i = 1;
while (i <= 12) {
addquantum2[i] = 0;
i++;
}
i = 1;
while (i <= nq) {
elementnow = 1 + Math.floor(_root.rand() * 12);
addquantum2[elementnow] = addquantum2[elementnow] + 1;
i++;
}
i = 1;
while (i <= 12) {
_root.qadjuste(i, addquantum2[i]);
i++;
}
}
}
}
if ((skill == "phaseshift") or (skill == "wings")) {
n = invulnerability;
}
if (_root.rethpe() < 0) {
_root.adjhpe(0);
}
if (_root.rethp() < 0) {
_root.adjhp(0);
}
if (_root.rethp() > _root.hpmax) {
_root.adjhp(_root.hpmax);
}
if (_root.rethpe() > _root.hpemax) {
_root.adjhpe(_root.hpemax);
}
stop();
Symbol 2572 MovieClip Frame 10
stop();
Symbol 2573 MovieClip Frame 1
stop();
Symbol 2574 MovieClip Frame 1
_root.fastlock = 0;
stop();
Symbol 2574 MovieClip Frame 3
notyet = 0;
i = 1;
while (i <= 23) {
if (eval (("_root.c" + i) + ".instantfx._currentframe") > 1) {
notyet = 1;
}
if (eval (("_root.ce" + i) + ".instantfx._currentframe") > 1) {
notyet = 1;
}
i++;
}
if (((notyet == 1) or (_root.pandacount > 0)) or (_root.glasslock > 0)) {
stop();
}
Symbol 2575 MovieClip Frame 1
stop();
Symbol 2582 MovieClip Frame 1
stop();
Symbol 2582 MovieClip Frame 2
aflatoxin._visible = false;
poisoncounter._visible = false;
poison._visible = false;
delay._visible = false;
immortal._visible = false;
burrow._visible = false;
frozen._visible = false;
adrenaline._visible = false;
gravity._visible = false;
momentum._visible = false;
if (_parent.ctrl == 0) {
gotoAndStop (1);
} else {
conta = 0;
if (_parent.poison > 0) {
poisoncounter._visible = true;
poison.gotoAndStop(1);
poison._visible = true;
poisontxt = _parent.poison;
conta = conta + 1;
}
if (_parent.poison < 0) {
poisoncounter._visible = true;
poison.gotoAndStop(3);
poison._visible = true;
poisontxt = "+ " + (-_parent.poison);
conta = conta + 1;
}
if ((_parent.mythosis == 1) and (_parent.card != 32)) {
poison.gotoAndStop(2);
conta = conta + 1;
}
if (_parent.delay > 0) {
delay._visible = true;
conta = conta + 1;
}
if (_parent.immortal > 0) {
immortal._visible = true;
conta = conta + 1;
immortal.gotoAndStop(1);
}
if (_parent.immortal == 2) {
immortal.gotoAndStop(2);
}
if (_parent.burrow > 0) {
burrow._visible = true;
conta = conta + 1;
}
if (_parent.frozen > 0) {
frozen._visible = true;
conta = conta + 1;
}
if (_parent.adrenaline > 0) {
adrenaline._visible = true;
conta = conta + 1;
}
if (_parent.momentum > 0) {
momentum._visible = true;
conta = conta + 1;
}
if ((_root.shieldcreature == _parent.pos) and (_parent.pcreature == 1)) {
gravity._visible = true;
conta = conta + 1;
}
if ((_root.shieldcreaturee == _parent.pos) and (_parent.pcreature == 0)) {
gravity._visible = true;
conta = conta + 1;
}
if (conta == 0) {
gotoAndStop (1);
}
}
Symbol 2582 MovieClip Frame 3
stop();
Symbol 2585 MovieClip Frame 1
img.gotoAndStop(_parent.card);
Symbol 2585 MovieClip Frame 14
img._y = img._y + (posy / 4);
posy = posy * 0.75;
Symbol 2585 MovieClip Frame 15
if (Math.abs(posy) < 1) {
stop();
} else {
gotoAndPlay ("loop");
}
Symbol 2609 MovieClip Frame 20
stop();
Symbol 2610 Button
on (rollOver) {
_root.bigone.gotoAndStop(card);
_root.lock.gotoAndPlay(2);
}
on (rollOut, dragOut) {
_root.bigone.gotoAndStop(1);
_root.lock.gotoAndStop(1);
}
on (release) {
if (((_root.lockskill == 0) and (_root.glasslock == 0)) and (_root.fastlock == 0)) {
_root.fastlock = 1;
_root.unlocker2.gotoAndPlay(2);
if (((_root.retq(skillelement) - skillcost) < 0) and (skflag == 1)) {
_root.tutortext = "Not enough quanta";
_root.tutor.gotoAndPlay(2);
}
if (((_root.retq(skillelement) - skillcost) >= 0) and (skflag == 1)) {
_root.qadjust(skillelement, -skillcost);
skflag = 0;
if (readiness == 1) {
skflag = 1;
readiness = -1;
}
_root.sel.card = 0;
if (card > 2000) {
elite = 2000;
} else {
elite = 0;
}
if (_root.level == "pvp") {
if (_root.ctrlstep == 1) {
_root.ctrlx[_root.ctrln] = 9999;
_root.ctrln = _root.ctrln + 1;
}
_root.ctrlx[_root.ctrln] = 3000 + pos;
_root.ctrln = _root.ctrln + 1;
_root.ctrlstep = 1;
}
if (skill == "moo") {
instantfx.gotoAndPlay("moo");
}
if (skill == "poison") {
instantfx.gotoAndPlay("poison");
_root.addpoe(1);
_root.efx.gotoAndPlay("poison");
}
if (skill == "burrow") {
instantfx.gotoAndPlay("burrow");
statu = "invulnerable";
burrow = 1;
if ((costelement == 2) or (costelement == 11)) {
atknow = Math.floor((atknow - _root.nightfall) / 2) + _root.nightfall;
} else {
atknow = Math.floor(atknow / 2);
}
skill = "unburrow";
skillcost = 0;
} else if (skill == "unburrow") {
instantfx.gotoAndPlay("burrow");
statu = "";
if ((costelement == 2) or (costelement == 11)) {
atknow = ((atknow - _root.nightfall) * 2) + _root.nightfall;
} else {
atknow = atknow * 2;
}
skill = "burrow";
burrow = 0;
skillcost = 1;
}
if (skill == "infect") {
_root.sel.targeting = "creature";
_root.sel.skill = skill;
_root.sel.gotoAndPlay(2);
instantfx.gotoAndPlay("poison");
card = 0;
ctrl = 0;
instantfx.gotoAndPlay("die");
gotoAndStop (1);
}
if (skill == "dead/alive") {
_root.deathtrigger();
instantfx.gotoAndPlay("fakedeath");
}
if (skill == "infection") {
_root.sel.targeting = "creature";
_root.sel.skill = skill;
_root.sel.gotoAndPlay(2);
instantfx.gotoAndPlay("poison");
}
if (skill == "web") {
_root.sel.targeting = "creature";
_root.sel.skill = skill;
_root.sel.gotoAndPlay(2);
instantfx.gotoAndPlay("web");
}
if (skill == "paradox") {
_root.sel.targeting = "creaturehighatk";
_root.sel.skill = skill;
_root.sel.gotoAndPlay(2);
instantfx.gotoAndPlay("kill");
}
if (skill == "gravity pull") {
if (_root.shieldcreature > 0) {
Set(("_root.c" + _root.shieldcreature) + ".icons.gravity._visible", false);
}
instantfx.gotoAndPlay("gravity pull");
_root.shieldcreature = pos;
}
if (skill == "photosynthesis") {
instantfx.gotoAndPlay("life");
_root.qadjust(5, 2);
if (skillcost > 0) {
skflag = 1;
}
linez._alpha = 100;
}
if (skill == "deja vu") {
found = 0;
instantfx.gotoAndPlay("dejavu");
i = 1;
while (i <= 23) {
if (eval (("_root.c" + i) + ".ctrl") == 0) {
skill = "";
skillcost = "";
Set(("_root.c" + i) + ".ctrl", 1);
Set(("_root.c" + i) + ".skflag", 0);
Set(("_root.c" + i) + ".card", card);
Set(("_root.c" + i) + ".statu", "copy");
Set(("_root.c" + i) + ".copyn", pos);
found = 1;
target = "_root.c" + i;
eval (target).gotoAndPlay(2);
quantum.gotoAndStop(1);
break;
}
i++;
}
}
if (skill == "hatch") {
instantfx.gotoAndPlay("hatch");
card = Math.floor(_root.rand() * _root.cindexn);
card = _root.cindexx[card] + elite;
gotoAndPlay (2);
if (skflag > 0) {
found = 0;
skflag = 0;
i = 1;
while (i <= 23) {
if (eval (("_root.c" + i) + ".ctrl") == 0) {
skill = "";
skillcost = "";
Set(("_root.c" + i) + ".ctrl", 1);
Set(("_root.c" + i) + ".skflag", 0);
Set(("_root.c" + i) + ".card", card);
found = 1;
target = "_root.c" + i;
eval (target).gotoAndPlay(2);
break;
}
i++;
}
}
}
if (skill == "dive") {
instantfx.gotoAndPlay("dive");
dive = 1;
atknow = atknow * 2;
}
if (skill == "growth") {
instantfx.gotoAndPlay("life");
atknow = atknow + 2;
defnow = defnow + 2;
atk = atk + 2;
def = def + 2;
dmgfx.val = "+2 / +2";
dmgfx.gotoAndPlay(2);
}
if (skill == "ablaze") {
instantfx.gotoAndPlay("fire");
atknow = atknow + 2;
atk = atk + 2;
dmgfx.val = "+2 / +0";
dmgfx.gotoAndPlay(2);
}
if (skill == "steam") {
instantfx.gotoAndPlay("fire");
atknow = atknow + 5;
dmgfx.val = "+5 / +0";
dmgfx.gotoAndPlay(2);
}
if (skill == "lycanthropy") {
instantfx.gotoAndPlay("darkness");
atknow = atknow + 5;
defnow = defnow + 5;
atk = atk + 5;
def = def + 5;
skill = "";
skillcost = "";
quantum.gotoAndStop(1);
}
if (skill == "stone form") {
instantfx.gotoAndPlay("stoneskin");
defnow = defnow + 20;
def = def + 20;
skill = "";
skillcost = "";
quantum.gotoAndStop(1);
}
if ((((((((((((((((skill == "heal") or (skill == "freeze")) or (skill == "congeal")) or (skill == "lobotomize")) or (skill == "immortality")) or (skill == "reverse time")) or (skill == "sniper")) or (skill == "mutation")) or (skill == "improve")) or (skill == "antimatter")) or (skill == "aflatoxin")) or (skill == "petrify")) or (skill == "adrenaline")) or (skill == "rage")) or (skill == "berserk")) or (skill == "liquid shadow")) {
_root.sel.targeting = "creature";
_root.sel.skill = skill;
_root.sel.gotoAndPlay(2);
}
if (skill == "guard") {
delay = delay + 1;
instantfx.gotoAndPlay("generic");
_root.sel.targeting = "creature";
_root.sel.guard = atknow;
_root.sel.skill = skill;
_root.sel.gotoAndPlay(2);
}
if ((skill == "tsunami") or (skill == "nymph")) {
instantfx.gotoAndPlay("water");
_root.sel.targeting = "pillars";
_root.sel.skill = skill;
_root.sel.gotoAndPlay(2);
}
if (skill == "devour") {
_root.sel.targeting = "creaturesmaller";
_root.sel.skill = skill;
_root.sel.smaller = defnow;
_root.sel.devourer = pos;
_root.sel.gotoAndPlay(2);
instantfx.gotoAndPlay("kill");
}
if ((skill == "destroy") or (skill == "steal")) {
_root.sel.targeting = "permanent";
_root.sel.skill = skill;
_root.sel.gotoAndPlay(2);
}
if (skill == "accretion") {
_root.sel.targeting = "permanent";
_root.sel.skill = "destroy";
defnow = defnow + 15;
def = def + 15;
_root.sel.gotoAndPlay(2);
}
if ((skill == "accretion") and (defnow > 45)) {
elite = Math.floor(card / 2000) * 2000;
card = 0;
ctrl = 0;
instantfx.gotoAndPlay("die");
gotoAndStop (1);
if (_root.cardshand < 8) {
i = 1;
while (i <= 8) {
if (eval (("_root.h" + i) + ".card") == 0) {
Set(("_root.h" + i) + ".card", 311 + elite);
eval ("_root.h" + i).gotoAndPlay(2);
_root.cardshand = _root.cardshand + 1;
break;
}
i++;
}
}
}
if (skill == "endow") {
_root.sel.targeting = "weapon";
_root.sel.skill = skill;
_root.sel.devourer = pos;
_root.sel.gotoAndPlay(2);
instantfx.gotoAndPlay("generic");
}
if (((skill == "queen") or (skill == "scarab")) or (skill == "mitosis")) {
found = 0;
if (skill == "queen") {
spawn = 908;
}
if (skill == "scarab") {
spawn = 1010;
}
if (skill == "mitosis") {
instantfx.gotoAndPlay("mitosis");
spawn = card - elite;
}
i = 1;
while (i <= 23) {
if (eval (("_root.c" + i) + ".ctrl") == 0) {
Set(("_root.c" + i) + ".ctrl", 1);
Set(("_root.c" + i) + ".skflag", 0);
Set(("_root.c" + i) + ".card", spawn + elite);
found = 1;
target = "_root.c" + i;
eval (target).gotoAndPlay(2);
break;
}
i++;
}
if (found == 0) {
_root.tutortext = "There are no creature slots available";
_root.tutor.gotoAndPlay(2);
}
}
if (skill == "evolve") {
card = 409 + elite;
instantfx.gotoAndPlay("hatch");
invulnerable = 0;
burrow = 0;
statu = "";
gotoAndPlay (2);
}
if (skill == "rebirth") {
card = 612 + elite;
instantfx.gotoAndPlay("hatch");
invulnerable = 0;
burrow = 0;
statu = "";
gotoAndPlay (2);
}
if (skill == "black hole") {
tempheal = 0;
if (_root.sanctuarye == 0) {
_root.efx.gotoAndPlay("blacknova");
i = 1;
while (i <= 12) {
if (_root.retqe(i) >= 3) {
_root.qadjuste(i, -3);
tempheal = tempheal + 3;
} else if (_root.retqe(i) > 0) {
tempheal = tempheal + _root.retqe(i);
_root.qadjuste(i, -_root.retqe(i));
}
i++;
}
_root.addhp(tempheal);
_root.fx.gotoAndPlay("holy light");
_root.hpeffect.val = "+ " + tempheal;
_root.hpeffect.gotoAndPlay(2);
} else {
_root.hpeffecte.val = "Sanctuary";
_root.hpeffecte.gotoAndPlay(2);
}
}
if (skill == "luciferin") {
_root.addhp(10);
_root.fx.gotoAndPlay("holy light");
_root.hpeffect.val = "+ 10";
_root.hpeffect.gotoAndPlay(2);
i = 1;
while (i <= 23) {
if (((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) and (eval (("_root.c" + i) + ".skill") == "")) {
target = "_root.c" + i;
eval (target).instantfx.gotoAndPlay("lightg");
eval (target).skill = "light";
}
i++;
}
}
if (skill == "precognition") {
if ((_root.cardshand < 8) and (_root.glasslock == 0)) {
_root.precognition = 1;
_root.gotoAndPlay("draw2");
i = 1;
while (i <= 8) {
if (eval (("_root.he" + i) + ".card") > 0) {
eval (("_root.he" + i) + ".img")._visible = true;
eval (("_root.he" + i) + ".txt")._visible = true;
eval (("_root.he" + i) + ".cardback")._visible = false;
}
i++;
}
} else {
_root.tutortext = "You are already drawing a card or you already have 8 cards";
_root.tutor.gotoAndPlay(2);
}
}
if (skill == "unstable gas") {
i = 1;
while (i <= 19) {
if (eval (("_root.p" + i) + ".ctrl") == 0) {
Set(("_root.p" + i) + ".ctrl", 1);
Set(("_root.p" + i) + ".card", 910);
target = "_root.p" + i;
eval (target).gotoAndPlay(2);
break;
}
i++;
}
if (found == 0) {
_root.tutortext = "There are no permanent slots available";
_root.tutor.gotoAndPlay(2);
}
}
if (skill == "plague") {
_root.forcedecloake();
i = 1;
while (i <= 23) {
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) {
target = "_root.ce" + i;
eval (target).instantfx.gotoAndPlay("plague");
eval (target).poison = eval (target).poison + 1;
eval (target).statu = "poison";
}
i++;
}
instantfx.gotoAndPlay("poison");
card = 0;
ctrl = 0;
instantfx.gotoAndPlay("die");
gotoAndStop (1);
}
if (skill == "divineshield") {
instantfx.gotoAndPlay("immortal");
statu = "invulnerable";
icons.immortal._alpha = 100;
immortal = 1;
frozen = 0;
divineshield = 2;
}
}
if (_root.rethpe() < 0) {
_root.adjhpe(0);
}
if (_root.rethp() < 0) {
_root.adjhp(0);
}
if (_root.rethp() > _root.hpmax) {
_root.adjhp(_root.hpmax);
}
if (_root.rethpe() > _root.hpemax) {
_root.adjhpe(_root.hpemax);
}
_root.bigone.gotoAndStop(1);
_root.lock.gotoAndStop(1);
}
}
Symbol 2615 Button
on (rollOver) {
_root.bigone.gotoAndStop(card);
_root.lock.gotoAndPlay(2);
}
on (rollOut, dragOut) {
_root.bigone.gotoAndStop(1);
_root.lock.gotoAndStop(1);
}
Symbol 2617 Button
on (rollOver) {
_root.bigone.gotoAndStop(card);
_root.lock.gotoAndPlay(2);
if (_root.sel.skill == "catapult") {
targete = "_root.p" + _root.sel.devourer;
eval (targete).n = Math.ceil(((100 * defnow) / (100 + defnow)) * (1 + (Math.ceil(frozen / 10) * 0.5)));
}
}
on (rollOut, dragOut) {
_root.bigone.gotoAndStop(1);
_root.lock.gotoAndStop(1);
if (_root.sel.skill == "catapult") {
targete = "_root.p" + _root.sel.devourer;
eval (targete).n = "";
}
}
on (release) {
if ((_root.locktarget == 0) and (_root.fastlock == 0)) {
_root.fastlock = 1;
_root.unlocker.gotoAndPlay(2);
if (_root.level == "pvp") {
_root.ctrlx[_root.ctrln] = (9000 + pos) + 45;
_root.ctrln = _root.ctrln + 1;
_root.ctrlstep = 2;
}
_root.locktarget = 1;
freeze = 0;
savedef = defnow;
var skills = new Array("infect", "lightning", "icebolt", "fire bolt", "freeze", "parallel universe", "lobotomize", "drain life", "sniper", "reverse time", "gravity pull", "shockwave");
if (_root.sel.skill == "chaos") {
ran = Math.floor(_root.rand() * 12);
_root.sel.skill = skills[ran];
}
if (_root.sel.skill == "chaos power") {
ran = Math.floor(_root.rand() * 5) + 1;
ran2 = Math.floor(_root.rand() * 5) + 1;
atknow = atknow + ran;
defnow = defnow + ran2;
atk = atk + ran;
def = def + ran2;
instantfx.gotoAndPlay("holy light");
_root.sel.gotoAndPlay("targeted");
dmgfx.val = ((("+" + ran) + " / ") + "+") + ran2;
dmgfx.gotoAndPlay(2);
}
if (_root.sel.skill == "aflatoxin") {
mythosis = 1;
poison = poison + 1;
_root.sel.skill = "infect";
}
if (_root.sel.skill == "liquid shadow") {
skill = "vampire";
skillcost = "";
skillelement = 0;
quantum.gotoAndStop(1);
_root.sel.skill = "infect";
}
if (_root.sel.skill == "butterfly") {
skill = "destroy";
skillcost = 3;
skillelement = 1;
instantfx.gotoAndPlay("butterfly");
quantum.gotoAndStop(skillelement + 1);
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "mitosis") {
skill = "mitosis";
skillcost = cost;
skillelement = costelement;
instantfx.gotoAndPlay("mitosis");
quantum.gotoAndStop(skillelement + 1);
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "acceleration") {
skill = "acceleration";
skillcost = "";
skillelement = 0;
instantfx.gotoAndPlay("acceleration");
quantum.gotoAndStop(skillelement + 1);
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "overdrive") {
skill = "overdrive";
skillcost = "";
skillelement = 0;
instantfx.gotoAndPlay("acceleration");
quantum.gotoAndStop(skillelement + 1);
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "readiness") {
skillcost = 0;
instantfx.gotoAndPlay("hatch");
if ((((costelement == 10) and (delay == 0)) and (frozen == 0)) and (readiness != -1)) {
skflag = 1;
readiness = 1;
_root.sel.gotoAndPlay("targeted");
} else {
_root.sel.gotoAndPlay("targeted");
}
}
if ((_root.sel.skill == "infect") or (_root.sel.skill == "infection")) {
instantfx.gotoAndPlay("poisonfx");
poison = poison + 1;
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "purify") {
instantfx.gotoAndPlay("cure");
mythosis = 0;
if (poison > 0) {
poison = 0;
}
poison = poison - 2;
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "web") {
if (passive2 == "airborne") {
instantfx.gotoAndPlay("web");
passive2 = "";
}
_root.sel.gotoAndPlay("targeted");
}
if ((_root.sel.skill == "immolate") or (_root.sel.skill == "cremation")) {
card = 0;
ctrl = 0;
deny = 1;
gotoAndStop (1);
_root.sel.gotoAndPlay("targeted");
instantfx.gotoAndPlay("immolate");
if (passive != "singularity") {
_root.fx.gotoAndPlay("nova");
i = 1;
while (i <= 5) {
_root.qadjust(i, 1);
i++;
}
if (_root.sel.skill == "immolate") {
_root.qadjust(6, 6);
} else {
_root.qadjust(6, 8);
}
i = 7;
while (i <= 12) {
_root.qadjust(i, 1);
i++;
}
}
}
if (_root.sel.skill == "devour") {
card = 0;
ctrl = 0;
gotoAndStop (1);
_root.sel.gotoAndPlay("targeted");
target = "_root.c" + _root.sel.devourer;
eval (target).instantfx.gotoAndPlay("life");
eval (target).def = eval (target).def + 1;
eval (target).atk = eval (target).atk + 1;
eval (target).defnow = eval (target).defnow + 1;
eval (target).atknow = eval (target).atknow + 1;
eval (target).dmgfx.val = "+1 / +1";
eval (target).dmgfx.gotoAndPlay(2);
if (passive == "poisonous") {
eval (target).instantfx.gotoAndPlay("poisonfx");
eval (target).poison = eval (target).poison + 1;
}
}
if (_root.sel.skill == "endow") {
_root.sel.gotoAndPlay("targeted");
target = "_root.c" + _root.sel.devourer;
instantfx.gotoAndPlay("generic");
eval (target).instantfx.gotoAndPlay("generic");
eval (target).def = eval (target).def + 2;
eval (target).atk = eval (target).atk + atk;
eval (target).defnow = eval (target).defnow + 2;
eval (target).atknow = eval (target).atknow + atk;
eval (target).skill = skill;
if (momentum == 1) {
eval (target).instantfx.gotoAndPlay("momentum");
eval (target).momentum = 1;
}
eval (target).skillcost = skillcost;
eval (target).skillelement = skillelement;
eval (target).passive = passive;
eval (target).dmgfx.val = ("+" + atk) + " / +2";
eval (target).dmgfx.gotoAndPlay(2);
eval (target).quantum.gotoAndStop(1);
if (skillcost > 0) {
eval (target).quantum.gotoAndStop(skillelement + 1);
}
eval (target).icons.gotoAndPlay(2);
}
if (_root.sel.skill == "lightning") {
defnow = defnow - 5;
dmgfx.val = "- 5";
dmgfx.gotoAndPlay(2);
instantfx.gotoAndPlay("lightning");
_root.sel.gotoAndPlay("targeted");
}
if ((_root.sel.skill == "shockwave") and (frozen == 0)) {
defnow = defnow - 4;
dmgfx.val = "- 4";
dmgfx.gotoAndPlay(2);
instantfx.gotoAndPlay("shockwave");
_root.sel.gotoAndPlay("targeted");
}
if ((_root.sel.skill == "shockwave") and (frozen > 0)) {
card = 0;
ctrl = 0;
gotoAndStop (1);
instantfx.gotoAndPlay("shockwave");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "sniper") {
defnow = defnow - 3;
dmgfx.val = "- 3";
dmgfx.gotoAndPlay(2);
instantfx.gotoAndPlay("arrow");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "icebolt") {
dmg = (Math.floor((_root.retq(7) + _root.lastcost) / 10) + 1) * 2;
freeze = Math.round(_root.rand() + (dmg * 0.05));
defnow = defnow - dmg;
instantfx.gotoAndPlay("icebolt");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "fire bolt") {
dmg = (Math.floor((_root.retq(6) + _root.lastcost) / 10) + 1) * 3;
defnow = defnow - dmg;
instantfx.gotoAndPlay("firebolt");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "drain life") {
dmg = (Math.floor((_root.retq(11) + _root.lastcost) / 10) + 1) * 2;
if (defnow < dmg) {
dmg = defnow;
}
defnow = defnow - dmg;
instantfx.gotoAndPlay("drainlife");
_root.sel.gotoAndPlay("targeted");
_root.addhp(dmg);
_root.hpeffect.val = "+ " + dmg;
_root.hpeffect.gotoAndPlay(2);
if (_root.rethp() > _root.hpmax) {
_root.adjhp(_root.hpmax);
}
}
if (((_root.sel.skill == "freeze") or (freeze >= 1)) or (_root.sel.skill == "congeal")) {
if (_root.sel.skill != "icebolt") {
instantfx.gotoAndPlay("freeze");
}
skflag = 0;
frozen = 3;
if (_root.sel.skill == "congeal") {
frozen = 4;
}
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "lobotomize") {
instantfx.gotoAndPlay("lobotomize");
statu = "";
skflag = 0;
skill = "";
momentum = 0;
skillcost = "";
skillelement = 0;
quantum.gotoAndStop(1);
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "parallel universe") {
found = 0;
i = 1;
while (i <= 23) {
if (eval (("_root.c" + i) + ".ctrl") == 0) {
Set(("_root.c" + i) + ".skflag", 0);
Set(("_root.c" + i) + ".card", card);
Set(("_root.c" + i) + ".statu", "copy");
Set(("_root.c" + i) + ".copyn", pos);
found = 1;
target = "_root.c" + i;
eval (target).gotoAndPlay(2);
instantfx.gotoAndPlay("parallel");
eval (target).instantfx.gotoAndPlay("parallel");
_root.sel.gotoAndPlay("targeted");
break;
}
i++;
}
}
if (_root.sel.skill == "holy light") {
found = 1;
instantfx.gotoAndPlay("holy light");
_root.sel.gotoAndPlay("targeted");
if ((costelement == 2) or (costelement == 11)) {
defnow = defnow - 10;
dmgfx.val = "- 10";
dmgfx.gotoAndPlay(2);
if (defnow <= 0) {
card = 0;
ctrl = 0;
gotoAndStop (1);
}
} else if (defnow < def) {
defnow = defnow + 10;
dmgfx.val = "+ 10";
dmgfx.gotoAndPlay(2);
if (defnow > def) {
defnow = def;
}
}
}
if (_root.sel.skill == "momentum") {
if (skill == "") {
skill = "momentum";
}
momentum = 1;
atknow = atknow + 1;
defnow = defnow + 1;
atk = atk + 1;
def = def + 1;
dmgfx.val = "+1 / +1";
dmgfx.gotoAndPlay(2);
instantfx.gotoAndPlay("momentum");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "adrenaline") {
adrenaline = 1;
dmgfx.val = "Adrenaline";
dmgfx.gotoAndPlay(2);
instantfx.gotoAndPlay("adrenaline");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "blessing") {
atknow = atknow + 3;
defnow = defnow + 3;
atk = atk + 3;
def = def + 3;
instantfx.gotoAndPlay("holy light");
_root.sel.gotoAndPlay("targeted");
dmgfx.val = "+3 / +3";
dmgfx.gotoAndPlay(2);
}
if (_root.sel.skill == "rage") {
atknow = atknow + 5;
defnow = defnow - 5;
atk = atk + 5;
instantfx.gotoAndPlay("fire");
_root.sel.gotoAndPlay("targeted");
dmgfx.val = "+5 / -5";
dmgfx.gotoAndPlay(2);
}
if (_root.sel.skill == "berserk") {
atknow = atknow + 6;
defnow = defnow - 6;
atk = atk + 6;
instantfx.gotoAndPlay("fire");
_root.sel.gotoAndPlay("targeted");
dmgfx.val = "+6 / -6";
dmgfx.gotoAndPlay(2);
}
if (_root.sel.skill == "antimatter") {
atknow = -atknow;
atk = -atk;
instantfx.gotoAndPlay("entropy");
_root.sel.gotoAndPlay("targeted");
dmgfx.val = "Antimatter";
dmgfx.gotoAndPlay(2);
}
if (_root.sel.skill == "heal") {
if (defnow < def) {
defnow = defnow + 5;
dmgfx.val = "+ 5";
dmgfx.gotoAndPlay(2);
if (defnow > def) {
defnow = def;
}
}
instantfx.gotoAndPlay("holy light");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "armor") {
defnow = defnow + 3;
def = def + 3;
instantfx.gotoAndPlay("earth");
_root.sel.gotoAndPlay("targeted");
dmgfx.val = "+0 / +3";
dmgfx.gotoAndPlay(2);
}
if (_root.sel.skill == "heavy armor") {
defnow = defnow + 6;
def = def + 6;
instantfx.gotoAndPlay("earth");
_root.sel.gotoAndPlay("targeted");
dmgfx.val = "+0 / +6";
dmgfx.gotoAndPlay(2);
}
if (_root.sel.skill == "petrify") {
skflag = 0;
delay = 6;
instantfx.gotoAndPlay("stoneskin");
defnow = defnow + 20;
def = def + 20;
_root.sel.gotoAndPlay("targeted");
dmgfx.val = "+0 / +20";
dmgfx.gotoAndPlay(2);
}
if (_root.sel.skill == "guard") {
skflag = 0;
delay = delay + 1;
instantfx.gotoAndPlay("stoneskin");
if (passive2 != "airborne") {
defnow = defnow - _root.sel.guard;
if (_root.sel.guard < 0) {
def = def - _root.sel.guard;
}
}
_root.sel.gotoAndPlay("targeted");
dmgfx.val = "Guard";
dmgfx.gotoAndPlay(2);
}
if (_root.sel.skill == "reverse time") {
if (passive == "mummy") {
card = 1012 + (Math.floor(card / 2000) * 2000);
gotoAndPlay (2);
} else if (passive == "undead") {
rancard = Math.floor(_root.rand() * _root.cindexn);
card = _root.cindexx[rancard] + (Math.floor(card / 2000) * 2000);
gotoAndPlay (2);
} else {
_root.deckx[_root.deckn] = card;
_root.deckn = _root.deckn + 1;
iexist = 0;
card = 0;
ctrl = 0;
gotoAndStop (1);
}
instantfx.gotoAndPlay("hatch");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "immortality") {
instantfx.gotoAndPlay("immortal");
statu = "invulnerable";
immortal = 1;
frozen = 0;
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "wisdom") {
dmgfx.val = "+4 / +0";
dmgfx.gotoAndPlay(2);
atknow = atknow + 4;
atk = atk + 4;
if (immortal == 1) {
immortal = 2;
instantfx.gotoAndPlay("wisdom");
}
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "gravity pull") {
if (_root.shieldcreature > 0) {
Set(("_root.c" + _root.shieldcreature) + ".icons.gravity._visible", false);
}
instantfx.gotoAndPlay("gravity pull");
_root.shieldcreature = pos;
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "fractal") {
_root.sel.gotoAndPlay("targeted");
_root.sel.card = 0;
_root.adjq(0, 12);
i = 1;
while (i <= 8) {
if (eval (("_root.h" + i) + ".card") == 0) {
Set(("_root.h" + i) + ".card", card);
eval ("_root.h" + i).gotoAndPlay(2);
_root.cardshand = _root.cardshand + 1;
}
i++;
}
}
if (_root.sel.skill == "nightmare") {
_root.sel.gotoAndPlay("targeted");
if (_root.sanctuarye == 0) {
nightmare = 0;
i = 1;
while (i <= 8) {
if (eval (("_root.he" + i) + ".card") == 0) {
Set(("_root.he" + i) + ".card", card);
if (passive != "obsession") {
Set(("_root.he" + i) + ".suspicious", 1);
}
nightmare++;
eval ("_root.he" + i).gotoAndPlay(2);
_root.cardshande = _root.cardshande + 1;
}
i++;
}
if (nightmare > 0) {
dmg = nightmare * 2;
_root.addhpe(-dmg);
_root.efx.gotoAndPlay("drainlife");
_root.efx.nightmare = nightmare;
_root.addhp(dmg);
_root.hpeffect.val = "+ " + dmg;
_root.hpeffect.gotoAndPlay(2);
_root.hpcorrect();
}
} else {
dmgfx.val = "Sanctuary";
dmgfx.gotoAndPlay(2);
}
}
_root.bigone.gotoAndStop(1);
_root.lock.gotoAndStop(1);
if ((defnow <= 0) and (savedef != defnow)) {
card = 0;
ctrl = 0;
freeze = 0;
gotoAndStop (1);
}
if ((_root.sel.skill == "mutation") or (_root.sel.skill == "improve")) {
ran = _root.rand();
if (_root.sel.skill == "improve") {
ran = 0.9;
}
instantfx.gotoAndPlay("mutation");
if (ran < 0.1) {
_root.sel.skill = "paradox";
} else if ((ran >= 0.1) and (ran < 0.6)) {
_root.sel.gotoAndPlay("targeted");
card = 102;
gotoAndPlay (2);
} else if (ran >= 0.6) {
_root.sel.gotoAndPlay("targeted");
card = Math.floor(_root.rand() * _root.cindexn);
card = _root.cindexx[card];
statu = "mutation";
gotoAndPlay (2);
}
}
if (_root.sel.skill == "paradox") {
card = 0;
ctrl = 0;
gotoAndStop (1);
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "catapult") {
card = 0;
ctrl = 0;
gotoAndStop (1);
targete = "_root.p" + _root.sel.devourer;
eval (targete).n = "";
_root.sel.gotoAndPlay("targeted");
dmg = Math.ceil(((100 * defnow) / (100 + defnow)) * (1 + (Math.ceil(frozen / 10) * 0.5)));
soundfx = "hit" + Math.min(Math.floor(Math.sqrt(dmg + 1)) - 1, 8);
_root.soundfx.gotoAndPlay(soundfx);
_root.addhpe(-dmg);
_root.hpeffecte.val = dmg;
_root.hpeffecte.gotoAndPlay(2);
if (poison > 0) {
_root.addpoe(poison);
_root.efx.gotoAndPlay("poison");
}
}
}
def = Math.min(def, 499);
defnow = Math.min(defnow, 499);
atk = Math.min(atk, 499);
atknow = Math.min(atknow, 499);
}
Symbol 2618 MovieClip Frame 1
var atk;
var def;
var atknow;
var defnow;
instantfx.resurrect = 0;
atk = 0;
def = 0;
n = 1;
nswarm = 1;
atknow = 0;
defnow = 0;
freeze = 0;
frozen = 0;
delay = 0;
poison = 0;
poisontxt = 0;
dive = 0;
momentum = 0;
adrenaline = 0;
immortal = 0;
burrow = 0;
pcreature = 1;
adrush = 0;
statu = "";
skflag = 0;
panded = 1;
readiness = 0;
divineshield = 0;
salvagedcard = 0;
if ((skill == "phoenix") and (iexist == 1)) {
ctrl = 1;
instantfx.resurrect = 2;
}
if (((mythosis == 1) and (card != 32)) and (prevcard != 32)) {
instantfx.resurrect = 1;
}
mythosis = 0;
if (_root.shieldcreature == pos) {
_root.shieldcreature = 0;
}
if ((iexist == 1) and (instantfx._currentframe == 1)) {
instantfx.gotoAndPlay("die");
}
stop();
Symbol 2618 MovieClip Frame 2
iexist = 1;
this._visible = true;
gotoAndPlay (3);
Symbol 2618 MovieClip Frame 3
passive = "";
passive2 = "";
txt.gotoAndStop(card);
quantum.gotoAndStop(1);
play();
if (_root.firstcreature == 0) {
_root.guide.gotoAndPlay("firstcreature");
_root.firstcreature = 1;
}
Symbol 2618 MovieClip Frame 4
atknow = atk;
defnow = def;
prevcard = card;
if (card > 2000) {
elite = 1;
} else {
elite = 0;
}
if (((((costelement == 2) or (costelement == 11)) and (_root.nightfall > 0)) and (statu != "copy")) and (statu != "copye")) {
atk = atk + _root.nightfall;
def = def + 1;
atknow = atknow + _root.nightfall;
defnow = defnow + 1;
}
if (statu == "copy") {
ctrl = eval (("_root.c" + copyn) + ".ctrl");
defnow = eval (("_root.c" + copyn) + ".defnow");
atknow = eval (("_root.c" + copyn) + ".atknow");
def = eval (("_root.c" + copyn) + ".def");
atk = eval (("_root.c" + copyn) + ".atk");
n = eval (("_root.c" + copyn) + ".n");
poison = eval (("_root.c" + copyn) + ".poison");
frozen = eval (("_root.c" + copyn) + ".frozen");
delay = eval (("_root.c" + copyn) + ".delay");
momentum = eval (("_root.c" + copyn) + ".momentum");
adrenaline = eval (("_root.c" + copyn) + ".adrenaline");
mythosis = eval (("_root.c" + copyn) + ".mythosis");
immortal = eval (("_root.c" + copyn) + ".immortal");
statu = eval (("_root.c" + copyn) + ".statu");
skill = eval (("_root.c" + copyn) + ".skill");
maintain = eval (("_root.c" + copyn) + ".maintain");
skillcost = eval (("_root.c" + copyn) + ".skillcost");
skillelement = eval (("_root.c" + copyn) + ".skillelement");
}
if (statu == "copye") {
ctrl = eval (("_root.ce" + copyn) + ".ctrl");
defnow = eval (("_root.ce" + copyn) + ".defnow");
atknow = eval (("_root.ce" + copyn) + ".atknow");
def = eval (("_root.ce" + copyn) + ".def");
atk = eval (("_root.ce" + copyn) + ".atk");
nold = eval (("_root.ce" + copyn) + ".nold");
poison = eval (("_root.ce" + copyn) + ".poison");
frozen = eval (("_root.ce" + copyn) + ".frozen");
delay = eval (("_root.ce" + copyn) + ".delay");
momentum = eval (("_root.ce" + copyn) + ".momentum");
adrenaline = eval (("_root.ce" + copyn) + ".adrenaline");
immortal = eval (("_root.ce" + copyn) + ".immortal");
statu = eval (("_root.ce" + copyn) + ".statu");
skill = eval (("_root.ce" + copyn) + ".skill");
skillcost = eval (("_root.ce" + copyn) + ".skillcost");
maintain = eval (("_root.ce" + copyn) + ".maintain");
skillelement = eval (("_root.ce" + copyn) + ".skillelement");
}
if (statu == "mutation") {
var cskills = new Array("guard", "endow", "mitosis", "hatch", "freeze", "burrow", "destroy", "steal", "dive", "heal", "momentum", "paradox", "lycanthropy", "scavenger", "infection", "gravity pull", "devour", "mutation", "growth", "ablaze", "poison", "deja vu", "immaterial");
ran = Math.floor(_root.rand() * 23);
skill = cskills[ran];
def = def + Math.floor(_root.rand() * 5);
defnow = def;
atk = atk + Math.floor(_root.rand() * 5);
atknow = atk;
skillcost = Math.floor(_root.rand() * 2) + 1;
skillelement = costelement;
if (((skill == "momentum") or (skill == "scavenger")) or (skill == "immaterial")) {
skillcost = "";
skillelement = 0;
}
}
if (skill == "golem") {
atk = ((((((((((((_root.golem[1] * 2) + (_root.golem[2] * 2)) + (_root.golem[3] * 0)) + (_root.golem[4] * 1)) + (_root.golem[5] * 2)) + (_root.golem[6] * 3)) + (_root.golem[7] * 2)) + (_root.golem[8] * 2)) + (_root.golem[9] * 2)) + (_root.golem[10] * 2)) + (_root.golem[11] * 2)) + (_root.golem[12] * 2)) + _root.golem[13];
def = ((((((((((((_root.golem[1] * 2) + (_root.golem[2] * 2)) + (_root.golem[3] * 6)) + (_root.golem[4] * 4)) + (_root.golem[5] * 2)) + (_root.golem[6] * 0)) + (_root.golem[7] * 2)) + (_root.golem[8] * 2)) + (_root.golem[9] * 2)) + (_root.golem[10] * 2)) + (_root.golem[11] * 2)) + (_root.golem[12] * 2)) + _root.golem[13];
skillcost = "";
if (_root.golem[4] >= 0) {
skill = "burrow";
skillcost = 1;
}
if (_root.golem[1] >= 1) {
skill = "dead/alive";
skillcost = 1;
}
if (_root.golem[2] >= 1) {
skill = "infection";
skillcost = 1;
}
if (_root.golem[5] >= 1) {
skill = "growth";
skillcost = 2;
}
if (_root.golem[8] >= 1) {
skill = "heal";
skillcost = 1;
}
if (_root.golem[9] >= 1) {
passive2 = "airborne";
}
if (_root.golem[11] >= 1) {
passive = "devourer";
}
if (_root.golem[4] >= 2) {
skill = "stone form";
skillcost = 1;
}
if (_root.golem[1] >= 2) {
skill = "mutation";
skillcost = 2;
}
if (_root.golem[2] >= 2) {
skill = "scavenger";
skillcost = "";
}
if (_root.golem[3] >= 2) {
momentum = 1;
}
if (_root.golem[5] >= 2) {
adrenaline = 1;
}
if (_root.golem[6] >= 2) {
skill = "ablaze";
skillcost = 1;
}
if (_root.golem[7] >= 2) {
skill = "steam";
skillcost = 2;
}
if (_root.golem[9] >= 2) {
skill = "queen";
skillcost = 2;
}
if (_root.golem[10] >= 2) {
skill = "scarab";
skillcost = 2;
}
if (_root.golem[11] >= 2) {
passive = "voodoo";
}
if (_root.golem[12] >= 2) {
immortal = 1;
}
if (_root.golem[1] >= 3) {
skill = "paradox";
skillcost = 2;
}
if (_root.golem[6] >= 3) {
skill = "fiery";
skillcost = "";
}
if (_root.golem[8] >= 3) {
skill = "endow";
skillcost = 2;
}
if (_root.golem[9] >= 3) {
skill = "sniper";
skillcost = 2;
}
if (_root.golem[10] >= 3) {
skill = "deja vu";
skillcost = 4;
}
if (_root.golem[11] >= 3) {
skill = "vampire";
skillcost = "";
}
if (_root.golem[12] >= 3) {
skill = "lobotomize";
skillcost = 2;
}
if (_root.golem[4] >= 4) {
skill = "guard";
skillcost = 1;
}
if (_root.golem[1] >= 4) {
skill = "improve";
skillcost = 2;
}
if (_root.golem[2] >= 4) {
skill = "venom";
skillcost = "";
}
if (_root.golem[7] >= 4) {
skill = "freeze";
skillcost = 3;
}
if (_root.golem[9] >= 4) {
skill = "dive";
skillcost = 2;
}
if (_root.golem[10] >= 4) {
skill = "neurotoxin";
skillcost = "";
}
if (_root.golem[1] >= 5) {
skill = "scramble";
skillcost = "";
}
if (_root.golem[2] >= 5) {
skill = "aflatoxin";
skillcost = 2;
}
if (_root.golem[3] >= 5) {
skill = "devour";
skillcost = 3;
}
if (_root.golem[5] >= 5) {
skill = "adrenaline";
skillcost = 2;
}
if (_root.golem[6] >= 5) {
skill = "destroy";
skillcost = 3;
}
if (_root.golem[11] >= 5) {
skill = "liquid shadow";
skillcost = 2;
}
if (_root.golem[4] >= 6) {
skill = "petrify";
skillcost = 2;
}
if (_root.golem[1] >= 6) {
skill = "antimatter";
skillcost = 4;
}
if (_root.golem[2] >= 6) {
skill = "deadly venom";
skillcost = "";
}
if (_root.golem[3] >= 6) {
skill = "black hole";
skillcost = 4;
}
if (_root.golem[5] >= 6) {
skill = "mitosis";
skillcost = 4;
}
if (_root.golem[6] >= 6) {
skill = "rage";
skillcost = 2;
}
if (_root.golem[7] >= 6) {
skill = "nymph";
skillcost = 4;
}
if (_root.golem[8] >= 6) {
skill = "luciferin";
skillcost = 4;
}
if (_root.golem[9] >= 6) {
skill = "unstable gas";
skillcost = 2;
}
if (_root.golem[10] >= 6) {
skill = "precognition";
skillcost = 2;
}
if (_root.golem[11] >= 6) {
skill = "steal";
skillcost = 3;
}
if (_root.golem[12] >= 6) {
skill = "immortal";
skillcost = 2;
}
skillelement = 4;
atknow = atk;
defnow = def;
instantfx.gotoAndPlay("integrity");
}
if (statu != "") {
instantfx.gotoAndPlay(statu);
}
if (frozen > 0) {
instantfx.gotoAndPlay("freeze");
}
if (delay > 0) {
instantfx.gotoAndPlay("delay");
}
if (poison > 0) {
instantfx.gotoAndPlay("poison");
}
if (skill == "momentum") {
instantfx.gotoAndPlay("momentum");
momentum = 1;
}
if ((skill == "immaterial") or (immortal == 1)) {
statu = "invulnerable";
immortal = 1;
if ((card != 415) and (card != 2415)) {
instantfx.gotoAndPlay("immortal");
}
}
if (immortal == 2) {
statu = "invulnerable";
if ((card != 415) and (card != 2415)) {
instantfx.gotoAndPlay("wisdom");
}
}
if (passive == "burrow") {
statu = "invulnerable";
instantfx.gotoAndPlay("burrow");
burrow = 1;
}
if (ctype == "weapon") {
passive2 = "airborne";
}
if (passive == "chimera") {
momentum = 1;
if (_root.shieldcreature > 0) {
Set(("_root.c" + _root.shieldcreature) + ".icons.gravity._visible", false);
}
_root.shieldcreature = pos;
if (_root.newchimera == 0) {
_root.chimeradef = 0;
_root.chimeraatk = 0;
i = 1;
while (i <= 23) {
if ((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".pos") != pos)) {
target = "_root.c" + i;
eval (target).instantfx.gotoAndPlay("chimera");
_root.chimeradef = _root.chimeradef + eval (target).defnow;
_root.chimeraatk = _root.chimeraatk + eval (target).atknow;
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).iexist = 0;
eval (target).gotoAndStop(1);
}
i++;
}
}
def = _root.chimeradef;
defnow = _root.chimeradef;
atk = _root.chimeraatk;
atknow = _root.chimeraatk;
_root.newchimera = 0;
}
if (skillcost > 0) {
quantum.gotoAndStop(skillelement + 1);
}
if (cost == undefined) {
atk = 0;
def = 0;
skill = "";
skillcost = "";
skillelement = 0;
cost = 0;
costelement = 0;
costany = 0;
posy = 0;
rarity = 0;
_root.gamever = "err";
}
defvoodoo = def;
poisonvoodoo = poison;
frozenvoodoo = frozen;
delayvoodoo = delay;
icons.gotoAndPlay(2);
Symbol 2618 MovieClip Frame 5
stop();
Symbol 2618 MovieClip Frame 6
if (skill == "acceleration") {
atknow = atknow + 2;
atk = atk + 2;
defnow = defnow - 1;
}
if (skill == "overdrive") {
atknow = atknow + 3;
atk = atk + 3;
defnow = defnow - 1;
}
if (divineshield > 0) {
divineshield = divineshield - 1;
icons.immortal._alpha = 60;
if (divineshield <= 0) {
immortal = 0;
statu = "";
icons.immortal._alpha = 100;
icons.immortal._visible = false;
}
}
def = Math.min(def, 499);
defnow = Math.min(defnow, 499);
atk = Math.min(atk, 499);
atknow = Math.min(atknow, 499);
defnow = Math.min(defnow - poison, def);
saveatk = atknow;
cannotdie = 0;
freedom = 0;
if (passive == "swarm") {
nold = nswarm;
nswarm = 0;
i = 1;
while (i <= 23) {
if ((eval (("_root.c" + i) + ".ctrl") > 0) and (((eval (("_root.c" + i) + ".card") == card) or (eval (("_root.c" + i) + ".card") == (card + 2000))) or (eval (("_root.c" + i) + ".card") == (card - 2000)))) {
nswarm = nswarm + 1;
}
i++;
}
defnow = (defnow + nswarm) - nold;
def = (def + nswarm) - nold;
}
if ((passive == "singularity") and (adrush == 0)) {
rans = Math.floor(_root.rand() * 6);
if (((atknow > 0) and (_root.sacrifice == 0)) or (((skill == "vampire") and (_root.sacrifice > 0)) and (atknow < 0))) {
atknow = -atknow;
atk = atknow;
saveatk = atknow;
rans = -1;
dmgfx.vals = "Antimatter";
}
if (rans == 0) {
skill = "immaterial";
statu = "invulnerable";
immortal = 1;
instantfx.gotoAndPlay("immortal");
dmgfx.vals = "Immaterial";
}
if (rans == 1) {
adrenaline = 1;
instantfx.gotoAndPlay("adrenaline");
dmgfx.vals = "Adrenaline";
}
if (rans == 2) {
i = 1;
while (i <= 23) {
if (eval (("_root.c" + i) + ".ctrl") == 0) {
Set(("_root.c" + i) + ".skflag", 0);
Set(("_root.c" + i) + ".card", card);
Set(("_root.c" + i) + ".statu", "copy");
Set(("_root.c" + i) + ".copyn", pos);
found = 1;
target = "_root.c" + i;
eval (target).gotoAndPlay(2);
instantfx.gotoAndPlay("parallel");
eval (target).instantfx.gotoAndPlay("parallel");
break;
}
i++;
}
dmgfx.vals = "Infest";
}
if (rans == 3) {
skill = "vampire";
dmgfx.vals = "Vampire";
}
if (rans == 4) {
ran = Math.floor(_root.rand() * 5) + 1;
ran2 = Math.floor(_root.rand() * 5) + 1;
atknow = atknow - ran;
defnow = defnow + ran2;
atk = atk - ran;
def = def + ran2;
saveatk = atknow;
instantfx.gotoAndPlay("holy light");
dmgfx.vals = "Chaos Power";
}
if (rans == 5) {
_root.efx.gotoAndPlay("nova");
i = 1;
while (i <= 12) {
_root.qadjuste(i, 1);
i++;
}
dmgfx.vals = "Nova";
}
}
if (skill == "fiery") {
atknow = atknow + Math.floor(_root.retq(6) / 5);
}
if (skill == "regenerate") {
atktext = "+ 5";
_root.hpeffect.val = atktext;
_root.hpeffect.gotoAndPlay(2);
_root.addhp(5);
}
if (adrenaline > 0) {
adlimit = 4 - Math.floor(Math.sqrt(Math.abs(atknow)));
atknow = Math.ceil(atknow - ((((3 - adlimit) / 3) * atknow) * adrush));
adrush = adrush + 1;
if (adrush > adlimit) {
adrush = 0;
}
}
if ((skill == "hammer") and ((_root.element == 3) or (_root.element == 4))) {
atknow = atknow + 1;
}
if ((skill == "dagger") and ((_root.element == 2) or (_root.element == 11))) {
atknow = atknow + 1;
}
if ((skill == "bow") and (_root.element == 9)) {
atknow = atknow + 1;
}
if (_root.sundial > 0) {
atknow = 0;
}
if (((atknow > 0) and (passive2 == "airborne")) and (_root.freedom > _root.rand())) {
atknow = Math.round(atknow * 1.5);
freedom = 1;
_root.efx.gotoAndPlay("crit");
}
if (frozen > 0) {
atknow = 0;
frozen = frozen - 1;
if (frozen < 1) {
instantfx.gotoAndPlay("unfrozen");
}
}
if (delay > 0) {
atknow = 0;
delay = delay - 1;
if (delay < 1) {
instantfx.gotoAndPlay("undelay");
}
}
if (((_root.shieldtypee != "reflect") and ((immortal == 2) or (skill == "psion"))) and (atknow != 0)) {
_root.addhpe(-atknow);
_root.hpeffecte.val = "- " + atknow;
if (atknow < 0) {
atktext = -atknow;
_root.hpeffecte.val = "+ " + atktext;
}
_root.hpeffecte.gotoAndPlay(2);
_root.efx.gotoAndPlay("lightning");
atknow = 0;
}
if (((_root.shieldtypee == "reflect") and ((immortal == 2) or (skill == "psion"))) and (atknow != 0)) {
_root.pe4.instantfx.gotoAndPlay("reflect");
_root.pe4.dmgfx.val = "reflect";
_root.pe4.dmgfx.gotoAndPlay(2);
_root.addhp(-atknow);
_root.hpeffect.val = "- " + atknow;
if (atknow < 0) {
atktext = -atknow;
_root.hpeffecte.val = "+ " + atktext;
}
_root.hpeffect.gotoAndPlay(2);
_root.fx.gotoAndPlay("lightning");
atknow = 0;
}
if ((delay < 1) and (frozen < 1)) {
skflag = 1;
}
if (((((_root.shieldcreaturee > 0) and (atknow > 0)) and (freedom != 1)) and (momentum != 1)) and (eval (("_root.ce" + _root.shieldcreaturee) + ".ctrl") > 0)) {
Set(("_root.ce" + _root.shieldcreaturee) + ".defnow", eval (("_root.ce" + _root.shieldcreaturee) + ".defnow") - atknow);
target = "_root.ce" + _root.shieldcreaturee;
eval (target).dmgfx.val = "- " + atknow;
eval (target).dmgfx.gotoAndPlay(2);
if (skill == "vampire") {
atktext = "+ " + atknow;
_root.hpeffect.val = atktext;
_root.hpeffect.gotoAndPlay(2);
_root.addhp(atknow);
}
atknow = 0;
if (eval (("_root.ce" + _root.shieldcreaturee) + ".defnow") <= 0) {
eval (target).card = 0;
eval (target).ctrl = 0;
_root.shieldcreaturee = 0;
eval (target).gotoAndStop(1);
}
}
if (((momentum != 1) and (freedom != 1)) and (atknow != 0)) {
if ((_root.shieldtypee == "phaseshift") and (atknow > 0)) {
atknow = 0;
dmgfx.val = "Miss";
dmgfx.gotoAndPlay(2);
}
if ((_root.shieldtypee == "solar") and (atknow > 0)) {
_root.qadjuste(8, Math.min(atknow, _root.shielde));
_root.pe4.qup.gotoAndStop(9);
_root.pe4.qup2.gotoAndStop(9);
}
if (atknow > 0) {
atknow = atknow - _root.shielde;
if (atknow < 0) {
atknow = 0;
}
}
if ((_root.shieldtypee == "weight") and (defnow > 5)) {
atknow = 0;
dmgfx.val = "Blocked";
dmgfx.gotoAndPlay(2);
}
if (((_root.shieldtypee == "wings") and (passive2 != "airborne")) and (passive != "ranged")) {
atknow = 0;
dmgfx.val = "Miss";
dmgfx.gotoAndPlay(2);
}
if ((_root.shieldtypee == "delay") and (atknow > 0)) {
skflag = 0;
delay = 1;
instantfx.gotoAndPlay("delay");
}
if (((_root.shieldtypee == "ice") and (_root.rand() <= 0.3)) and (atknow > 0)) {
if (statu == "shield") {
_root.shieldcreature = 0;
}
instantfx.gotoAndPlay("freeze");
skflag = 0;
linez.gotoAndStop(1);
frozen = 3;
}
if (((_root.shieldtypee == "spines") and (_root.rand() <= 0.75)) and (atknow > 0)) {
instantfx.gotoAndPlay("poisonfx");
poison = poison + 1;
}
if ((_root.shieldtypee == "firewall") and (atknow > 0)) {
defnow = defnow - 1;
instantfx.gotoAndPlay("fire");
dmgfx.val = "- 1";
dmgfx.gotoAndPlay(2);
}
if (((_root.shieldtypee == "fog") and (_root.rand() <= 0.4)) and (atknow > 0)) {
atknow = 0;
dmgfx.val = "Miss";
dmgfx.gotoAndPlay(2);
}
if (((_root.shieldtypee == "dusk") and (_root.rand() <= 0.5)) and (atknow > 0)) {
atknow = 0;
dmgfx.val = "Miss";
dmgfx.gotoAndPlay(2);
}
if ((((((_root.shieldtypee == "unholy") and (mythosis == 0)) and (card != 206)) and (card != 2206)) and (_root.rand() <= (0.5 / defnow))) and (atknow > 0)) {
cannotdie = 1;
_root.deathtrigger();
instantfx.gotoAndPlay("die2");
_root.pe4.instantfx.gotoAndPlay("kill");
card = (Math.floor(card / 2000) * 2000) + 206;
gotoAndPlay (2);
}
if ((_root.shieldtypee == "bones") and (atknow > 0)) {
atknow = 0;
dmgfx.val = "Blocked";
dmgfx.gotoAndPlay(2);
_root.pe4.ctrl = _root.pe4.ctrl - 1;
_root.pe4.n = _root.pe4.ctrl + " X";
if (_root.pe4.ctrl <= 0) {
_root.deshielde();
}
}
if (((_root.shieldtypee == "dissipation") and (_root.sanctuarye == 0)) and (atknow > 0)) {
_root.q0 = 0;
_root.qe0 = 0;
i = 1;
while (i <= 12) {
_root.q0 = _root.q0 + _root.retq(i);
_root.qe0 = _root.qe0 + _root.retqe(i);
i++;
}
if (_root.qe0 >= atknow) {
_root.qadjuste(0, -atknow);
atknow = 0;
dmgfx.val = "Absorbed";
dmgfx.gotoAndPlay(2);
} else {
_root.deshielde();
}
}
if (((_root.shieldtypee == "edissipation") and (_root.sanctuarye == 0)) and (atknow > 0)) {
if (_root.retqe(1) >= Math.ceil(atknow / 3)) {
_root.qadjuste(1, -Math.ceil(atknow / 3));
atknow = 0;
dmgfx.val = "Absorbed";
dmgfx.gotoAndPlay(2);
} else {
_root.deshielde();
}
}
}
_root.addhpe(-atknow);
if (atknow != 0) {
if (_root.firstattack == 0) {
_root.guide.gotoAndPlay("firstattack");
_root.firstattack = 1;
}
atktext = "- " + atknow;
if (atknow < 0) {
atktext = "+ " + (-atknow);
}
_root.hpeffecte.val = atktext;
_root.hpeffecte.gotoAndPlay(2);
soundfx = "hit" + (Math.floor(Math.sqrt(atknow + 1)) - 1);
if (atknow < 0) {
soundfx = "heal";
}
_root.soundfx.gotoAndPlay(soundfx);
dmgfx.val = atknow;
dmgfx.gotoAndPlay(2);
if (skill == "vampire") {
atktext = "+ " + atknow;
_root.hpeffect.val = atktext;
_root.hpeffect.gotoAndPlay(2);
_root.addhp(atknow);
}
if ((skill == "venom") and (adrush <= 1)) {
_root.addpoe(1);
_root.efx.gotoAndPlay("poison");
}
if ((skill == "deadly venom") and (adrush <= 1)) {
_root.addpoe(2);
_root.efx.gotoAndPlay("poison");
}
if ((skill == "neurotoxin") and (adrush <= 1)) {
_root.neuroe = 1;
_root.addpoe(1);
_root.efx.gotoAndPlay("poison");
}
if (skill == "scramble") {
_root.q0 = 0;
_root.qe0 = 0;
i = 1;
while (i <= 12) {
_root.q0 = _root.q0 + _root.retq(i);
_root.qe0 = _root.qe0 + _root.retqe(i);
i++;
}
if (_root.qe0 > 9) {
_root.qadjuste(0, -9);
nq = 9;
} else {
nq = _root.qe0 - 1;
_root.qadjuste(0, -(_root.qe0 - 1));
}
var addquantum2 = new Array();
i = 1;
while (i <= 12) {
addquantum2[i] = 0;
i++;
}
i = 1;
while (i <= nq) {
elementnow = 1 + Math.floor(_root.rand() * 12);
addquantum2[elementnow] = addquantum2[elementnow] + 1;
i++;
}
i = 1;
while (i <= 12) {
_root.qadjuste(i, addquantum2[i]);
i++;
}
}
}
if (((defnow <= 0) and (cannotdie == 0)) or (((((pos > 5) and (_root.flood == 1)) and (statu != "invulnerable")) and (costelement != 7)) and (costelement != 0))) {
card = 0;
ctrl = 0;
gotoAndStop (1);
}
if (((((passive == "devourer") and (_root.sanctuarye == 0)) and (frozen < 1)) and (delay < 1)) and (adrush <= 1)) {
i = 1;
while (i <= 100) {
ran = 1 + Math.floor(_root.rand() * 12);
if (_root.retqe(ran) > 0) {
instantfx.gotoAndPlay("absorb");
_root.qadjuste(ran, -1);
_root.qadjust(11, 1);
break;
}
i++;
}
}
if ((skill == "light") and (frozen < 1)) {
instantfx.gotoAndPlay("lightg");
_root.qadjust(8, 1);
}
if ((skill == "fire") and (frozen < 1)) {
instantfx.gotoAndPlay("fireg");
_root.qadjust(6, 1);
}
if ((skill == "earth") and (frozen < 1)) {
instantfx.gotoAndPlay("earthg");
_root.qadjust(4, 1);
}
if ((skill == "air") and (frozen < 1)) {
instantfx.gotoAndPlay("airg");
_root.qadjust(9, 1);
}
if ((((skill == "infest") and (frozen < 1)) and (mythosis == 1)) and (defnow > 0)) {
elite = Math.floor(card / 2000) * 2000;
j = 1;
while (j <= 23) {
if ((eval (("_root.c" + j) + ".ctrl") == 0) and (eval (("_root.c" + j) + ".def") == 0)) {
Set(("_root.c" + j) + ".ctrl", 1);
Set(("_root.c" + j) + ".skflag", 0);
Set(("_root.c" + j) + ".card", 32);
target = "_root.c" + j;
eval (target).gotoAndPlay(2);
break;
}
j++;
}
eval ("_root.c" + j).instantfx.gotoAndPlay("Poison");
}
if ((skill == "infest") and (frozen < 1)) {
mythosis = 1;
}
atknow = saveatk;
if (dive == 1) {
dive = 0;
atknow = atk;
}
if ((skill == "steam") and (atknow > atk)) {
atknow = atknow - 1;
}
if (skill == "immaterial") {
statu = "invulnerable";
}
if (passive == "voodoo") {
vcreature = "c" + pos;
_root.voodoo(vcreature);
}
if (_root.rethpe() < 0) {
_root.adjhpe(0);
}
if (_root.rethp() < 0) {
_root.adjhp(0);
}
if (_root.rethp() > _root.hpmax) {
_root.adjhp(_root.hpmax);
}
if (_root.rethpe() > _root.hpemax) {
_root.adjhpe(_root.hpemax);
}
readiness = 0;
stop();
Symbol 2621 MovieClip Frame 1
stop();
Symbol 2623 MovieClip Frame 1
stop();
Symbol 2625 MovieClip Frame 1
if (((eval ("_root.q" + _parent.costelement) - _parent.cost) >= 0) and (_root.who != "cpu")) {
_parent.notnow.gotoAndStop(2);
} else {
_parent.notnow.gotoAndStop(1);
}
Symbol 2625 MovieClip Frame 10
gotoAndPlay (1);
Symbol 2626 Button
on (rollOver) {
_root.bigone.gotoAndStop(card);
_root.lock.gotoAndPlay(2);
}
on (rollOut, release, dragOut) {
_root.bigone.gotoAndStop(1);
_root.lock.gotoAndStop(1);
}
on (release) {
rearrange = 1;
iwasreplaced = 0;
if ((((_root.silence == 0) and (_root.lockskill == 0)) and (_root.fastlock == 0)) and (_root.glasslock == 0)) {
if ((_root.retq(costelement) - cost) >= 0) {
_root.fastlock = 1;
_root.unlocker.gotoAndPlay(2);
cardclicked = card;
if (skill == "flying") {
if (_root.p10.card != 26) {
card = _root.p10.card;
found = 1;
_root.p10.instantfx.gotoAndPlay("dive");
_root.disarm();
ctype = "creature";
} else {
_root.qadjust(costelement, cost);
_root.tutortext = "There are no weapons equipped";
_root.tutor.gotoAndPlay(2);
found = 0;
}
}
if ((ctype == "pillar") or (ctype == "shard")) {
found = 0;
i = 1;
while (i <= 19) {
if (eval (("_root.p" + i) + ".card") == card) {
Set(("_root.p" + i) + ".ctrl", eval (("_root.p" + i) + ".ctrl") + 1);
found = 1;
target = "_root.p" + i;
eval (target).gotoAndPlay(2);
_root.qadjust(costelement, -cost);
break;
}
i++;
}
if (found == 0) {
i = 1;
while (i <= 19) {
if (eval (("_root.p" + i) + ".ctrl") == 0) {
Set(("_root.p" + i) + ".ctrl", 1);
Set(("_root.p" + i) + ".card", card);
found = 1;
target = "_root.p" + i;
eval (target).gotoAndPlay(2);
_root.qadjust(costelement, -cost);
break;
}
i++;
}
}
if (found == 0) {
_root.tutortext = "There are no permanent slots available";
_root.tutor.gotoAndPlay(2);
}
}
if (ctype == "permanent") {
found = 0;
i = 1;
while (i <= 19) {
if (eval (("_root.p" + i) + ".ctrl") == 0) {
Set(("_root.p" + i) + ".ctrl", 1);
Set(("_root.p" + i) + ".card", card);
found = 1;
_root.qadjust(costelement, -cost);
target = "_root.p" + i;
eval (target).gotoAndPlay(2);
break;
}
i++;
}
if (found == 0) {
_root.tutortext = "There are no permanent slots available";
_root.tutor.gotoAndPlay(2);
}
}
if (ctype == "shield") {
_root.p4.ctrl = 1;
_root.p4.card = card;
_root.p4.statu = "";
found = 1;
_root.qadjust(costelement, -cost);
_root.p4.gotoAndPlay(2);
}
if (ctype == "weapon") {
_root.p10.ctrl = 1;
_root.p10.card = card;
_root.p10.statu = "";
found = 1;
_root.qadjust(costelement, -cost);
_root.p10.gotoAndPlay(2);
}
if (ctype == "spell") {
found = 0;
_root.qadjust(costelement, -cost);
if (skill == "silence") {
found = 1;
if (_root.sanctuarye == 0) {
_root.silencee = 1;
_root.silence2._visible = true;
} else {
_root.hpeffecte.val = "Sanctuary";
_root.hpeffecte.gotoAndPlay(2);
}
}
if (((((((skill == "lightning") or (skill == "purify")) or (skill == "icebolt")) or (skill == "fire bolt")) or (skill == "holy light")) or (skill == "drain life")) or (skill == "shockwave")) {
found = 1;
_root.sel.targeting = "all";
_root.sel.skill = skill;
_root.sel.gotoAndPlay(2);
rearrange = 0;
}
if (((((((((((((((((((((((((((skill == "freeze") or (skill == "congeal")) or (skill == "parallel universe")) or (skill == "momentum")) or (skill == "blessing")) or (skill == "chaos")) or (skill == "chaos power")) or (skill == "armor")) or (skill == "heavy armor")) or (skill == "reverse time")) or (skill == "mutation")) or (skill == "improve")) or (skill == "gravity pull")) or (skill == "adrenaline")) or (skill == "aflatoxin")) or (skill == "liquid shadow")) or (skill == "rage")) or (skill == "berserk")) or (skill == "antimatter")) or (skill == "immortality")) or (skill == "petrify")) or (skill == "fractal")) or (skill == "readiness")) or (skill == "nightmare")) or (skill == "mitosis")) or (skill == "acceleration")) or (skill == "overdrive")) {
found = 1;
_root.sel.targeting = "creature";
_root.sel.skill = skill;
_root.sel.gotoAndPlay(2);
rearrange = 0;
}
if ((skill == "immolate") or (skill == "cremation")) {
found = 1;
_root.sel.targeting = "mycreature";
_root.sel.skill = skill;
_root.sel.gotoAndPlay(2);
rearrange = 0;
}
if (skill == "butterfly") {
found = 1;
_root.sel.targeting = "creaturelowatk";
_root.sel.skill = skill;
_root.sel.gotoAndPlay(2);
rearrange = 0;
}
if (skill == "healp") {
found = 1;
_root.addhp(20);
_root.fx.gotoAndPlay("heal");
_root.hpeffect.val = "+ 20";
_root.hpeffect.gotoAndPlay(2);
}
if (skill == "shard") {
found = 1;
if ((card < 2000) and (_root.element != 8)) {
_root.hpmax = _root.hpmax + 16;
_root.addhp(16);
_root.hpeffect.val = "+ 16";
}
if ((card < 2000) and (_root.element == 8)) {
_root.hpmax = _root.hpmax + 24;
_root.addhp(24);
_root.hpeffect.val = "+ 24";
}
if ((card > 2000) and (_root.element != 8)) {
_root.hpmax = _root.hpmax + 16;
_root.addhp(16);
_root.hpeffect.val = "+ 16";
}
if ((card > 2000) and (_root.element == 8)) {
_root.hpmax = _root.hpmax + 24;
_root.addhp(24);
_root.hpeffect.val = "+ 24";
}
_root.fx.gotoAndPlay("heal");
_root.hpeffect.gotoAndPlay(2);
}
if (skill == "sacrifice") {
found = 1;
savesacrifice = _root.sacrifice;
_root.sacrifice = 0;
if (card < 2000) {
_root.addhp(-48);
_root.hpeffect.val = "- 48";
}
if (card > 2000) {
_root.addhp(-40);
_root.hpeffect.val = "- 40";
}
_root.adjq(0, 1);
i = 3;
while (i <= 12) {
_root.adjq(0, i);
i++;
}
_root.hpbar.hpbar3.gotoAndStop(3);
_root.sacrifice1._visible = true;
_root.sacrifice = savesacrifice + 2;
_root.hpeffect.gotoAndPlay(2);
}
if (skill == "bravery") {
found = 1;
bravelimit = 2;
if (_root.element == 6) {
bravelimit = 3;
}
savecard = card;
card = 0;
_root.cardshand = _root.cardshand - 1;
ii = 0;
ij = 0;
i = 1;
while (i <= 8) {
if ((((eval (("_root.he" + i) + ".card") == 0) and (_root.decken > 0)) and (_root.cardshande < 8)) and (_root.sanctuarye == 0)) {
Set(("_root.he" + i) + ".card", _root.deckex[_root.decken - 1]);
eval ("_root.he" + i).gotoAndPlay(2);
_root.deckex[_root.decken - 1] = 0;
_root.decken = _root.decken - 1;
_root.cardshande = _root.cardshande + 1;
ii = ii + 1;
ij = ij + 1;
if (ii >= bravelimit) {
break;
}
}
i++;
}
ii = 0;
i = 1;
while (i <= 8) {
if (((eval (("_root.h" + i) + ".card") == 0) and (ii < ij)) and (_root.deckn > 0)) {
iwasreplaced = 1;
rearrange = 0;
Set(("_root.h" + i) + ".card", _root.deckx[_root.deckn - 1]);
_root.deckx[_root.deckn - 1] = 0;
_root.deckn = _root.deckn - 1;
_root.cardshand = _root.cardshand + 1;
Set(("_root.h" + i) + ".serendipity", ii + 1);
eval ("_root.h" + i)._alpha = 0;
eval ("_root.h" + i).gotoAndPlay(2);
ii = ii + 1;
} else if (_root.deckn <= 0) {
_root.gotoAndPlay("lose");
}
i++;
}
}
if (skill == "serendipity") {
found = 1;
ii = 0;
savecard = card;
card = 0;
_root.cardshand = _root.cardshand - 1;
iwasreplaced = 1;
rearrange = 0;
i = 1;
while (i <= 8) {
if (eval (("_root.h" + i) + ".card") == 0) {
j = 1;
while (j <= 1000) {
ran = Math.floor(Math.random() * _root.deckan);
temp = _root.decka.slice(4 * ran, 4 * (ran + 1));
jj = 0;
while (jj < 3) {
if (temp.slice(0, 1) == "0") {
temp = temp.slice(1, 4);
}
jj++;
}
temp = Number(temp);
if ((ii > 0) or ((temp >= 100) and (temp < 200))) {
break;
}
j++;
}
if (savecard > 2000) {
temp = temp + 2000;
}
Set(("_root.h" + i) + ".card", temp);
Set(("_root.h" + i) + ".serendipity", ii + 1);
eval ("_root.h" + i)._alpha = 0;
eval ("_root.h" + i).gotoAndPlay(2);
_root.cardshand = _root.cardshand + 1;
ii = ii + 1;
if (ii >= 3) {
break;
}
}
i++;
}
}
if (skill == "stoneskin") {
found = 1;
stonehp = Math.min(_root.retq(4), 75);
_root.hpmax = _root.hpmax + stonehp;
_root.addhp(stonehp);
_root.fx.gotoAndPlay("stoneskin");
_root.hpeffect.val = "+ " + stonehp;
_root.hpeffect.gotoAndPlay(2);
}
if (skill == "miracle") {
found = 1;
_root.adjhp(_root.hpmax - 1);
if (_root.sacrifice > 0) {
_root.adjhp(1);
}
_root.fx.gotoAndPlay("miracle");
_root.hpeffect.val = "+ " + (_root.hpmax - 1);
_root.adjq(0, 8);
_root.hpeffect.gotoAndPlay(2);
}
if (skill == "nova") {
found = 1;
_root.nova = _root.nova + 1;
_root.fx.gotoAndPlay("nova");
if (_root.nova > 1) {
_root.silence1._visible = true;
_root.silence1.gotoAndStop(3);
}
i = 1;
while (i <= 12) {
_root.qadjust(i, 1);
i++;
}
}
if (skill == "supernova") {
found = 1;
_root.snova = _root.snova + 1;
_root.fx.gotoAndPlay("nova");
_root.silence1._visible = true;
_root.silence1.gotoAndStop(3);
i = 1;
while (i <= 12) {
_root.qadjust(i, 2);
i++;
}
}
if (skill == "black hole") {
found = 1;
if (_root.sanctuarye == 0) {
tempheal = 0;
_root.efx.gotoAndPlay("blacknova");
i = 1;
while (i <= 12) {
if (_root.retqe(i) >= 3) {
_root.qadjuste(i, -3);
tempheal = tempheal + 3;
} else if (_root.retqe(i) > 0) {
tempheal = tempheal + _root.retqe(i);
_root.qadjuste(i, -_root.retqe(i));
}
i++;
}
_root.addhp(tempheal);
_root.fx.gotoAndPlay("holy light");
_root.hpeffect.val = "+ " + tempheal;
_root.hpeffect.gotoAndPlay(2);
} else {
_root.hpeffecte.val = "Sanctuary";
_root.hpeffecte.gotoAndPlay(2);
}
}
if (((skill == "destroy") or (skill == "steal")) or (skill == "enchant")) {
found = 1;
_root.sel.targeting = "permanent";
_root.sel.skill = skill;
_root.sel.gotoAndPlay(2);
rearrange = 0;
}
if (((skill == "earthquake") or (skill == "tsunami")) or (skill == "nymph")) {
found = 1;
_root.sel.targeting = "pillars";
_root.sel.skill = skill;
_root.sel.gotoAndPlay(2);
rearrange = 0;
}
if (skill == "wisdom") {
found = 1;
_root.sel.targeting = "immortals";
_root.sel.skill = skill;
_root.sel.gotoAndPlay(2);
rearrange = 0;
}
if (skill == "poison") {
found = 1;
_root.addpoe(2);
_root.efx.gotoAndPlay("poison");
}
if (skill == "deadly poison") {
found = 1;
_root.addpoe(3);
_root.efx.gotoAndPlay("poison");
}
if (skill == "thunderstorm") {
_root.forcedecloake();
found = 1;
i = 1;
while (i <= 23) {
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) {
target = "_root.ce" + i;
eval (target).instantfx.gotoAndPlay("thunder");
eval (target).defnow = eval (target).defnow - 2;
eval (target).dmgfx.val = "- 2";
eval (target).dmgfx.gotoAndPlay(2);
if (eval (target).defnow <= 0) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).gotoAndStop(1);
}
}
i++;
}
}
if (skill == "dry") {
elite = Math.floor(card / 2000) * 2000;
_root.forcedecloake();
found = 1;
dryn = 0;
i = 1;
while (i <= 23) {
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) {
target = "_root.ce" + i;
eval (target).instantfx.gotoAndPlay("waterg");
eval (target).defnow = eval (target).defnow - 1;
eval (target).dmgfx.val = "- 1";
if (elite > 0) {
eval (target).defnow = eval (target).defnow - 1;
eval (target).dmgfx.val = "- 2";
dryn++;
}
eval (target).dmgfx.gotoAndPlay(2);
dryn++;
if (eval (target).defnow <= 0) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).gotoAndStop(1);
}
}
if (((elite == 0) and (eval (("_root.c" + i) + ".ctrl") > 0)) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) {
target = "_root.c" + i;
eval (target).instantfx.gotoAndPlay("waterg");
eval (target).defnow = eval (target).defnow - 1;
eval (target).dmgfx.val = "- 1";
eval (target).dmgfx.gotoAndPlay(2);
dryn++;
if (eval (target).defnow <= 0) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).gotoAndStop(1);
}
}
i++;
}
_root.qadjust(7, dryn);
}
if ((((card == 312) or (card == 340)) or (card == 2312)) or (card == 2340)) {
found = 1;
_root.newchimera = 1;
_root.chimeradef = 0;
_root.chimeraatk = 0;
i = 1;
while (i <= 23) {
if (eval (("_root.c" + i) + ".ctrl") > 0) {
target = "_root.c" + i;
eval (target).instantfx.gotoAndPlay("chimera");
_root.chimeradef = _root.chimeradef + eval (target).defnow;
_root.chimeraatk = _root.chimeraatk + eval (target).atknow;
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).iexist = 0;
eval (target).gotoAndStop(1);
}
i++;
}
_root.c1.ctrl = 1;
_root.c1.skflag = 0;
_root.c1.card = card;
_root.c1.gotoAndPlay(2);
}
if (skill == "rain of fire") {
_root.forcedecloake();
found = 1;
i = 1;
while (i <= 23) {
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) {
target = "_root.ce" + i;
eval (target).instantfx.gotoAndPlay("firerain");
}
i++;
}
}
if (skill == "blitz") {
found = 1;
i = 1;
while (i <= 23) {
if (((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) and (eval (("_root.c" + i) + ".passive2") == "airborne")) {
target = "_root.c" + i;
eval (target).instantfx.gotoAndPlay("dive");
eval (target).atknow = eval (target).atknow * 2;
eval (target).dive = 1;
_root.adjq(0, 9);
}
i++;
}
}
if (skill == "pandemonium") {
_root.forcedecloake();
if (card < 2000) {
_root.forcedecloak();
}
found = 1;
_root.pandacount = 0;
trace("panda initiated");
i = 1;
while (i <= 23) {
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) {
target = "_root.ce" + i;
eval (target).panded = 0;
_root.pandacount = _root.pandacount + 1;
}
if (((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) and (card < 2000)) {
target = "_root.c" + i;
eval (target).panded = 0;
_root.pandacount = _root.pandacount + 1;
}
i++;
}
if (_root.pandacount > 0) {
_root.autotarget(skill);
_root.pandacount = _root.pandacount - 1;
}
}
if (skill == "luciferin") {
found = 1;
_root.addhp(10);
_root.fx.gotoAndPlay("holy light");
_root.hpeffect.val = "+ 10";
_root.hpeffect.gotoAndPlay(2);
i = 1;
while (i <= 23) {
if (((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) and (eval (("_root.c" + i) + ".skill") == "")) {
target = "_root.c" + i;
eval (target).instantfx.gotoAndPlay("lightg");
eval (target).skill = "light";
}
i++;
}
}
if (skill == "plague") {
_root.forcedecloake();
found = 1;
i = 1;
while (i <= 23) {
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) {
target = "_root.ce" + i;
eval (target).instantfx.gotoAndPlay("plague");
eval (target).poison = eval (target).poison + 1;
}
i++;
}
}
if (skill == "precognition") {
if (_root.glasslock == 0) {
found = 1;
_root.precognition = 1;
_root.gotoAndPlay("draw2");
i = 1;
while (i <= 8) {
if (eval (("_root.he" + i) + ".card") > 0) {
eval (("_root.he" + i) + ".img")._visible = true;
eval (("_root.he" + i) + ".txt")._visible = true;
eval (("_root.he" + i) + ".cardback")._visible = false;
}
i++;
}
} else {
_root.qadjust(costelement, cost);
_root.tutortext = "You are already drawing a card";
_root.tutor.gotoAndPlay(2);
}
}
}
if (_root.nova > 2) {
_root.nova = 2;
ctype = "creature";
cost = 0;
card = 115;
}
if (_root.snova > 1) {
_root.snova = 1;
ctype = "creature";
cost = 0;
card = 2115;
}
if (ctype == "creature") {
found = 0;
i = 1;
while (i <= 23) {
if (eval (("_root.c" + i) + ".ctrl") == 0) {
if (skill == "integrity") {
var shardx = [-1, 130, 230, 330, 430, 530, 630, 730, 830, 930, 1030, 1130, 1230];
j = 1;
while (j <= 13) {
_root.golem[j] = 0;
j++;
}
_root.cardshand = _root.cardshand + 1;
j = 1;
while (j <= 8) {
ii = 1;
while (ii <= 12) {
if (eval (("_root.h" + j) + ".card") == shardx[ii]) {
target = "_root.h" + j;
eval (target).card = 0;
_root.cardshand = _root.cardshand - 1;
_root.golem[ii] = _root.golem[ii] + 1;
}
if (eval (("_root.h" + j) + ".card") == (2000 + shardx[ii])) {
target = "_root.h" + j;
eval (target).card = 0;
_root.cardshand = _root.cardshand - 1;
_root.golem[ii] = _root.golem[ii] + 1;
_root.golem[13] = _root.golem[13] + 1;
}
ii++;
}
j++;
}
elite = Math.floor(card / 2000) * 2000;
card = 415 + elite;
}
Set(("_root.c" + i) + ".ctrl", 1);
Set(("_root.c" + i) + ".skflag", 0);
Set(("_root.c" + i) + ".card", card);
found = 1;
target = "_root.c" + i;
eval (target).gotoAndPlay(2);
_root.qadjust(costelement, -cost);
break;
}
i++;
}
if (found == 0) {
_root.tutortext = "There are no creature slots available";
_root.tutor.gotoAndPlay(2);
}
}
if (_root.rethp() > _root.hpmax) {
_root.adjhp(_root.hpmax);
}
if (_root.rethpe() > _root.hpemax) {
_root.adjhpe(_root.hpemax);
}
if (found > 0) {
if (_root.level == "pvp") {
if (_root.ctrlstep == 1) {
_root.ctrlx[_root.ctrln] = 9999;
_root.ctrln = _root.ctrln + 1;
}
_root.ctrlx[_root.ctrln] = 4000 + cardclicked;
_root.ctrln = _root.ctrln + 1;
_root.ctrlstep = 1;
}
_root.sel.card = card;
_root.sel.cost = cost;
_root.sel.pos = pos;
_root.sel.costelement = costelement;
if (_root.neuro == 1) {
_root.addpo(1);
}
if (iwasreplaced == 0) {
_root.cardshand = _root.cardshand - 1;
card = 0;
gotoAndStop (1);
}
}
if ((found > 0) and (rearrange == 1)) {
j = 1;
while (j <= 2) {
i = 1;
while (i <= 7) {
if (eval (("_root.h" + i) + ".card") == 0) {
Set(("_root.h" + i) + ".card", eval (("_root.h" + (i + 1)) + ".card"));
if (eval (("_root.h" + (i + 1)) + ".card") > 0) {
j = 0;
}
Set(("_root.h" + (i + 1)) + ".card", 0);
}
i++;
}
j++;
}
i = 1;
while (i <= 8) {
if (eval (("_root.h" + i) + ".card") > 0) {
target = "_root.h" + i;
eval (target).gotoAndPlay(2);
}
if (eval (("_root.h" + i) + ".card") == 0) {
target = "_root.h" + i;
eval (target).gotoAndStop(1);
}
i++;
}
}
} else {
_root.tutortext = "Not enough quanta";
_root.tutor.gotoAndPlay(2);
}
}
}
Symbol 2629 Button
on (rollOver) {
_root.bigone.gotoAndStop(card);
_root.lock.gotoAndPlay(2);
}
on (rollOut, release, dragOut) {
_root.bigone.gotoAndStop(1);
_root.lock.gotoAndStop(1);
}
Symbol 2630 Button
on (rollOver) {
_root.bigone.gotoAndStop(card);
}
on (rollOut, release, dragOut) {
_root.bigone.gotoAndStop(1);
}
on (release) {
if (_root.fastlock == 0) {
_root.fastlock = 1;
_root.unlocker.gotoAndPlay(2);
_root.cardshand = _root.cardshand - 1;
if (card == 1014) {
_root.addhp(-10);
_root.soundfx.gotoAndPlay("voodoo");
_root.hpeffect.val = "- 10";
_root.hpeffect.gotoAndPlay(2);
}
if (card == 3014) {
_root.addhp(-13);
_root.soundfx.gotoAndPlay("voodoo");
_root.hpeffect.val = "- 13";
_root.hpeffect.gotoAndPlay(2);
}
card = 0;
gotoAndStop (1);
if (_root.level == "pvp") {
if (_root.ctrlstep == 1) {
_root.ctrlx[_root.ctrln] = 9999;
_root.ctrln = _root.ctrln + 1;
}
_root.ctrlx[_root.ctrln] = 8000 + pos;
_root.ctrln = _root.ctrln + 1;
_root.ctrlstep = 1;
}
if (pos < 8) {
i = pos;
while (i <= 8) {
if (eval (("_root.h" + (i + 1)) + ".card") > 0) {
Set(("_root.h" + i) + ".card", eval (("_root.h" + (i + 1)) + ".card"));
target = "_root.h" + i;
eval (target).gotoAndPlay(2);
} else {
Set(("_root.h" + i) + ".card", 0);
target = "_root.h" + i;
eval (target).gotoAndStop(1);
}
i++;
}
}
_root.play();
}
}
Symbol 2631 MovieClip Frame 1
serendipity = 0;
stop();
Symbol 2631 MovieClip Frame 2
txt.gotoAndStop(card);
img.gotoAndStop(card);
play();
Symbol 2631 MovieClip Frame 3
if (costany > 0) {
costanytext = "+ " + costany;
} else {
costanytext = "";
}
if (cost == 0) {
costtext = "";
quantum.gotoAndStop(1);
} else {
quantum.gotoAndStop(costelement + 1);
costtext = cost;
}
if (cost == undefined) {
atk = 0;
def = 0;
skill = "";
skillcost = "";
skillelement = 0;
cost = 0;
costelement = 0;
costany = 0;
posy = 0;
rarity = 0;
_root.gamever = "err";
}
Symbol 2631 MovieClip Frame 5
stop();
Symbol 2636 MovieClip Frame 1
stop();
fixdesync = 0;
suspicious = 0;
Symbol 2636 MovieClip Frame 2
txt.gotoAndStop(card);
img.gotoAndStop(card);
if (_root.precognition == 1) {
img._visible = true;
txt._visible = true;
cardback._visible = false;
} else {
img._visible = false;
txt._visible = false;
cardback._visible = true;
}
play();
Symbol 2636 MovieClip Frame 3
skipme = 0;
if (fixdesync == 0) {
stop();
} else {
gotoAndStop ("summon");
}
Symbol 2636 MovieClip Frame 4
skipme = 1;
found = 0;
fixdesync = 0;
rearrange = 1;
_root.lastcard = card;
_root.holdem = 0;
if (((((_root.level != "pvp") and (_root.shieldcreature > 0)) and (eval (("_root.c" + _root.shieldcreature) + ".passive") == "voodoo")) and (eval (("_root.c" + _root.shieldcreature) + ".defnow") > (_root.monitor.dmge + atk))) and (_root.cardshande < 7)) {
_root.holdem = 1;
}
if ((_root.level != "pvp") and (_root.sacrifice > 0)) {
_root.holdem = 1;
}
if ((((skill == "flying") and (_root.holdem == 0)) and (_root.pe10.card != 26)) and (_root.monitor.nc < 22)) {
card = _root.pe10.card;
found = 1;
_root.pe10.instantfx.gotoAndPlay("dive");
_root.disarme();
ctype = "creature";
}
useshard = 1;
if ((((_root.sacrifice > 0) or (_root.sundial > 0)) or (_root.p10.skill == "phaseshift")) or (((_root.monitor.nc * _root.rethp()) / (1.1 + _root.monitor.dmge)) > 15)) {
defend = 1;
} else {
defend = 0;
}
if ((skill == "patience") and ((defend == 0) or (_root.patient > 0))) {
useshard = 0;
} else if (skill == "patience") {
_root.patient = 1;
}
if (_root.level == "pvp") {
useshard = 1;
}
if (((ctype == "pillar") or (ctype == "shard")) and (useshard == 1)) {
i = 1;
while (i <= 19) {
if ((eval (("_root.pe" + i) + ".card") == card) and (eval (("_root.pe" + i) + ".ctrl") > 0)) {
Set(("_root.pe" + i) + ".ctrl", eval (("_root.pe" + i) + ".ctrl") + 1);
found = 1;
target = "_root.pe" + i;
eval (target).gotoAndPlay(2);
break;
}
i++;
}
if (found == 0) {
i = 1;
while (i <= 19) {
if (eval (("_root.pe" + i) + ".ctrl") == 0) {
Set(("_root.pe" + i) + ".ctrl", 1);
Set(("_root.pe" + i) + ".card", card);
found = 1;
target = "_root.pe" + i;
eval (target).gotoAndPlay(2);
break;
}
i++;
}
}
}
usepermanent = 1;
if ((card == 1009) or (card == 3009)) {
usepermanent = 0;
if ((_root.shieldtype == "phaseshift") or (_root.monitor.dmg > _root.monitor.dmge)) {
usepermanent = 1;
}
}
if ((skill == "flood") and ((_root.flood == 1) or (_root.monitor.np < 5))) {
usepermanent = 0;
}
if (skill == "cloak") {
i = 1;
while (i <= 19) {
if (((eval (("_root.pe" + i) + ".ctrl") > 0) and (eval (("_root.pe" + i) + ".skill") == "cloak")) and (eval (("_root.pe" + i) + ".charges") > 0)) {
usepermanent = 0;
}
i++;
}
}
if (passive == "sundial") {
i = 1;
while (i <= 19) {
if (((eval (("_root.pe" + i) + ".ctrl") > 0) and (eval (("_root.pe" + i) + ".passive") == "sundial")) and (eval (("_root.pe" + i) + ".charges") > 0)) {
usepermanent = 0;
}
i++;
}
}
if (skill == "nightfall") {
i = 1;
while (i <= 19) {
if ((eval (("_root.pe" + i) + ".ctrl") > 0) and ((eval (("_root.pe" + i) + ".skill") == "nightfall") or (eval (("_root.pe" + i) + ".skill") == "eclipse"))) {
usepermanent = 0;
}
if ((eval (("_root.p" + i) + ".ctrl") > 0) and ((eval (("_root.p" + i) + ".skill") == "nightfall") or (eval (("_root.p" + i) + ".skill") == "eclipse"))) {
usepermanent = 0;
}
i++;
}
}
if (skill == "eclipse") {
i = 1;
while (i <= 19) {
if ((eval (("_root.pe" + i) + ".ctrl") > 0) and (eval (("_root.pe" + i) + ".skill") == "eclipse")) {
usepermanent = 0;
}
if ((eval (("_root.p" + i) + ".ctrl") > 0) and (eval (("_root.p" + i) + ".skill") == "eclipse")) {
usepermanent = 0;
}
i++;
}
}
if (_root.level == "pvp") {
usepermanent = 1;
}
if ((ctype == "permanent") and (usepermanent == 1)) {
found = 0;
i = 1;
while (i <= 19) {
if (eval (("_root.pe" + i) + ".ctrl") == 0) {
Set(("_root.pe" + i) + ".ctrl", 1);
Set(("_root.pe" + i) + ".card", card);
found = 1;
target = "_root.pe" + i;
eval (target).gotoAndPlay(2);
break;
}
i++;
}
}
if (ctype == "shield") {
useshield = 0;
if ((((skill == "phaseshift") or (skill == "wings")) and ((_root.rethpe() / (_root.monitor.dmg + 1)) < 15)) and (_root.pe4.invulnerability <= 0)) {
useshield = 1;
} else if (((skill == "dissipation") and (_root.qe0 > 60)) and (_root.pe4.skill != "dissipation")) {
useshield = 1;
} else if (((skill == "edissipation") and (_root.retqe(1) > 20)) and (_root.pe4.skill != "edissipation")) {
useshield = 1;
} else if ((((((skill != "wings") and (skill != "phaseshift")) and (skill != "dissipation")) and (skill != "edissipation")) and (_root.pe4.cost < cost)) and (_root.pe4.skill != "bones")) {
useshield = 1;
}
if (_root.level == "pvp") {
useshield = 1;
}
if (useshield > 0) {
found = 1;
_root.pe4.ctrl = 1;
_root.pe4.card = card;
_root.pe4.statu = "";
_root.pe4.gotoAndPlay(2);
}
}
if ((((ctype == "weapon") and (_root.level != 0)) and (_root.holdem == 0)) and (((_root.level == "pvp") or (_root.pe10.cost < cost)) or ((cost == 0) and (_root.pe10.cost == 0)))) {
found = 1;
_root.pe10.ctrl = 1;
_root.pe10.card = card;
_root.pe10.statu = "";
_root.pe10.gotoAndPlay(2);
}
if (((ctype == "spell") and (skill != "flying")) and ((skill != "nightmare") or ((_root.sanctuary == 0) and (_root.cardshand < 8)))) {
desperatio = _root.monitor.np * (((Math.random() * 3) + _root.monitor.dmg) / (_root.rethpe() + 1));
if (((_root.sacrifice > 0) or (_root.sundial > 0)) or (_root.p10.skill == "phaseshift")) {
defend = 1;
} else {
defend = 0;
}
if ((skill == "silence") and (((_root.silence == 0) and (_root.sanctuary == 0)) or (_root.level == "pvp"))) {
found = 1;
if (_root.sanctuary == 0) {
_root.fastlock = 1;
_root.silence = 1;
_root.silence1._visible = true;
}
}
if ((skill == "healp") and ((((_root.rethpe() / _root.hpemax) < 0.7) and (_root.sacrificee == 0)) or (_root.level == "pvp"))) {
found = 1;
_root.addhpe(20);
_root.efx.gotoAndPlay("heal");
_root.hpeffecte.val = "+ 20";
_root.hpeffecte.gotoAndPlay(2);
}
if ((skill == "shard") and ((_root.sacrificee == 0) or (_root.level == "pvp"))) {
found = 1;
if ((card < 2000) and (_root.elemente != 8)) {
_root.hpemax = _root.hpemax + 16;
_root.addhpe(16);
_root.hpeffecte.val = "+ 16";
}
if ((card < 2000) and (_root.elemente == 8)) {
_root.hpemax = _root.hpemax + 24;
_root.addhpe(24);
_root.hpeffecte.val = "+ 24";
}
if ((card > 2000) and (_root.elemente != 8)) {
_root.hpemax = _root.hpemax + 16;
_root.addhpe(16);
_root.hpeffecte.val = "+ 16";
}
if ((card > 2000) and (_root.elemente == 8)) {
_root.hpemax = _root.hpemax + 24;
_root.addhpe(24);
_root.hpeffecte.val = "+ 24";
}
_root.efx.gotoAndPlay("heal");
_root.hpeffecte.gotoAndPlay(2);
}
if ((skill == "sacrifice") and ((((_root.smercy < 6) and (_root.rethpe() > (48 + Math.round(Math.random() * 5)))) and (_root.monitor.dmg > (10 + Math.round(Math.random() * 5)))) or (_root.level == "pvp"))) {
found = 1;
savesacrifice = _root.sacrificee;
_root.sacrificee = 0;
if (card < 2000) {
_root.addhpe(-48);
_root.hpeffecte.val = "- 48";
}
if (card > 2000) {
_root.addhpe(-40);
_root.hpeffecte.val = "- 40";
}
_root.adjqe(0, 1);
i = 3;
while (i <= 12) {
_root.adjqe(0, i);
i++;
}
_root.hpbare.hpbar3.gotoAndStop(3);
_root.sacrificee = savesacrifice + 2;
_root.sacrifice2._visible = true;
_root.hpeffecte.gotoAndPlay(2);
_root.smercy = _root.smercy + 1;
}
if (skill == "serendipity") {
_root.soundfx.gotoAndPlay("seren");
found = 1;
}
bravelimit = 2;
if (_root.elemente == 6) {
bravelimit = 3;
}
if ((skill == "bravery") and (((((_root.decken >= bravelimit) and (_root.cardshand < 8)) and (_root.deckn < _root.decken)) or (((_root.cardshande < 8) and (_root.cardshand < 8)) and (_root.decken > 5))) or (_root.level == "pvp"))) {
found = 1;
}
if ((skill == "miracle") and ((((_root.rethpe() - _root.monitor.dmg) < (10 + (Math.random() * 12))) and (_root.sacrificee == 0)) or (_root.level == "pvp"))) {
found = 1;
_root.adjhpe(_root.hpemax - 1);
if (_root.sacrificee > 0) {
_root.adjhpe(1);
}
_root.efx.gotoAndPlay("miracle");
_root.hpeffecte.val = "+ " + (_root.hpemax - 1);
_root.hpeffecte.gotoAndPlay(2);
}
if ((skill == "stoneskin") and ((((_root.rethpe() - _root.monitor.dmg) < 16) and (_root.sacrificee == 0)) or (_root.level == "pvp"))) {
found = 1;
stonehp = Math.min(_root.retqe(4) - cost, 75);
_root.addhpe(stonehp);
_root.efx.gotoAndPlay("stoneskin");
_root.hpeffecte.val = "+ " + stonehp;
_root.hpeffecte.gotoAndPlay(2);
_root.hpemax = _root.hpemax + stonehp;
}
if (skill == "poison") {
found = 1;
_root.addpo(2);
_root.fx.gotoAndPlay("poison");
}
if (skill == "deadly poison") {
found = 1;
_root.addpo(3);
_root.fx.gotoAndPlay("poison");
}
if ((skill == "thunderstorm") and ((desperatio > 0.3) or (_root.level == "pvp"))) {
_root.forcedecloak();
found = 1;
i = 1;
while (i <= 23) {
if ((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) {
target = "_root.c" + i;
eval (target).instantfx.gotoAndPlay("thunder");
eval (target).defnow = eval (target).defnow - 2;
eval (target).dmgfx.val = "- 2";
eval (target).dmgfx.gotoAndPlay(2);
if (eval (target).defnow <= 0) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).gotoAndStop(1);
}
}
i++;
}
}
if ((skill == "dry") and ((desperatio > 0.3) or (_root.level == "pvp"))) {
elite = Math.floor(card / 2000) * 2000;
_root.forcedecloak();
found = 1;
dryn = 0;
i = 1;
while (i <= 23) {
if (((elite == 0) and (eval (("_root.ce" + i) + ".ctrl") > 0)) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) {
target = "_root.ce" + i;
eval (target).instantfx.gotoAndPlay("waterg");
eval (target).defnow = eval (target).defnow - 1;
eval (target).dmgfx.val = "- 1";
eval (target).dmgfx.gotoAndPlay(2);
dryn++;
if (eval (target).defnow <= 0) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).gotoAndStop(1);
}
}
if ((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) {
target = "_root.c" + i;
eval (target).instantfx.gotoAndPlay("waterg");
eval (target).defnow = eval (target).defnow - 1;
eval (target).dmgfx.val = "- 1";
if (elite > 0) {
eval (target).defnow = eval (target).defnow - 1;
eval (target).dmgfx.val = "- 2";
dryn++;
}
eval (target).dmgfx.gotoAndPlay(2);
dryn++;
if (eval (target).defnow <= 0) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).gotoAndStop(1);
}
}
i++;
}
_root.qadjuste(7, dryn);
}
if (((((card == 312) or (card == 340)) or (card == 2312)) or (card == 2340)) and ((_root.monitor.rawdmge > _root.rethp()) or (_root.level == "pvp"))) {
found = 1;
_root.chimeradef = 0;
_root.chimeraatk = 0;
_root.newchimera = 1;
i = 1;
while (i <= 23) {
if (eval (("_root.ce" + i) + ".ctrl") > 0) {
target = "_root.ce" + i;
eval (target).instantfx.gotoAndPlay("chimera");
_root.chimeradef = _root.chimeradef + eval (target).defnow;
_root.chimeraatk = _root.chimeraatk + eval (target).atknow;
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).iexist = 0;
eval (target).gotoAndStop(1);
}
i++;
}
_root.ce1.ctrl = 1;
_root.ce1.skflag = 0;
_root.ce1.card = card;
_root.ce1.gotoAndPlay(2);
}
if ((skill == "rain of fire") and ((desperatio > 0.3) or (_root.level == "pvp"))) {
_root.forcedecloak();
found = 1;
i = 1;
while (i <= 23) {
if ((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) {
target = "_root.c" + i;
eval (target).instantfx.gotoAndPlay("firerain");
}
i++;
}
}
if ((skill == "blitz") and ((((_root.monitor.dmge * 2) > _root.rethp()) and (defend == 0)) or (_root.level == "pvp"))) {
found = 1;
i = 1;
while (i <= 23) {
if (((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) and (eval (("_root.ce" + i) + ".passive2") == "airborne")) {
target = "_root.ce" + i;
eval (target).instantfx.gotoAndPlay("dive");
eval (target).atknow = eval (target).atknow * 2;
eval (target).dive = 1;
}
i++;
}
}
if ((skill == "pandemonium") and ((((_root.monitor.nc < (_root.monitor.np + 3)) or (card > 2000)) and (desperatio > 0.3)) or (_root.level == "pvp"))) {
_root.forcedecloak();
if (card < 2000) {
_root.forcedecloake();
}
found = 1;
_root.pandacount = 0;
i = 1;
while (i <= 23) {
if (((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) and (card < 2000)) {
target = "_root.ce" + i;
eval (target).panded = 0;
_root.pandacount = _root.pandacount + 1;
}
if ((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) {
target = "_root.c" + i;
eval (target).panded = 0;
_root.pandacount = _root.pandacount + 1;
}
i++;
}
if (_root.pandacount > 0) {
_root.autotarget(skill);
_root.pandacount = _root.pandacount - 1;
}
}
if ((skill == "luciferin") and ((((_root.rethpe() - _root.monitor.dmg) < (10 + (Math.random() * 12))) or (_root.monitor.nc > 3)) or (_root.level == "pvp"))) {
found = 1;
_root.addhpe(10);
_root.efx.gotoAndPlay("holy light");
_root.hpeffecte.val = "+ 10";
_root.hpeffecte.gotoAndPlay(2);
i = 1;
while (i <= 23) {
if (((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) and (eval (("_root.ce" + i) + ".skill") == "")) {
target = "_root.ce" + i;
eval (target).instantfx.gotoAndPlay("lightg");
eval (target).skill = "light";
}
i++;
}
}
if ((skill == "plague") and ((desperatio > 0.3) or (_root.level == "pvp"))) {
_root.forcedecloak();
found = 1;
i = 1;
while (i <= 23) {
if ((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) {
target = "_root.c" + i;
eval (target).instantfx.gotoAndPlay("plague");
eval (target).poison = eval (target).poison + 1;
}
i++;
}
}
if ((skill == "nova") and (((_root.novae < 2) or (Math.random() > (_root.rethp() / 50))) or (_root.level == "pvp"))) {
found = 1;
_root.novae = _root.novae + 1;
_root.efx.gotoAndPlay("nova");
if (_root.novae > 1) {
_root.silence2._visible = true;
_root.silence2.gotoAndStop(3);
}
i = 1;
while (i <= 12) {
_root.qadjuste(i, 1);
i++;
}
}
if ((skill == "supernova") and (((_root.snovae == 0) or (Math.random() > (_root.rethp() / 50))) or (_root.level == "pvp"))) {
found = 1;
_root.snovae = _root.snovae + 1;
_root.efx.gotoAndPlay("nova");
_root.silence2._visible = true;
_root.silence2.gotoAndStop(3);
i = 1;
while (i <= 12) {
_root.qadjuste(i, 2);
i++;
}
}
if ((skill == "black hole") and (((_root.q0 > 3) and (_root.sanctuary == 0)) or (_root.level == "pvp"))) {
found = 1;
if (_root.sanctuary == 0) {
tempheal = 0;
_root.fx.gotoAndPlay("blacknova");
i = 1;
while (i <= 12) {
if (_root.retq(i) >= 3) {
_root.qadjust(i, -3);
tempheal = tempheal + 3;
} else if (_root.retq(i) > 0) {
tempheal = tempheal + _root.retq(i);
_root.qadjust(i, -_root.retq(i));
}
i++;
}
_root.addhpe(tempheal);
_root.efx.gotoAndPlay("holy light");
_root.hpeffecte.val = "+ " + tempheal;
_root.hpeffecte.gotoAndPlay(2);
}
}
if (skill == "precognition") {
skill = "hasten";
}
if ((skill == "hasten") and (((_root.cardshande < 8) and (_root.decken > 3)) or (_root.level == "pvp"))) {
found = 1;
if (_root.decken <= 0) {
gotoAndStop ("win");
} else if (_root.cardshande < 8) {
i = 1;
while (i <= 8) {
if (eval (("_root.he" + i) + ".card") == 0) {
Set(("_root.he" + i) + ".card", _root.deckex[_root.decken - 1]);
eval ("_root.he" + i).gotoAndPlay(2);
_root.deckex[_root.decken - 1] = 0;
_root.decken = _root.decken - 1;
_root.cardshande = _root.cardshande + 1;
break;
}
i++;
}
}
}
if (_root.rethp() > _root.hpmax) {
_root.adjhp(_root.hpmax);
}
if (_root.rethpe() > _root.hpemax) {
_root.adjhpe(_root.hpemax);
}
if (found == 0) {
found = _root.autotarget(skill);
}
}
if (_root.novae > 2) {
_root.novae = 2;
ctype = "creature";
cost = 0;
card = 115;
}
if (_root.snovae > 1) {
_root.snovae = 1;
ctype = "creature";
cost = 0;
card = 2115;
}
if (passive == "singularity") {
suspicious = 1;
}
if (((ctype == "creature") and (_root.holdem == 0)) and ((Math.abs(suspicious / ((1.1 + def) + atk)) < 0.15) or (_root.level == "pvp"))) {
i = 1;
while (i <= 23) {
if (eval (("_root.ce" + i) + ".ctrl") == 0) {
if (skill == "integrity") {
var shardx = [-1, 130, 230, 330, 430, 530, 630, 730, 830, 930, 1030, 1130, 1230];
j = 1;
while (j <= 13) {
_root.goleme[j] = 0;
j++;
}
_root.cardshande = _root.cardshande + 1;
j = 1;
while (j <= 8) {
ii = 1;
while (ii <= 12) {
if (eval (("_root.he" + j) + ".card") == shardx[ii]) {
target = "_root.he" + j;
eval (target).card = 0;
_root.cardshande = _root.cardshande - 1;
_root.goleme[ii] = _root.goleme[ii] + 1;
}
if (eval (("_root.he" + j) + ".card") == (2000 + shardx[ii])) {
target = "_root.he" + j;
eval (target).card = 0;
_root.cardshande = _root.cardshande - 1;
_root.goleme[ii] = _root.goleme[ii] + 1;
_root.goleme[13] = _root.goleme[13] + 1;
}
ii++;
}
j++;
}
elite = Math.floor(card / 2000) * 2000;
card = 415 + elite;
}
Set(("_root.ce" + i) + ".ctrl", 1);
Set(("_root.ce" + i) + ".card", card);
Set(("_root.ce" + i) + ".skflag", 0);
found = 1;
target = "_root.ce" + i;
eval (target).gotoAndPlay(2);
break;
}
i++;
}
}
if (found > 0) {
_root.qadjuste(costelement, -cost);
_root.cardshande = _root.cardshande - 1;
if ((_root.doubledraw = (1 and (_root.rethpe() > 50)) and ((((((((card == 1212) or (card == 1113)) or (card == 411)) or (card == 311)) or (card == 3212)) or (card == 3113)) or (card == 2411)) or (card == 2311)))) {
_root.tmercy = 1;
}
if (skill == "miracle") {
_root.adjqe(0, 8);
}
if (skill == "blitz") {
_root.adjqe(0, 9);
}
if (skill == "fractal") {
_root.adjqe(0, 12);
}
savecard = card;
card = 0;
i = 1;
while (i <= 8) {
eval ("_root.he" + i).gotoAndStop("idle");
i++;
}
gotoAndStop (1);
_root.h0.gotoAndPlay(2);
if (_root.neuroe == 1) {
_root.addpoe(1);
}
if ((skill == "fractal") and (found != 2)) {
i = 1;
while (i <= 8) {
if (eval (("_root.he" + i) + ".card") == 0) {
Set(("_root.he" + i) + ".card", _root.fractalcard);
eval ("_root.he" + i).gotoAndPlay(2);
_root.cardshande = 8;
}
i++;
}
}
if (skill == "serendipity") {
ii = 0;
i = 1;
while (i <= 8) {
if (eval (("_root.he" + i) + ".card") == 0) {
j = 1;
while (j <= 1000) {
ran = Math.floor(Math.random() * _root.deckan);
temp = _root.decka.slice(4 * ran, 4 * (ran + 1));
jj = 0;
while (jj < 3) {
if (temp.slice(0, 1) == "0") {
temp = temp.slice(1, 4);
}
jj++;
}
temp = Number(temp);
if ((ii > 0) or ((temp >= 100) and (temp < 200))) {
break;
}
j++;
}
if (savecard > 2000) {
temp = temp + 2000;
}
Set(("_root.he" + i) + ".card", temp);
eval ("_root.he" + i).gotoAndPlay(2);
rearrange = 0;
_root.cardshande = _root.cardshande + 1;
ii = ii + 1;
if (ii >= 3) {
break;
}
}
i++;
}
}
if (skill == "bravery") {
_root.soundfx.gotoAndPlay("seren");
ii = 0;
ij = 0;
i = 1;
while (i <= 8) {
if (((eval (("_root.h" + i) + ".card") == 0) and (_root.deckn > 0)) and (_root.sanctuary == 0)) {
Set(("_root.h" + i) + ".card", _root.deckx[_root.deckn - 1]);
_root.deckx[_root.deckn - 1] = 0;
_root.deckn = _root.deckn - 1;
_root.cardshand = _root.cardshand + 1;
Set(("_root.h" + i) + ".serendipity", ii + 1);
eval ("_root.h" + i)._alpha = 0;
eval ("_root.h" + i).gotoAndPlay(2);
ii = ii + 1;
ij = ij + 1;
if (ii >= bravelimit) {
break;
}
}
i++;
}
ii = 0;
i = 1;
while (i <= 8) {
if (((eval (("_root.he" + i) + ".card") == 0) and (ii < ij)) and (_root.decken > 0)) {
Set(("_root.he" + i) + ".card", _root.deckex[_root.decken - 1]);
eval ("_root.he" + i).gotoAndPlay(2);
_root.deckex[_root.decken - 1] = 0;
_root.decken = _root.decken - 1;
_root.cardshande = _root.cardshande + 1;
rearrange = 0;
ii = ii + 1;
} else if (_root.decken <= 0) {
_root.gotoAndPlay("win");
}
i++;
}
}
if (((skill == "nightmare") and (_root.sanctuary == 0)) and (found != 2)) {
nightmare = 0;
i = 1;
while (i <= 8) {
if (eval (("_root.h" + i) + ".card") == 0) {
Set(("_root.h" + i) + ".card", _root.fractalcard);
eval ("_root.h" + i).gotoAndPlay(2);
nightmare++;
_root.cardshand = 8;
}
i++;
}
if (nightmare > 0) {
dmg = nightmare * 2;
_root.addhp(-dmg);
_root.fx.gotoAndPlay("drainlife");
_root.fx.nightmare = nightmare;
_root.addhpe(dmg);
_root.hpeffecte.val = "+ " + dmg;
_root.hpeffecte.gotoAndPlay(2);
_root.hpcorrect();
}
}
} else {
_root.gotoAndPlay("notyet");
}
if (found > 0) {
j = 1;
while (j <= 2) {
i = 1;
while (i <= 7) {
if (eval (("_root.he" + i) + ".card") == 0) {
Set(("_root.he" + i) + ".card", eval (("_root.he" + (i + 1)) + ".card"));
if (eval (("_root.he" + (i + 1)) + ".card") > 0) {
j = 0;
}
Set(("_root.he" + i) + ".suspicious", eval (("_root.he" + (i + 1)) + ".suspicious"));
Set(("_root.he" + (i + 1)) + ".card", 0);
Set(("_root.he" + (i + 1)) + ".suspicious", 0);
}
i++;
}
j++;
}
i = 1;
while (i <= 8) {
if (eval (("_root.he" + i) + ".card") > 0) {
target = "_root.he" + i;
eval (target).gotoAndPlay(2);
}
if (eval (("_root.he" + i) + ".card") == 0) {
target = "_root.he" + i;
eval (target).gotoAndStop(1);
}
i++;
}
}
Symbol 2636 MovieClip Frame 5
if ((passive == "obsession") and (card < 2000)) {
_root.addhpe(-10);
_root.soundfx.gotoAndPlay("voodoo");
_root.hpeffecte.val = "- 10";
_root.hpeffecte.gotoAndPlay(2);
}
if ((passive == "obsession") and (card > 2000)) {
_root.addhpe(-13);
_root.soundfx.gotoAndPlay("voodoo");
_root.hpeffecte.val = "- 13";
_root.hpeffecte.gotoAndPlay(2);
}
card = 0;
gotoAndStop (1);
_root.cardshande = _root.cardshande - 1;
trace("I am discarding something cards:" + _root.cardshande);
if (pos < 8) {
i = pos;
while (i <= 8) {
if (eval (("_root.he" + (i + 1)) + ".card") > 0) {
Set(("_root.he" + i) + ".card", eval (("_root.he" + (i + 1)) + ".card"));
target = "_root.he" + i;
eval (target).gotoAndPlay(2);
} else {
Set(("_root.he" + i) + ".card", 0);
target = "_root.he" + i;
eval (target).gotoAndStop(1);
}
i++;
}
}
Symbol 2639 Button
on (release) {
if (lock == 0) {
lock = 1;
if (_root.level == "pvp") {
_root.ctrlx[_root.ctrln] = 9001;
_root.ctrln = _root.ctrln + 1;
_root.ctrlstep = 2;
}
if (((_root.shieldtypee != "reflect") and (_root.sel.skill != "holy light")) and (_root.sel.skill != "purify")) {
if (_root.sel.skill == "lightning") {
_root.addhpe(-5);
_root.hpeffecte.val = "- 5";
_root.hpeffecte.gotoAndPlay(2);
_root.efx.gotoAndPlay("lightning");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "icebolt") {
dmg = (Math.floor((_root.retq(7) + _root.lastcost) / 10) + 1) * 2;
freeze = Math.round(_root.rand() + (dmg * 0.05));
if ((freeze >= 1) and (_root.pe10.statu != "invulnerable")) {
_root.pe10.instantfx.gotoAndPlay("freeze");
_root.pe10.skflag = 0;
_root.pe10.frozen = 3;
}
_root.addhpe(-dmg);
_root.efx.gotoAndPlay("icebolt");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "shockwave") {
_root.addhpe(-4);
_root.efx.gotoAndPlay("shockwave");
if (_root.pe10.frozen > 0) {
_root.pe10.instantfx.gotoAndPlay("unfrozen");
_root.disarme();
}
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "fire bolt") {
dmg = (Math.floor((_root.retq(6) + _root.lastcost) / 10) + 1) * 3;
_root.addhpe(-dmg);
_root.efx.gotoAndPlay("firebolt");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "drain life") {
dmg = (Math.floor((_root.retq(11) + _root.lastcost) / 10) + 1) * 2;
_root.addhpe(-dmg);
_root.efx.gotoAndPlay("drainlife");
_root.sel.gotoAndPlay("targeted");
_root.addhp(dmg);
_root.hpeffect.val = "+ " + dmg;
_root.hpeffect.gotoAndPlay(2);
}
}
if (_root.shieldtypee == "reflect") {
_root.pe4.instantfx.gotoAndPlay("reflect");
_root.pe4.dmgfx.val = "reflect";
_root.pe4.dmgfx.gotoAndPlay(2);
if (_root.sel.skill == "lightning") {
_root.addhp(-5);
_root.hpeffect.val = "- 5";
_root.hpeffect.gotoAndPlay(2);
_root.fx.gotoAndPlay("lightning");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "icebolt") {
dmg = (Math.floor((_root.retq(7) + _root.lastcost) / 10) + 1) * 2;
_root.addhp(-dmg);
freeze = Math.round(_root.rand() + (dmg * 0.05));
if ((freeze >= 1) and (_root.p10.statu != "invulnerable")) {
_root.p10.instantfx.gotoAndPlay("freeze");
_root.p10.skflag = 0;
_root.p10.frozen = 3;
}
_root.fx.gotoAndPlay("icebolt");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "shockwave") {
_root.addhp(-4);
_root.fx.gotoAndPlay("shockwave");
if (_root.p10.frozen > 0) {
_root.p10.instantfx.gotoAndPlay("unfrozen");
_root.disarm();
}
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "fire bolt") {
dmg = (Math.floor((_root.retq(6) + _root.lastcost) / 10) + 1) * 3;
_root.addhp(-dmg);
_root.fx.gotoAndPlay("firebolt");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "drain life") {
_root.fx.gotoAndPlay("drainlife");
_root.sel.gotoAndPlay("targeted");
}
}
if (_root.sel.skill == "holy light") {
_root.addhpe(10);
_root.efx.gotoAndPlay("holy light");
_root.hpeffecte.val = "+ 10";
_root.hpeffecte.gotoAndPlay(2);
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "purify") {
if (_root.retpoe() > 0) {
_root.adjpoe(0);
}
_root.addpoe(-2);
_root.neuroe = 0;
_root.efx.gotoAndPlay("cure");
_root.sacrificee = 0;
_root.hpbare.hpbar3.gotoAndStop(1);
_root.sacrifice2._visible = false;
_root.sel.gotoAndPlay("targeted");
}
_root.hpcorrect();
}
}
Symbol 2640 MovieClip Frame 1
lock = 0;
stop();
Symbol 2641 MovieClip Frame 1
txt.gotoAndStop(card);
img.gotoAndStop(card);
stop();
Symbol 2641 MovieClip Frame 2
txt.gotoAndStop(card);
img.gotoAndStop(card);
Symbol 2642 Button
on (rollOver) {
_root.bigone.gotoAndStop(h0.card);
_root.lock.gotoAndPlay(4);
}
on (rollOut, release, dragOut) {
_root.bigone.gotoAndStop(1);
_root.lock.gotoAndStop(1);
}
Symbol 2643 MovieClip Frame 1
stop();
Symbol 2643 MovieClip Frame 2
h0.card = _root.lastcard;
h0.gotoAndPlay(2);
Symbol 2644 MovieClip Frame 1
stop();
n = 0;
Symbol 2644 MovieClip Frame 2
n = n + 1;
if (n > 5) {
n = 1;
}
target = "s" + n;
eval (target).gotoAndPlay(2);
Symbol 2644 MovieClip Frame 3
stop();
Symbol 2663 MovieClip Frame 20
stop();
Symbol 2664 Button
on (rollOver) {
_root.bigone.gotoAndStop(card);
_root.lock.gotoAndPlay(4);
}
on (rollOut, dragOut) {
_root.bigone.gotoAndStop(1);
_root.lock.gotoAndStop(1);
}
Symbol 2668 Button
on (rollOver) {
_root.bigone.gotoAndStop(card);
_root.lock.gotoAndPlay(4);
}
on (rollOut, dragOut) {
_root.bigone.gotoAndStop(1);
_root.lock.gotoAndStop(1);
}
on (release) {
if ((_root.locktarget == 0) and (_root.fastlock == 0)) {
_root.fastlock = 1;
_root.unlocker.gotoAndPlay(2);
if (_root.neuro == 2) {
_root.autotarget(_root.sel.skill);
} else {
if (_root.level == "pvp") {
_root.ctrlx[_root.ctrln] = (9000 + pos) + 2;
_root.ctrln = _root.ctrln + 1;
_root.ctrlstep = 2;
}
_root.locktarget = 1;
freeze = 0;
savedef = defnow;
var skills = new Array("infect", "lightning", "icebolt", "fire bolt", "freeze", "parallel universe", "lobotomize", "drain life", "sniper", "reverse time", "gravity pull", "shockwave");
if (((_root.freedome > 0) and (costelement == 9)) and (passive2 == "airborne")) {
if (_root.rand() < _root.freedome) {
instantfx.gotoAndPlay("dive");
_root.sel.skill = "none";
dmgfx.val = "Evade";
dmgfx.gotoAndPlay(2);
_root.sel.gotoAndPlay("targeted");
}
}
if (_root.sel.skill == "chaos") {
ran = Math.floor(_root.rand() * 12);
_root.sel.skill = skills[ran];
}
if (_root.sel.skill == "chaos power") {
ran = Math.floor(_root.rand() * 5) + 1;
ran2 = Math.floor(_root.rand() * 5) + 1;
atknow = atknow + ran;
defnow = defnow + ran2;
atk = atk + ran;
def = def + ran2;
instantfx.gotoAndPlay("holy light");
_root.sel.gotoAndPlay("targeted");
dmgfx.val = ((("+" + ran) + " / ") + "+") + ran2;
dmgfx.gotoAndPlay(2);
}
if (_root.sel.skill == "aflatoxin") {
mythosis = 1;
poison = poison + 1;
_root.sel.skill = "infect";
}
if (_root.sel.skill == "liquid shadow") {
skill = "vampire";
skillcost = "";
skillelement = 0;
quantum.gotoAndStop(1);
_root.sel.skill = "infect";
}
if (_root.sel.skill == "butterfly") {
skill = "destroy";
skillcost = 3;
skillelement = 1;
instantfx.gotoAndPlay("butterfly");
quantum.gotoAndStop(skillelement + 1);
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "mitosis") {
skill = "mitosis";
skillcost = cost;
skillelement = costelement;
instantfx.gotoAndPlay("mitosis");
quantum.gotoAndStop(skillelement + 1);
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "acceleration") {
skill = "acceleration";
skillcost = "";
skillelement = 0;
instantfx.gotoAndPlay("acceleration");
quantum.gotoAndStop(skillelement + 1);
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "overdrive") {
skill = "overdrive";
skillcost = "";
skillelement = 0;
instantfx.gotoAndPlay("acceleration");
quantum.gotoAndStop(skillelement + 1);
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "readiness") {
skillcost = 0;
instantfx.gotoAndPlay("hatch");
if (((costelement == 10) and (delay == 0)) and (frozen == 0)) {
skflag = 1;
readiness = 1;
_root.sel.gotoAndPlay("targeted");
} else {
_root.sel.gotoAndPlay("targeted");
}
}
if ((_root.sel.skill == "infect") or (_root.sel.skill == "infection")) {
instantfx.gotoAndPlay("poisonfx");
poison = poison + 1;
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "purify") {
instantfx.gotoAndPlay("cure");
mythosis = 0;
if (poison > 0) {
poison = 0;
}
poison = poison - 2;
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "web") {
if (passive2 == "airborne") {
instantfx.gotoAndPlay("web");
passive2 = "";
}
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "devour") {
card = 0;
ctrl = 0;
gotoAndStop (1);
_root.sel.gotoAndPlay("targeted");
target = "_root.c" + _root.sel.devourer;
eval (target).instantfx.gotoAndPlay("life");
eval (target).def = eval (target).def + 1;
eval (target).atk = eval (target).atk + 1;
eval (target).defnow = eval (target).defnow + 1;
eval (target).atknow = eval (target).atknow + 1;
eval (target).dmgfx.val = "+1 / +1";
eval (target).dmgfx.gotoAndPlay(2);
if (passive == "poisonous") {
eval (target).instantfx.gotoAndPlay("poisonfx");
eval (target).poison = eval (target).poison + 1;
}
}
if (_root.sel.skill == "endow") {
_root.sel.gotoAndPlay("targeted");
target = "_root.c" + _root.sel.devourer;
instantfx.gotoAndPlay("generic");
eval (target).instantfx.gotoAndPlay("generic");
eval (target).def = eval (target).def + 2;
eval (target).atk = eval (target).atk + atk;
eval (target).defnow = eval (target).defnow + 2;
eval (target).atknow = eval (target).atknow + atk;
eval (target).skill = skill;
if (momentum == 1) {
eval (target).instantfx.gotoAndPlay("momentum");
eval (target).momentum = 1;
}
eval (target).skillcost = skillcost;
eval (target).skillelement = skillelement;
eval (target).passive = passive;
eval (target).dmgfx.val = ("+" + atk) + " / +2";
eval (target).dmgfx.gotoAndPlay(2);
eval (target).quantum.gotoAndStop(1);
if (skillcost > 0) {
eval (target).quantum.gotoAndStop(skillelement + 1);
}
eval (target).icons.gotoAndPlay(2);
}
if (_root.sel.skill == "lightning") {
defnow = defnow - 5;
dmgfx.val = "- 5";
dmgfx.gotoAndPlay(2);
instantfx.gotoAndPlay("lightning");
_root.sel.gotoAndPlay("targeted");
}
if ((_root.sel.skill == "shockwave") and (frozen == 0)) {
defnow = defnow - 4;
dmgfx.val = "- 4";
dmgfx.gotoAndPlay(2);
instantfx.gotoAndPlay("shockwave");
_root.sel.gotoAndPlay("targeted");
}
if ((_root.sel.skill == "shockwave") and (frozen > 0)) {
card = 0;
ctrl = 0;
gotoAndStop (1);
instantfx.gotoAndPlay("shockwave");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "sniper") {
defnow = defnow - 3;
dmgfx.val = "- 3";
dmgfx.gotoAndPlay(2);
instantfx.gotoAndPlay("arrow");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "fire bolt") {
dmg = (Math.floor((_root.retq(6) + _root.lastcost) / 10) + 1) * 3;
defnow = defnow - dmg;
instantfx.gotoAndPlay("firebolt");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "icebolt") {
dmg = (Math.floor((_root.retq(7) + _root.lastcost) / 10) + 1) * 2;
freeze = Math.round(_root.rand() + (dmg * 0.05));
defnow = defnow - dmg;
instantfx.gotoAndPlay("icebolt");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "drain life") {
dmg = (Math.floor((_root.retq(11) + _root.lastcost) / 10) + 1) * 2;
if (defnow < dmg) {
dmg = defnow;
}
defnow = defnow - dmg;
instantfx.gotoAndPlay("drainlife");
_root.sel.gotoAndPlay("targeted");
_root.addhp(dmg);
_root.hpeffect.val = "+ " + dmg;
_root.hpeffect.gotoAndPlay(2);
if (_root.rethp() > _root.hpmax) {
_root.adjhp(_root.hpmax);
}
}
if (((_root.sel.skill == "freeze") or (freeze == 1)) or (_root.sel.skill == "congeal")) {
if (_root.sel.skill != "icebolt") {
instantfx.gotoAndPlay("freeze");
}
skflag = 0;
frozen = 3;
if (_root.sel.skill == "congeal") {
frozen = 4;
}
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "lobotomize") {
instantfx.gotoAndPlay("lobotomize");
statu = "";
skflag = 0;
skill = "";
momentum = 0;
skillcost = "";
skillelement = 0;
quantum.gotoAndStop(1);
instantfx.momentum.gotoAndStop(1);
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "parallel universe") {
found = 0;
i = 1;
while (i <= 23) {
if (eval (("_root.c" + i) + ".ctrl") == 0) {
Set(("_root.c" + i) + ".skflag", 0);
Set(("_root.c" + i) + ".card", card);
Set(("_root.c" + i) + ".statu", "copye");
Set(("_root.c" + i) + ".copyn", pos);
found = 1;
target = "_root.c" + i;
eval (target).gotoAndPlay(2);
instantfx.gotoAndPlay("parallel");
eval (target).instantfx.gotoAndPlay("parallel");
_root.sel.gotoAndPlay("targeted");
break;
}
i++;
}
}
if (_root.sel.skill == "holy light") {
found = 1;
instantfx.gotoAndPlay("holy light");
_root.sel.gotoAndPlay("targeted");
if ((costelement == 2) or (costelement == 11)) {
defnow = defnow - 10;
dmgfx.val = "- 10";
dmgfx.gotoAndPlay(2);
if (defnow <= 0) {
card = 0;
ctrl = 0;
gotoAndStop (1);
}
} else if (defnow < def) {
defnow = defnow + 10;
dmgfx.val = "+ 10";
dmgfx.gotoAndPlay(2);
if (defnow > def) {
defnow = def;
}
}
}
if (_root.sel.skill == "momentum") {
if (skill == "") {
skill = "momentum";
}
momentum = 1;
atknow = atknow + 1;
defnow = defnow + 1;
atk = atk + 1;
def = def + 1;
dmgfx.val = "+1 / +1";
dmgfx.gotoAndPlay(2);
instantfx.gotoAndPlay("momentum");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "adrenaline") {
adrenaline = 1;
dmgfx.val = "Adrenaline";
dmgfx.gotoAndPlay(2);
instantfx.gotoAndPlay("adrenaline");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "blessing") {
atknow = atknow + 3;
defnow = defnow + 3;
instantfx.gotoAndPlay("holy light");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "rage") {
atknow = atknow + 5;
defnow = defnow - 5;
atk = atk + 5;
instantfx.gotoAndPlay("fire");
_root.sel.gotoAndPlay("targeted");
dmgfx.val = "+5 / -5";
dmgfx.gotoAndPlay(2);
}
if (_root.sel.skill == "berserk") {
atknow = atknow + 6;
defnow = defnow - 6;
atk = atk + 6;
instantfx.gotoAndPlay("fire");
_root.sel.gotoAndPlay("targeted");
dmgfx.val = "+6 / -6";
dmgfx.gotoAndPlay(2);
}
if (_root.sel.skill == "antimatter") {
atknow = -atknow;
atk = -atk;
instantfx.gotoAndPlay("entropy");
_root.sel.gotoAndPlay("targeted");
dmgfx.val = "Antimatter";
dmgfx.gotoAndPlay(2);
}
if (_root.sel.skill == "heal") {
if (defnow < def) {
defnow = defnow + 5;
dmgfx.val = "+ 5";
dmgfx.gotoAndPlay(2);
if (defnow > def) {
defnow = def;
}
}
instantfx.gotoAndPlay("holy light");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "armor") {
defnow = defnow + 3;
def = def + 3;
instantfx.gotoAndPlay("earth");
_root.sel.gotoAndPlay("targeted");
dmgfx.val = "+0 / +3";
dmgfx.gotoAndPlay(2);
}
if (_root.sel.skill == "heavy armor") {
defnow = defnow + 6;
def = def + 6;
instantfx.gotoAndPlay("earth");
_root.sel.gotoAndPlay("targeted");
dmgfx.val = "+0 / +6";
dmgfx.gotoAndPlay(2);
}
if (_root.sel.skill == "petrify") {
skflag = 0;
delay = 6;
instantfx.gotoAndPlay("stoneskin");
defnow = defnow + 20;
def = def + 20;
_root.sel.gotoAndPlay("targeted");
dmgfx.val = "+0 / +20";
dmgfx.gotoAndPlay(2);
}
if (_root.sel.skill == "guard") {
skflag = 0;
delay = delay + 1;
instantfx.gotoAndPlay("stoneskin");
if (passive2 != "airborne") {
defnow = defnow - _root.sel.guard;
if (_root.sel.guard < 0) {
def = def - _root.sel.guard;
}
}
_root.sel.gotoAndPlay("targeted");
dmgfx.val = "Guard";
dmgfx.gotoAndPlay(2);
}
if (_root.sel.skill == "reverse time") {
if (passive == "mummy") {
card = 1012 + (Math.floor(card / 2000) * 2000);
gotoAndStop (2);
} else if (passive == "undead") {
rancard = Math.floor(_root.rand() * _root.cindexn);
card = _root.cindexx[rancard] + (Math.floor(card / 2000) * 2000);
gotoAndPlay (2);
} else {
_root.deckex[_root.decken] = card;
_root.decken = _root.decken + 1;
iexist = 0;
card = 0;
ctrl = 0;
gotoAndStop (1);
}
instantfx.gotoAndPlay("hatch");
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "immortality") {
instantfx.gotoAndPlay("immortal");
statu = "invulnerable";
immortal = 1;
frozen = 0;
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "wisdom") {
dmgfx.val = "+4 / +0";
dmgfx.gotoAndPlay(2);
atknow = atknow + 4;
atk = atk + 4;
if (immortal == 1) {
immortal = 2;
instantfx.gotoAndPlay("wisdom");
}
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "gravity pull") {
if (_root.shieldcreaturee > 0) {
Set(("_root.ce" + _root.shieldcreaturee) + ".icons.gravity._visible", false);
}
instantfx.gotoAndPlay("gravity pull");
_root.shieldcreaturee = pos;
_root.sel.gotoAndPlay("targeted");
}
if (_root.sel.skill == "fractal") {
_root.sel.gotoAndPlay("targeted");
_root.sel.card = 0;
_root.adjq(0, 12);
i = 1;
while (i <= 8) {
if (eval (("_root.h" + i) + ".card") == 0) {
Set(("_root.h" + i) + ".card", card);
eval ("_root.h" + i).gotoAndPlay(2);
_root.cardshand = _root.cardshand + 1;
}
i++;
}
}
if (_root.sel.skill == "nightmare") {
_root.sel.gotoAndPlay("targeted");
if (_root.sanctuarye == 0) {
nightmare = 0;
i = 1;
while (i <= 8) {
if (eval (("_root.he" + i) + ".card") == 0) {
Set(("_root.he" + i) + ".card", card);
eval ("_root.he" + i).gotoAndPlay(2);
_root.cardshande = _root.cardshande + 1;
nightmare++;
}
i++;
}
if (nightmare > 0) {
dmg = nightmare * 2;
_root.addhpe(-dmg);
_root.efx.gotoAndPlay("drainlife");
_root.efx.nightmare = nightmare;
_root.addhp(dmg);
_root.hpeffect.val = "+ " + dmg;
_root.hpeffect.gotoAndPlay(2);
_root.hpcorrect();
}
} else {
dmgfx.val = "Sanctuary";
dmgfx.gotoAndPlay(2);
}
}
_root.bigone.gotoAndStop(1);
_root.lock.gotoAndStop(1);
if ((defnow <= 0) and (savedef != defnow)) {
card = 0;
ctrl = 0;
freeze = 0;
gotoAndStop (1);
}
if ((_root.sel.skill == "mutation") or (_root.sel.skill == "improve")) {
ran = _root.rand();
if (_root.sel.skill == "improve") {
ran = 0.9;
}
instantfx.gotoAndPlay("mutation");
if (ran < 0.1) {
_root.sel.skill = "paradox";
} else if ((ran >= 0.1) and (ran < 0.7)) {
_root.sel.gotoAndPlay("targeted");
card = 102;
gotoAndPlay (2);
} else if (ran >= 0.7) {
_root.sel.gotoAndPlay("targeted");
card = Math.floor(_root.rand() * _root.cindexn);
card = _root.cindexx[card];
statu = "mutation";
gotoAndPlay (2);
}
}
if (_root.sel.skill == "paradox") {
card = 0;
ctrl = 0;
gotoAndStop (1);
_root.sel.gotoAndPlay("targeted");
}
}
}
def = Math.min(def, 499);
defnow = Math.min(defnow, 499);
atk = Math.min(atk, 499);
atknow = Math.min(atknow, 499);
}
Symbol 2669 MovieClip Frame 1
var atk;
var def;
var atknow;
var defnow;
instantfx.resurrect = 0;
skflag = 0;
atk = 0;
def = 0;
atknow = 0;
defnow = 0;
poison = 0;
dive = 0;
n = 1;
nswarm = 1;
momentum = 0;
adrenaline = 0;
immortal = 0;
burrow = 0;
pcreature = 0;
adrush = 0;
freeze = 0;
frozen = 0;
delay = 0;
panded = 1;
readiness = 0;
newchimera = 0;
divineshield = 0;
statu = "";
if ((skill == "phoenix") and (iexist == 1)) {
ctrl = 1;
instantfx.resurrect = 2;
}
if (((mythosis == 1) and (card != 32)) and (prevcard != 32)) {
instantfx.resurrect = 1;
}
mythosis = 0;
if (_root.shieldcreaturee == pos) {
_root.shieldcreaturee = 0;
}
if ((iexist == 1) and (instantfx._currentframe == 1)) {
instantfx.gotoAndPlay("die");
}
stop();
Symbol 2669 MovieClip Frame 2
iexist = 1;
if (_root.cloake == 0) {
this._visible = true;
} else {
this._visible = false;
}
gotoAndPlay (3);
Symbol 2669 MovieClip Frame 3
passive = "";
passive2 = "";
txt.gotoAndStop(card);
quantum.gotoAndStop(1);
play();
Symbol 2669 MovieClip Frame 4
atknow = atk;
defnow = def;
prevcard = card;
if (card > 2000) {
elite = 1;
} else {
elite = 0;
}
if (((((costelement == 2) or (costelement == 11)) and (_root.nightfall > 0)) and (statu != "copy")) and (statu != "copye")) {
atk = atk + _root.nightfall;
def = def + 1;
atknow = atknow + _root.nightfall;
defnow = defnow + 1;
}
if (statu == "copy") {
ctrl = eval (("_root.c" + copyn) + ".ctrl");
def = eval (("_root.c" + copyn) + ".def");
atk = eval (("_root.c" + copyn) + ".atk");
defnow = eval (("_root.c" + copyn) + ".defnow");
atknow = eval (("_root.c" + copyn) + ".atknow");
n = eval (("_root.c" + copyn) + ".n");
poison = eval (("_root.c" + copyn) + ".poison");
frozen = eval (("_root.c" + copyn) + ".frozen");
delay = eval (("_root.c" + copyn) + ".delay");
momentum = eval (("_root.c" + copyn) + ".momentum");
adrenaline = eval (("_root.c" + copyn) + ".adrenaline");
immortal = eval (("_root.c" + copyn) + ".immortal");
statu = eval (("_root.c" + copyn) + ".statu");
skill = eval (("_root.c" + copyn) + ".skill");
maintain = eval (("_root.c" + copyn) + ".maintain");
skillcost = eval (("_root.c" + copyn) + ".skillcost");
skillelement = eval (("_root.c" + copyn) + ".skillelement");
}
if (statu == "copye") {
ctrl = eval (("_root.ce" + copyn) + ".ctrl");
def = eval (("_root.ce" + copyn) + ".def");
atk = eval (("_root.ce" + copyn) + ".atk");
defnow = eval (("_root.ce" + copyn) + ".defnow");
atknow = eval (("_root.ce" + copyn) + ".atknow");
nold = eval (("_root.ce" + copyn) + ".nold");
poison = eval (("_root.ce" + copyn) + ".poison");
frozen = eval (("_root.ce" + copyn) + ".frozen");
delay = eval (("_root.ce" + copyn) + ".delay");
momentum = eval (("_root.ce" + copyn) + ".momentum");
adrenaline = eval (("_root.ce" + copyn) + ".adrenaline");
mythosis = eval (("_root.ce" + copyn) + ".mythosis");
immortal = eval (("_root.ce" + copyn) + ".immortal");
statu = eval (("_root.ce" + copyn) + ".statu");
skill = eval (("_root.ce" + copyn) + ".skill");
skillcost = eval (("_root.ce" + copyn) + ".skillcost");
maintain = eval (("_root.ce" + copyn) + ".maintain");
skillelement = eval (("_root.ce" + copyn) + ".skillelement");
}
if (statu == "mutation") {
statu == "";
var cskills = new Array("guard", "endow", "mitosis", "hatch", "freeze", "burrow", "destroy", "steal", "dive", "heal", "momentum", "paradox", "lycanthropy", "scavenger", "infection", "gravity pull", "devour", "mutation", "growth", "ablaze", "poison", "deja vu", "immaterial");
ran = Math.floor(_root.rand() * 23);
skill = cskills[ran];
def = def + Math.floor(_root.rand() * 5);
defnow = def;
atk = atk + Math.floor(_root.rand() * 5);
atknow = atk;
skillcost = Math.floor(_root.rand() * 2) + 1;
skillelement = costelement;
if (((skill == "momentum") or (skill == "scavenger")) or (skill == "immaterial")) {
skillcost = "";
skillelement = 0;
}
}
if (skill == "golem") {
atk = ((((((((((((_root.goleme[1] * 2) + (_root.goleme[2] * 2)) + (_root.goleme[3] * 0)) + (_root.goleme[4] * 1)) + (_root.goleme[5] * 2)) + (_root.goleme[6] * 3)) + (_root.goleme[7] * 2)) + (_root.goleme[8] * 2)) + (_root.goleme[9] * 2)) + (_root.goleme[10] * 2)) + (_root.goleme[11] * 2)) + (_root.goleme[12] * 2)) + _root.goleme[13];
def = ((((((((((((_root.goleme[1] * 2) + (_root.goleme[2] * 2)) + (_root.goleme[3] * 6)) + (_root.goleme[4] * 4)) + (_root.goleme[5] * 2)) + (_root.goleme[6] * 0)) + (_root.goleme[7] * 2)) + (_root.goleme[8] * 2)) + (_root.goleme[9] * 2)) + (_root.goleme[10] * 2)) + (_root.goleme[11] * 2)) + (_root.goleme[12] * 2)) + _root.goleme[13];
skillcost = "";
if (_root.goleme[4] >= 0) {
skill = "burrow";
skillcost = 1;
}
if (_root.goleme[1] >= 1) {
skill = "dead/alive";
skillcost = 1;
}
if (_root.goleme[2] >= 1) {
skill = "infection";
skillcost = 1;
}
if (_root.goleme[5] >= 1) {
skill = "growth";
skillcost = 2;
}
if (_root.goleme[8] >= 1) {
skill = "heal";
skillcost = 1;
}
if (_root.goleme[9] >= 1) {
passive2 = "airborne";
}
if (_root.goleme[11] >= 1) {
passive = "devourer";
}
if (_root.goleme[4] >= 2) {
skill = "stone form";
skillcost = 1;
}
if (_root.goleme[1] >= 2) {
skill = "mutation";
skillcost = 2;
}
if (_root.goleme[2] >= 2) {
skill = "scavenger";
skillcost = "";
}
if (_root.goleme[3] >= 2) {
momentum = 1;
}
if (_root.goleme[5] >= 2) {
adrenaline = 1;
}
if (_root.goleme[6] >= 2) {
skill = "ablaze";
skillcost = 1;
}
if (_root.goleme[7] >= 2) {
skill = "steam";
skillcost = 2;
}
if (_root.goleme[9] >= 2) {
skill = "queen";
skillcost = 2;
}
if (_root.goleme[10] >= 2) {
skill = "scarab";
skillcost = 2;
}
if (_root.goleme[11] >= 2) {
passive = "voodoo";
}
if (_root.goleme[12] >= 2) {
immortal = 1;
}
if (_root.goleme[1] >= 3) {
skill = "paradox";
skillcost = 2;
}
if (_root.goleme[6] >= 3) {
skill = "fiery";
skillcost = "";
}
if (_root.goleme[8] >= 3) {
skill = "endow";
skillcost = 2;
}
if (_root.goleme[9] >= 3) {
skill = "sniper";
skillcost = 2;
}
if (_root.goleme[10] >= 3) {
skill = "deja vu";
skillcost = 4;
}
if (_root.goleme[11] >= 3) {
skill = "vampire";
skillcost = "";
}
if (_root.goleme[12] >= 3) {
skill = "lobotomize";
skillcost = 2;
}
if (_root.goleme[4] >= 4) {
skill = "guard";
skillcost = 1;
}
if (_root.goleme[1] >= 4) {
skill = "improve";
skillcost = 2;
}
if (_root.goleme[2] >= 4) {
skill = "venom";
skillcost = "";
}
if (_root.goleme[7] >= 4) {
skill = "freeze";
skillcost = 3;
}
if (_root.goleme[9] >= 4) {
skill = "dive";
skillcost = 2;
}
if (_root.goleme[10] >= 4) {
skill = "neurotoxin";
skillcost = "";
}
if (_root.goleme[1] >= 5) {
skill = "scramble";
skillcost = "";
}
if (_root.goleme[2] >= 5) {
skill = "aflatoxin";
skillcost = 2;
}
if (_root.goleme[3] >= 5) {
skill = "devour";
skillcost = 3;
}
if (_root.golem[5] >= 5) {
skill = "adrenaline";
skillcost = 2;
}
if (_root.goleme[6] >= 5) {
skill = "destroy";
skillcost = 3;
}
if (_root.goleme[11] >= 5) {
skill = "liquid shadow";
skillcost = 2;
}
if (_root.goleme[4] >= 6) {
skill = "petrify";
skillcost = 2;
}
if (_root.goleme[1] >= 6) {
skill = "antimatter";
skillcost = 4;
}
if (_root.goleme[2] >= 6) {
skill = "deadly venom";
skillcost = "";
}
if (_root.goleme[3] >= 6) {
skill = "black hole";
skillcost = 4;
}
if (_root.goleme[5] >= 6) {
skill = "mitosis";
skillcost = 4;
}
if (_root.goleme[6] >= 6) {
skill = "rage";
skillcost = 2;
}
if (_root.goleme[7] >= 6) {
skill = "nymph";
skillcost = 4;
}
if (_root.goleme[8] >= 6) {
skill = "luciferin";
skillcost = 4;
}
if (_root.goleme[9] >= 6) {
skill = "unstable gas";
skillcost = 2;
}
if (_root.goleme[10] >= 6) {
skill = "precognition";
skillcost = 2;
}
if (_root.goleme[11] >= 6) {
skill = "steal";
skillcost = 3;
}
if (_root.goleme[12] >= 6) {
skill = "immortal";
skillcost = 2;
}
skillelement = 4;
atknow = atk;
defnow = def;
instantfx.gotoAndPlay("integrity");
}
if (statu != "") {
instantfx.gotoAndPlay(statu);
}
if (frozen > 0) {
instantfx.gotoAndPlay("freeze");
}
if (delay > 0) {
instantfx.gotoAndPlay("delay");
}
if (poison > 0) {
instantfx.gotoAndPlay("poison");
}
if (skill == "momentum") {
instantfx.gotoAndPlay("momentum");
momentum = 1;
}
if ((skill == "immaterial") or (immortal == 1)) {
statu = "invulnerable";
immortal = 1;
if ((card != 415) and (card != 2415)) {
instantfx.gotoAndPlay("immortal");
}
}
if (immortal == 2) {
statu = "invulnerable";
if ((card != 415) and (card != 2415)) {
instantfx.gotoAndPlay("wisdom");
}
}
if (passive == "burrow") {
statu = "invulnerable";
instantfx.gotoAndPlay("burrow");
burrow = 1;
}
if (ctype == "weapon") {
passive2 = "airborne";
}
if (passive == "chimera") {
momentum = 1;
if (_root.shieldcreaturee > 0) {
Set(("_root.ce" + _root.shieldcreature) + ".icons.gravity._visible", false);
}
_root.shieldcreaturee = pos;
if (_root.newchimera == 0) {
_root.chimeradef = 0;
_root.chimeraatk = 0;
i = 1;
while (i <= 23) {
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".pos") != pos)) {
anyone = 1;
target = "_root.ce" + i;
eval (target).instantfx.gotoAndPlay("chimera");
_root.chimeradef = _root.chimeradef + eval (target).defnow;
_root.chimeraatk = _root.chimeraatk + eval (target).atknow;
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).iexist = 0;
eval (target).gotoAndStop(1);
}
i++;
}
}
def = _root.chimeradef;
defnow = _root.chimeradef;
atk = _root.chimeraatk;
atknow = _root.chimeraatk;
_root.newchimera = 0;
}
if (skillcost > 0) {
quantum.gotoAndStop(skillelement + 1);
}
defvoodoo = def;
poisonvoodoo = poison;
frozenvoodoo = frozen;
delayvoodoo = delay;
icons.gotoAndPlay(2);
Symbol 2669 MovieClip Frame 5
stop();
Symbol 2669 MovieClip Frame 6
if (skill == "acceleration") {
atknow = atknow + 2;
atk = atk + 2;
defnow = defnow - 1;
}
if (skill == "overdrive") {
atknow = atknow + 3;
atk = atk + 3;
defnow = defnow - 1;
}
if (divineshield > 0) {
divineshield = divineshield - 1;
icons.immortal._alpha = 60;
if (divineshield <= 0) {
immortal = 0;
statu = "";
icons.immortal._alpha = 100;
icons.immortal._visible = false;
}
}
def = Math.min(def, 499);
defnow = Math.min(defnow, 499);
atk = Math.min(atk, 499);
atknow = Math.min(atknow, 499);
defnow = Math.min(defnow - poison, def);
saveatk = atknow;
cannotdie = 0;
freedom = 0;
if (passive == "swarm") {
nold = nswarm;
nswarm = 0;
i = 1;
while (i <= 23) {
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and (((eval (("_root.ce" + i) + ".card") == card) or (eval (("_root.ce" + i) + ".card") == (card + 2000))) or (eval (("_root.ce" + i) + ".card") == (card - 2000)))) {
nswarm = nswarm + 1;
}
i++;
}
defnow = (defnow + nswarm) - nold;
def = (def + nswarm) - nold;
}
if ((passive == "singularity") and (adrush == 0)) {
rans = Math.floor(_root.rand() * 6);
if (((atknow > 0) and (_root.sacrificee == 0)) or (((skill == "vampire") and (_root.sacrificee > 0)) and (atknow < 0))) {
atknow = -atknow;
atk = atknow;
saveatk = atknow;
rans = -1;
dmgfx.vals = "Antimatter";
}
if (rans == 0) {
skill = "immaterial";
statu = "invulnerable";
immortal = 1;
instantfx.gotoAndPlay("immortal");
dmgfx.vals = "Immaterial";
}
if (rans == 1) {
adrenaline = 1;
instantfx.gotoAndPlay("adrenaline");
dmgfx.vals = "Adrenaline";
}
if (rans == 2) {
i = 1;
while (i <= 23) {
if (eval (("_root.ce" + i) + ".ctrl") == 0) {
Set(("_root.ce" + i) + ".skflag", 0);
Set(("_root.ce" + i) + ".card", card);
Set(("_root.ce" + i) + ".statu", "copye");
Set(("_root.ce" + i) + ".copyn", pos);
found = 1;
target = "_root.ce" + i;
eval (target).gotoAndPlay(2);
instantfx.gotoAndPlay("parallel");
eval (target).instantfx.gotoAndPlay("parallel");
break;
}
i++;
}
dmgfx.vals = "Infest";
}
if (rans == 3) {
skill = "vampire";
dmgfx.vals = "Vampire";
}
if (rans == 4) {
ran = Math.floor(_root.rand() * 5) + 1;
ran2 = Math.floor(_root.rand() * 5) + 1;
atknow = atknow - ran;
defnow = defnow + ran2;
atk = atk - ran;
def = def + ran2;
saveatk = atknow;
instantfx.gotoAndPlay("holy light");
dmgfx.vals = "Chaos Power";
}
if (rans == 5) {
_root.fx.gotoAndPlay("nova");
i = 1;
while (i <= 12) {
_root.qadjust(i, 1);
i++;
}
dmgfx.vals = "Nova";
}
}
if (skill == "fiery") {
atknow = atknow + Math.floor(_root.retqe(6) / 5);
}
if (skill == "regenerate") {
atktext = "+ 5";
_root.hpeffecte.val = atktext;
_root.hpeffecte.gotoAndPlay(2);
_root.addhpe(5);
}
if (adrenaline > 0) {
adlimit = 4 - Math.floor(Math.sqrt(Math.abs(atknow)));
atknow = Math.ceil(atknow - ((((3 - adlimit) / 3) * atknow) * adrush));
adrush = adrush + 1;
if (adrush > adlimit) {
adrush = 0;
}
}
if ((skill == "hammer") and ((_root.elemente == 3) or (_root.elemente == 4))) {
atknow = atknow + 1;
}
if ((skill == "dagger") and ((_root.elemente == 2) or (_root.elemente == 11))) {
atknow = atknow + 1;
}
if ((skill == "bow") and (_root.elemente == 9)) {
atknow = atknow + 1;
}
if (_root.sundial > 0) {
atknow = 0;
}
if (((atknow > 0) and (passive2 == "airborne")) and (_root.freedome > _root.rand())) {
atknow = Math.round(atknow * 1.5);
freedom = 1;
_root.fx.gotoAndPlay("crit");
}
if (frozen > 0) {
atknow = 0;
frozen = frozen - 1;
if (frozen < 1) {
instantfx.gotoAndPlay("unfrozen");
}
}
if (delay > 0) {
atknow = 0;
delay = delay - 1;
if (delay < 1) {
instantfx.gotoAndPlay("undelay");
}
}
if (((_root.shieldtype == "reflect") and ((immortal == 2) or (skill == "psion"))) and (atknow != 0)) {
_root.p4.instantfx.gotoAndPlay("reflect");
_root.p4.dmgfx.val = "reflect";
_root.p4.dmgfx.gotoAndPlay(2);
_root.addhpe(-atknow);
_root.hpeffecte.val = "- " + atknow;
if (atknow < 0) {
atktext = -atknow;
_root.hpeffecte.val = "+ " + atktext;
}
_root.hpeffecte.gotoAndPlay(2);
_root.efx.gotoAndPlay("lightning");
atknow = 0;
}
if (((_root.shieldtype != "reflect") and ((immortal == 2) or (skill == "psion"))) and (atknow != 0)) {
_root.addhp(-atknow);
_root.hpeffect.val = "- " + atknow;
if (atknow < 0) {
atktext = -atknow;
_root.hpeffecte.val = "+ " + atktext;
}
_root.hpeffect.gotoAndPlay(2);
_root.fx.gotoAndPlay("lightning");
atknow = 0;
}
if ((delay < 1) and (frozen < 1)) {
skflag = 1;
}
if (((((_root.shieldcreature > 0) and (atknow > 0)) and (freedom != 1)) and (momentum != 1)) and (eval (("_root.c" + _root.shieldcreature) + ".ctrl") > 0)) {
Set(("_root.c" + _root.shieldcreature) + ".defnow", eval (("_root.c" + _root.shieldcreature) + ".defnow") - atknow);
target = "_root.c" + _root.shieldcreature;
eval (target).dmgfx.gotoAndPlay(2);
eval (target).dmgfx.val = "- " + atknow;
if (skill == "vampire") {
atktext = "+ " + atknow;
_root.hpeffecte.val = atktext;
_root.hpeffecte.gotoAndPlay(2);
_root.addhpe(atknow);
}
atknow = 0;
if (eval (("_root.c" + _root.shieldcreature) + ".defnow") <= 0) {
eval (target).card = 0;
_root.shieldcreature = 0;
eval (target).ctrl = 0;
eval (target).gotoAndStop(1);
}
}
if (((momentum != 1) and (freedom != 1)) and (atknow != 0)) {
if (_root.shieldtype == "phaseshift") {
atknow = 0;
dmgfx.val = "Miss";
dmgfx.gotoAndPlay(2);
}
if ((_root.shieldtype == "solar") and (atknow > 0)) {
_root.qadjust(8, Math.min(atknow, _root.shield));
_root.p4.qup.gotoAndStop(9);
_root.p4.qup2.gotoAndStop(9);
}
if (atknow > 0) {
atknow = atknow - _root.shield;
if (atknow < 0) {
atknow = 0;
}
}
if ((_root.shieldtype == "weight") and (defnow > 5)) {
atknow = 0;
dmgfx.val = "Blocked";
dmgfx.gotoAndPlay(2);
}
if (((_root.shieldtype == "wings") and (passive2 != "airborne")) and (passive != "ranged")) {
atknow = 0;
dmgfx.val = "Miss";
dmgfx.gotoAndPlay(2);
}
if ((_root.shieldtype == "delay") and (atknow > 0)) {
skflag = 0;
delay = 1;
instantfx.gotoAndPlay("delay");
}
if (((_root.shieldtype == "ice") and (_root.rand() <= 0.3)) and (atknow > 0)) {
if (statu == "shield") {
_root.shieldcreaturee = 0;
}
instantfx.gotoAndPlay("freeze");
skflag = 0;
frozen = 3;
}
if (((_root.shieldtype == "spines") and (_root.rand() <= 0.75)) and (atknow > 0)) {
instantfx.gotoAndPlay("poisonfx");
poison = poison + 1;
}
if ((_root.shieldtype == "firewall") and (atknow > 0)) {
defnow = defnow - 1;
instantfx.gotoAndPlay("fire");
dmgfx.val = "- 1";
dmgfx.gotoAndPlay(2);
}
if (((_root.shieldtype == "fog") and (_root.rand() <= 0.4)) and (atknow > 0)) {
atknow = 0;
dmgfx.val = "Miss";
dmgfx.gotoAndPlay(2);
}
if (((_root.shieldtype == "dusk") and (_root.rand() <= 0.5)) and (atknow > 0)) {
atknow = 0;
dmgfx.val = "Miss";
dmgfx.gotoAndPlay(2);
}
if ((((((_root.shieldtype == "unholy") and (mythosis == 0)) and (card != 206)) and (card != 2206)) and (_root.rand() <= (0.5 / defnow))) and (atknow > 0)) {
cannotdie = 1;
_root.deathtrigger();
instantfx.gotoAndPlay("die2");
_root.p4.instantfx.gotoAndPlay("kill");
card = (Math.floor(card / 2000) * 2000) + 206;
gotoAndPlay (2);
}
if ((_root.shieldtype == "bones") and (atknow > 0)) {
atknow = 0;
dmgfx.val = "Blocked";
dmgfx.gotoAndPlay(2);
_root.p4.ctrl = _root.p4.ctrl - 1;
_root.p4.n = _root.p4.ctrl + " X";
if (_root.p4.ctrl <= 0) {
_root.deshield();
}
}
if (((_root.shieldtype == "dissipation") and (_root.sanctuary == 0)) and (atknow > 0)) {
_root.q0 = 0;
_root.qe0 = 0;
i = 1;
while (i <= 12) {
_root.q0 = _root.q0 + _root.retq(i);
_root.qe0 = _root.qe0 + _root.retqe(i);
i++;
}
if (_root.q0 >= atknow) {
_root.qadjust(0, -atknow);
atknow = 0;
dmgfx.val = "Absorbed";
dmgfx.gotoAndPlay(2);
} else {
_root.deshield();
}
}
if (((_root.shieldtype == "edissipation") and (_root.sanctuary == 0)) and (atknow > 0)) {
if (_root.retq(1) >= Math.ceil(atknow / 3)) {
_root.qadjust(1, -Math.ceil(atknow / 3));
atknow = 0;
dmgfx.val = "Absorbed";
dmgfx.gotoAndPlay(2);
} else {
_root.deshield();
}
}
}
_root.addhp(-atknow);
if (atknow != 0) {
atktext = "- " + atknow;
if (atknow < 0) {
atktext = "+ " + (-atknow);
}
_root.hpeffect.val = atktext;
_root.hpeffect.gotoAndPlay(2);
soundfx = "hit" + (Math.floor(Math.sqrt(atknow + 1)) - 1);
if (atknow < 0) {
soundfx = "heal";
}
_root.soundfx.gotoAndPlay(soundfx);
dmgfx.gotoAndPlay(2);
dmgfx.val = atknow;
if (skill == "vampire") {
atktext = "+ " + atknow;
_root.hpeffecte.val = atktext;
_root.hpeffecte.gotoAndPlay(2);
_root.addhpe(atknow);
}
if ((skill == "venom") and (adrush <= 1)) {
_root.addpo(1);
_root.fx.gotoAndPlay("poison");
}
if ((skill == "deadly venom") and (adrush <= 1)) {
_root.addpo(2);
_root.fx.gotoAndPlay("poison");
}
if ((skill == "neurotoxin") and (adrush <= 1)) {
_root.neuro = 1;
_root.addpo(1);
_root.fx.gotoAndPlay("poison");
}
if (skill == "scramble") {
_root.q0 = 0;
_root.qe0 = 0;
i = 1;
while (i <= 12) {
_root.q0 = _root.q0 + _root.retq(i);
_root.qe0 = _root.qe0 + _root.retqe(i);
i++;
}
if (_root.q0 > 9) {
_root.qadjust(0, -9);
nq = 9;
} else {
nq = _root.q0 - 1;
_root.qadjust(0, -(_root.q0 - 1));
}
var addquantum2 = new Array();
i = 1;
while (i <= 12) {
addquantum2[i] = 0;
i++;
}
i = 1;
while (i <= nq) {
elementnow = 1 + Math.floor(_root.rand() * 12);
addquantum2[elementnow] = addquantum2[elementnow] + 1;
i++;
}
i = 1;
while (i <= 12) {
_root.qadjust(i, addquantum2[i]);
i++;
}
}
}
if (((defnow <= 0) and (cannotdie == 0)) or (((((pos > 5) and (_root.flood == 1)) and (statu != "invulnerable")) and (costelement != 7)) and (costelement != 0))) {
card = 0;
ctrl = 0;
gotoAndStop (1);
}
if (((((passive == "devourer") and (_root.sanctuary == 0)) and (frozen < 1)) and (delay < 1)) and (adrush <= 1)) {
i = 1;
while (i <= 100) {
ran = 1 + Math.floor(_root.rand() * 12);
if (_root.retq(ran) > 0) {
instantfx.gotoAndPlay("absorb");
_root.qadjust(ran, -1);
_root.qadjuste(11, 1);
break;
}
i++;
}
}
if ((skill == "light") and (frozen < 1)) {
instantfx.gotoAndPlay("lightg");
_root.qadjuste(8, 1);
}
if ((skill == "fire") and (frozen < 1)) {
instantfx.gotoAndPlay("fireg");
_root.qadjuste(6, 1);
}
if ((skill == "earth") and (frozen < 1)) {
instantfx.gotoAndPlay("earthg");
_root.qadjuste(4, 1);
}
if ((skill == "air") and (frozen < 1)) {
instantfx.gotoAndPlay("airg");
_root.qadjuste(9, 1);
}
if ((((skill == "infest") and (frozen < 1)) and (mythosis == 1)) and (defnow > 0)) {
elite = Math.floor(card / 2000) * 2000;
j = 1;
while (j <= 23) {
if ((eval (("_root.ce" + j) + ".ctrl") == 0) and (eval (("_root.ce" + j) + ".def") == 0)) {
Set(("_root.ce" + j) + ".ctrl", 1);
Set(("_root.ce" + j) + ".skflag", 0);
Set(("_root.ce" + j) + ".card", 32);
target = "_root.ce" + j;
eval (target).gotoAndPlay(2);
break;
}
j++;
}
eval ("_root.ce" + j).instantfx.gotoAndPlay("Poison");
}
if ((skill == "infest") and (frozen < 1)) {
mythosis = 1;
}
atknow = saveatk;
if (dive == 1) {
dive = 0;
atknow = atk;
}
if ((skill == "steam") and (atknow > atk)) {
atknow = atknow - 1;
}
if (skill == "immaterial") {
statu = "invulnerable";
}
if (passive == "voodoo") {
vcreature = "ce" + pos;
_root.voodoo(vcreature);
}
if (_root.rethpe() < 0) {
_root.adjhpe(0);
}
if (_root.rethp() < 0) {
_root.adjhp(0);
}
if (_root.rethp() > _root.hpmax) {
_root.adjhp(_root.hpmax);
}
if (_root.rethpe() > _root.hpemax) {
_root.adjhpe(_root.hpemax);
}
readiness = 0;
stop();
Symbol 2669 MovieClip Frame 7
cross._alpha = 100;
sniper._visible = false;
if (((_root.freedome > 0) and (costelement == 9)) and (passive2 == "airborne")) {
cross._alpha = 100 - (_root.freedome * 100);
sniper._visible = true;
}
Symbol 2670 MovieClip Frame 1
stop();
Symbol 2670 MovieClip Frame 2
play();
Symbol 2670 MovieClip Frame 15
newcard.gotoAndStop(_root.deckx[_root.deckn - 1]);
Symbol 2672 MovieClip Frame 1
stop();
Symbol 2672 MovieClip Frame 2
play();
Symbol 2672 MovieClip Frame 26
gotoAndStop (1);
Symbol 2673 MovieClip Frame 1
n = 0;
stop();
Symbol 2673 MovieClip Frame 2
if (_root.lowq == 0) {
n = n + 1;
if (n > 5) {
n = 1;
}
Set(("effect" + n) + ".val", val);
target = "effect" + n;
eval (target).gotoAndPlay(2);
} else {
gotoAndStop (1);
}
i = 1;
while (i <= 12) {
eval (("_root.qbare" + i) + ".qmask")._xscale = (eval ("_root.qe" + i) * 2) + 1;
if (eval (("_root.qbare" + i) + ".qmask")._xscale > 100) {
eval (("_root.qbare" + i) + ".qmask")._xscale = 100;
}
i++;
}
Symbol 2673 MovieClip Frame 3
stop();
Symbol 2674 MovieClip Frame 1
stop();
Symbol 2674 MovieClip Frame 2
play();
Symbol 2674 MovieClip Frame 26
gotoAndStop (1);
Symbol 2675 MovieClip Frame 1
n = 0;
stop();
Symbol 2675 MovieClip Frame 2
if (_root.lowq == 0) {
n = n + 1;
if (n > 5) {
n = 1;
}
Set(("effect" + n) + ".val", val);
target = "effect" + n;
eval (target).gotoAndPlay(2);
} else {
gotoAndStop (1);
}
i = 1;
while (i <= 12) {
eval (("_root.qbar" + i) + ".qmask")._xscale = (eval ("_root.q" + i) * 2) + 1;
if (eval (("_root.qbar" + i) + ".qmask")._xscale > 100) {
eval (("_root.qbar" + i) + ".qmask")._xscale = 100;
}
i++;
}
Symbol 2675 MovieClip Frame 3
stop();
Symbol 2676 MovieClip Frame 1
stop();
Symbol 2676 MovieClip Frame 2
play();
Symbol 2676 MovieClip Frame 26
gotoAndStop (1);
Symbol 2677 MovieClip Frame 1
n = 0;
stop();
Symbol 2677 MovieClip Frame 2
if (_root.lowq == 0) {
n = n + 1;
if (n > 15) {
n = 1;
}
Set(("effect" + n) + ".val", val);
target = "effect" + n;
eval (target).gotoAndPlay(2);
} else {
gotoAndStop (1);
}
Symbol 2677 MovieClip Frame 3
stop();
Symbol 2681 MovieClip Frame 1
stop();
Symbol 2685 MovieClip Frame 1
stop();
Symbol 2689 MovieClip Frame 1
stop();
Symbol 2695 MovieClip Frame 1
gotoAndPlay(Math.floor(Math.random() * 10) + 1);
Symbol 2695 MovieClip Frame 26
stop();
Symbol 2700 MovieClip Frame 11
stop();
Symbol 2703 MovieClip Frame 1
nightmare = 0;
if ((_root.neuroe == 0) and (_root.retpoe() == 0)) {
poison._alpha = 0;
}
if (_root.retpoe() > 0) {
poison.gotoAndStop(1);
}
if (_root.retpoe() < 0) {
poison.gotoAndStop(2);
}
if (_root.neuroe > 0) {
poison.gotoAndStop(3);
}
stop();
Symbol 2703 MovieClip Frame 2
poison._alpha = 100;
Symbol 2703 MovieClip Frame 20
gotoAndStop (1);
Symbol 2703 MovieClip Frame 21
poison._alpha = 100;
Symbol 2703 MovieClip Frame 39
gotoAndStop (1);
Symbol 2703 MovieClip Frame 40
if (_root.who == "player") {
n = Math.floor((_root.q7 + _root.lastcost) / 10) + 1;
}
if (_root.who == "cpu") {
n = Math.floor(_root.qe7 / 10) + 1;
}
Symbol 2703 MovieClip Frame 48
n = n - 1;
_root.hpeffecte.val = "- 2";
_root.hpeffecte.gotoAndPlay(2);
if (n > 0) {
gotoAndPlay ("icebolt2");
} else {
gotoAndStop (1);
}
Symbol 2703 MovieClip Frame 49
play();
Symbol 2703 MovieClip Frame 60
gotoAndStop (1);
Symbol 2703 MovieClip Frame 61
if (_root.who == "player") {
n = Math.floor((_root.q6 + _root.lastcost) / 10) + 1;
}
if (_root.who == "cpu") {
n = Math.floor(_root.qe6 / 10) + 1;
}
Symbol 2703 MovieClip Frame 70
n = n - 1;
_root.hpeffecte.val = "- 3";
_root.hpeffecte.gotoAndPlay(2);
if (n > 0) {
gotoAndPlay ("firebolt2");
} else {
gotoAndStop (1);
}
Symbol 2703 MovieClip Frame 89
gotoAndStop (1);
Symbol 2703 MovieClip Frame 90
play();
Symbol 2703 MovieClip Frame 109
gotoAndStop (1);
Symbol 2703 MovieClip Frame 135
gotoAndStop (1);
Symbol 2703 MovieClip Frame 136
play();
Symbol 2703 MovieClip Frame 155
gotoAndStop (1);
Symbol 2703 MovieClip Frame 156
if (_root.who == "player") {
n = Math.floor((_root.q11 + _root.lastcost) / 10) + 1;
}
if (_root.who == "cpu") {
n = Math.floor(_root.qe11 / 10) + 1;
}
if (nightmare > 0) {
n = nightmare;
nightmare = 0;
}
Symbol 2703 MovieClip Frame 161
n = n - 1;
_root.hpeffecte.val = "- 2";
_root.hpeffecte.gotoAndPlay(2);
if (n > 0) {
gotoAndPlay ("drainlife2");
play();
} else {
gotoAndStop (1);
}
Symbol 2703 MovieClip Frame 167
n = n - 1;
_root.hpeffecte.val = "- 2";
_root.hpeffecte.gotoAndPlay(2);
if (n > 0) {
gotoAndPlay ("drainlife2");
} else {
gotoAndStop (1);
}
Symbol 2703 MovieClip Frame 168
play();
Symbol 2703 MovieClip Frame 200
gotoAndStop (1);
Symbol 2703 MovieClip Frame 226
gotoAndStop (1);
Symbol 2703 MovieClip Frame 250
gotoAndStop (1);
Symbol 2703 MovieClip Frame 260
gotoAndStop (1);
Symbol 2703 MovieClip Frame 270
gotoAndStop (1);
Symbol 2712 MovieClip Frame 1
stop();
Symbol 2712 MovieClip Frame 2
if (_root.level == "pvp") {
gotoAndStop (2);
}
Symbol 2713 Button
on (release) {
_root.locktarget = 1;
gotoAndPlay ("cancel");
}
Symbol 2714 MovieClip Frame 1
stop();
statu = "idle";
working = 0;
Symbol 2714 MovieClip Frame 2
play();
_root.lockskill = 1;
working = 1;
_root.donebutton.gotoAndStop(3);
if (targeting == "all") {
_root.targethp.gotoAndStop("targetme");
_root.targethpe.gotoAndStop("targetme");
targeting = "creature";
}
if (targeting == "creature") {
i = 1;
while (i <= 23) {
if (((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) and ((skill != "mitosis") or (eval (("_root.ce" + i) + ".ctype") != "weapon"))) {
eval ("_root.ce" + i).gotoAndStop("targetme");
}
if (((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) and ((skill != "mitosis") or (eval (("_root.c" + i) + ".ctype") != "weapon"))) {
eval ("_root.c" + i).gotoAndStop("targetme");
}
i++;
}
}
if (targeting == "immortals") {
i = 1;
while (i <= 23) {
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".burrow") != 1)) {
eval ("_root.ce" + i).gotoAndStop("targetme");
}
if ((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".burrow") != 1)) {
eval ("_root.c" + i).gotoAndStop("targetme");
}
i++;
}
}
if (targeting == "mycreature") {
i = 1;
while (i <= 23) {
if ((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) {
eval ("_root.c" + i).gotoAndStop("targetme");
}
i++;
}
}
if (targeting == "creaturehighatk") {
i = 1;
while (i <= 23) {
if (((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) and (eval (("_root.ce" + i) + ".atknow") > eval (("_root.ce" + i) + ".defnow"))) {
eval ("_root.ce" + i).gotoAndStop("targetme");
}
if (((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) and (eval (("_root.c" + i) + ".atknow") > eval (("_root.c" + i) + ".defnow"))) {
eval ("_root.c" + i).gotoAndStop("targetme");
}
i++;
}
}
if (targeting == "creaturelowatk") {
i = 1;
while (i <= 23) {
if (((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) and (eval (("_root.ce" + i) + ".atknow") < 3)) {
eval ("_root.ce" + i).gotoAndStop("targetme");
}
if (((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) and (eval (("_root.c" + i) + ".atknow") < 3)) {
eval ("_root.c" + i).gotoAndStop("targetme");
}
i++;
}
}
if (targeting == "permanent") {
i = 1;
while (i <= 19) {
if ((eval (("_root.pe" + i) + ".ctrl") > 0) and (eval (("_root.pe" + i) + ".statu") != "invulnerable")) {
eval ("_root.pe" + i).gotoAndStop("targetme");
}
if ((eval (("_root.p" + i) + ".ctrl") > 0) and (eval (("_root.p" + i) + ".statu") != "invulnerable")) {
eval ("_root.p" + i).gotoAndStop("targetme");
}
i++;
}
}
if (targeting == "creaturesmaller") {
i = 1;
while (i <= 23) {
if (((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) and (smaller > eval (("_root.ce" + i) + ".defnow"))) {
eval ("_root.ce" + i).gotoAndStop("targetme");
}
if (((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) and (smaller > eval (("_root.c" + i) + ".defnow"))) {
eval ("_root.c" + i).gotoAndStop("targetme");
}
i++;
}
}
if (targeting == "pillars") {
i = 1;
while (i <= 19) {
if (((eval (("_root.pe" + i) + ".ctype") == "pillar") and (eval (("_root.pe" + i) + ".ctrl") > 0)) and (eval (("_root.pe" + i) + ".statu") != "invulnerable")) {
eval ("_root.pe" + i).gotoAndStop("targetme");
}
if (((eval (("_root.p" + i) + ".ctype") == "pillar") and (eval (("_root.p" + i) + ".ctrl") > 0)) and (eval (("_root.p" + i) + ".statu") != "invulnerable")) {
eval ("_root.p" + i).gotoAndStop("targetme");
}
i++;
}
}
if (targeting == "weapon") {
i = 1;
while (i <= 19) {
if (((eval (("_root.pe" + i) + ".ctype") == "weapon") and (eval (("_root.pe" + i) + ".ctrl") > 0)) and (eval (("_root.pe" + i) + ".statu") != "invulnerable")) {
eval ("_root.pe" + i).gotoAndStop("targetme");
}
if (((eval (("_root.p" + i) + ".ctype") == "weapon") and (eval (("_root.p" + i) + ".ctrl") > 0)) and (eval (("_root.p" + i) + ".statu") != "invulnerable")) {
eval ("_root.p" + i).gotoAndStop("targetme");
}
i++;
}
i = 1;
while (i <= 23) {
if (((eval (("_root.ce" + i) + ".ctype") == "weapon") and (eval (("_root.ce" + i) + ".ctrl") > 0)) and (eval (("_root.ce" + i) + ".statu") != "invulnerable")) {
eval ("_root.ce" + i).gotoAndStop("targetme");
}
if (((eval (("_root.c" + i) + ".ctype") == "weapon") and (eval (("_root.c" + i) + ".ctrl") > 0)) and (eval (("_root.c" + i) + ".statu") != "invulnerable")) {
eval ("_root.c" + i).gotoAndStop("targetme");
}
i++;
}
}
if (skill == "steal") {
_root.stealing = 1;
} else {
_root.stealing = 0;
}
Symbol 2714 MovieClip Frame 29
stop();
Symbol 2714 MovieClip Frame 30
if (card > 0) {
if (_root.level == "pvp") {
_root.ctrln = _root.ctrln - 1;
donotcare = _root.ctrlx.pop();
_root.ctrlstep = 2;
}
_root.qadjust(costelement, cost);
if (_root.neuro == 1) {
_root.addpo(-1);
}
i = 1;
while (i <= 8) {
if (eval (("_root.h" + i) + ".card") == 0) {
Set(("_root.h" + i) + ".card", card);
eval ("_root.h" + i).gotoAndPlay(2);
_root.cardshand = _root.cardshand + 1;
break;
}
i++;
}
card = 0;
working = 0;
} else if (_root.level == "pvp") {
_root.ctrlx[_root.ctrln] = 9999;
_root.ctrln = _root.ctrln + 1;
_root.ctrlstep = 2;
}
Symbol 2714 MovieClip Frame 31
working = 0;
if ((pos < 8) and (card > 0)) {
i = pos;
while (i <= 8) {
if (eval (("_root.h" + (i + 1)) + ".card") > 0) {
Set(("_root.h" + i) + ".card", eval (("_root.h" + (i + 1)) + ".card"));
target = "_root.h" + i;
eval (target).gotoAndPlay(2);
} else {
Set(("_root.h" + i) + ".card", 0);
target = "_root.h" + i;
eval (target).gotoAndStop(1);
}
i++;
}
}
Symbol 2714 MovieClip Frame 33
_root.lockskill = 0;
_root.locktarget = 0;
_root.donebutton.gotoAndStop(2);
i = 1;
while (i <= 23) {
if (eval (("_root.ce" + i) + ".ctrl") > 0) {
eval ("_root.ce" + i).gotoAndStop("idle");
}
if (eval (("_root.c" + i) + ".ctrl") > 0) {
eval ("_root.c" + i).gotoAndStop("idle");
}
i++;
}
i = 1;
while (i <= 19) {
if (eval (("_root.pe" + i) + ".ctrl") > 0) {
eval ("_root.pe" + i).gotoAndStop("idle");
}
if (eval (("_root.p" + i) + ".ctrl") > 0) {
eval ("_root.p" + i).gotoAndStop("idle");
}
i++;
}
_root.targethp.gotoAndStop(1);
_root.targethpe.gotoAndStop(1);
Symbol 2719 MovieClip Frame 1
nightmare = 0;
if ((_root.neuro == 0) and (_root.retpo() == 0)) {
poison._alpha = 0;
}
if (_root.retpo() > 0) {
poison.gotoAndStop(1);
}
if (_root.retpo() < 0) {
poison.gotoAndStop(2);
}
if (_root.neuro > 0) {
poison.gotoAndStop(3);
}
stop();
Symbol 2719 MovieClip Frame 2
poison._alpha = 100;
Symbol 2719 MovieClip Frame 20
gotoAndStop (1);
Symbol 2719 MovieClip Frame 21
poison._alpha = 100;
Symbol 2719 MovieClip Frame 39
gotoAndStop (1);
Symbol 2719 MovieClip Frame 40
if (_root.who == "player") {
n = Math.floor((_root.q7 + _root.lastcost) / 10) + 1;
}
if (_root.who == "cpu") {
n = Math.floor(_root.qe7 / 10) + 1;
}
Symbol 2719 MovieClip Frame 48
n = n - 1;
_root.hpeffect.val = "- 2";
_root.hpeffect.gotoAndPlay(2);
if (n > 0) {
gotoAndPlay ("icebolt2");
} else {
gotoAndStop (1);
}
Symbol 2719 MovieClip Frame 49
play();
Symbol 2719 MovieClip Frame 60
gotoAndStop (1);
Symbol 2719 MovieClip Frame 61
if (_root.who == "player") {
n = Math.floor((_root.q6 + _root.lastcost) / 10) + 1;
}
if (_root.who == "cpu") {
n = Math.floor(_root.qe6 / 10) + 1;
}
Symbol 2719 MovieClip Frame 70
n = n - 1;
_root.hpeffect.val = "- 3";
_root.hpeffect.gotoAndPlay(2);
if (n > 0) {
gotoAndPlay ("firebolt2");
} else {
gotoAndStop (1);
}
Symbol 2719 MovieClip Frame 89
gotoAndStop (1);
Symbol 2719 MovieClip Frame 90
play();
Symbol 2719 MovieClip Frame 109
gotoAndStop (1);
Symbol 2719 MovieClip Frame 135
gotoAndStop (1);
Symbol 2719 MovieClip Frame 136
play();
Symbol 2719 MovieClip Frame 155
gotoAndStop (1);
Symbol 2719 MovieClip Frame 156
if (_root.who == "player") {
n = Math.floor((_root.q11 + _root.lastcost) / 10) + 1;
}
if (_root.who == "cpu") {
n = Math.floor(_root.qe11 / 10) + 1;
}
if (nightmare > 0) {
n = nightmare;
nightmare = 0;
}
Symbol 2719 MovieClip Frame 161
n = n - 1;
_root.hpeffect.val = "- 2";
_root.hpeffect.gotoAndPlay(2);
if (n > 0) {
gotoAndPlay ("drainlife2");
play();
} else {
gotoAndStop (1);
}
Symbol 2719 MovieClip Frame 167
n = n - 1;
_root.hpeffect.val = "- 2";
_root.hpeffect.gotoAndPlay(2);
if (n > 0) {
gotoAndPlay ("drainlife2");
} else {
gotoAndStop (1);
}
Symbol 2719 MovieClip Frame 168
play();
Symbol 2719 MovieClip Frame 200
gotoAndStop (1);
Symbol 2719 MovieClip Frame 226
gotoAndStop (1);
Symbol 2719 MovieClip Frame 250
gotoAndStop (1);
Symbol 2719 MovieClip Frame 260
gotoAndStop (1);
Symbol 2719 MovieClip Frame 270
gotoAndStop (1);
Symbol 2722 MovieClip Frame 1
stop();
Symbol 2722 MovieClip Frame 2
_root.bigone._x = _root._xmouse - 190;
_root.bigone._y = _root._ymouse - 240;
Symbol 2722 MovieClip Frame 3
gotoAndPlay (2);
Symbol 2722 MovieClip Frame 4
_root.bigone._x = _root._xmouse + 65;
_root.bigone._y = _root._ymouse - 15;
Symbol 2722 MovieClip Frame 5
gotoAndPlay (4);
Symbol 2726 Button
on (release) {
gotoAndStop (1);
}
Symbol 2738 MovieClip Frame 1
stop();
Symbol 2738 MovieClip Frame 212
gotoAndStop (1);
Symbol 2738 MovieClip Frame 431
gotoAndStop (1);
Symbol 2738 MovieClip Frame 641
gotoAndStop (1);
Symbol 2738 MovieClip Frame 863
gotoAndStop (1);
Symbol 2738 MovieClip Frame 1083
gotoAndStop (1);
Symbol 2740 MovieClip Frame 1
toss = Math.floor(Math.random() * 2) + 1;
if (_root.cointoss == "won") {
toss = 1;
}
if (_root.cointoss == "lost") {
toss = 2;
}
Symbol 2740 MovieClip Frame 56
if (toss == 2) {
_parent.gotoAndPlay("lost");
stop();
}
Symbol 2740 MovieClip Frame 75
if (toss == 1) {
stop();
_parent.gotoAndPlay("won");
}
Symbol 2745 MovieClip Frame 1
stop();
Symbol 2745 MovieClip Frame 2
play();
Symbol 2745 MovieClip Frame 20
stop();
Symbol 2745 MovieClip Frame 21
_parent.play();
_root.cointoss = 1;
Symbol 2745 MovieClip Frame 61
stop();
Symbol 2745 MovieClip Frame 62
_parent.play();
_root.cointoss = 2;
Symbol 2745 MovieClip Frame 103
stop();
Symbol 2749 Button
on (release) {
gotoAndStop (1);
}
Symbol 2750 Button
on (release) {
gotoAndStop (1);
_root.ignore = 1;
}
Symbol 2752 MovieClip Frame 1
stop();
Symbol 2752 MovieClip Frame 2
play();
Symbol 2752 MovieClip Frame 3
if (_root.ignore == 1) {
gotoAndStop (1);
}
Symbol 2752 MovieClip Frame 145
gotoAndStop (1);
Symbol 2765 MovieClip Frame 1
stop();
Symbol 2772 MovieClip Frame 1
stop();
Symbol 2773 Button
on (release) {
_root.tutortext = "Do you really want to quit the game?";
_root.tutor.gotoAndPlay("menu");
}
Symbol 2774 Button
on (release) {
gotoAndStop ("message");
}
Symbol 2779 Button
on (release) {
gotoAndPlay ("sendmessage");
}
Symbol 2782 Button
on (release) {
gotoAndPlay (6);
}
Symbol 2784 MovieClip Frame 1
if (_root.level == "pvp") {
gotoAndStop (2);
stop();
} else {
stop();
}
Symbol 2784 MovieClip Frame 2
stop();
Symbol 2784 MovieClip Frame 3
_root.sendmessage = "";
_root.messaging = 1;
_root.donebutton.gotoAndStop(1);
Symbol 2784 MovieClip Frame 4
if (_root.role == "master") {
_root.pvp_lv.mastermsg = _root.sendmessage;
_root.pvp_lv.errorcode = -1;
_root.pvp_lv.loadVariables(_root.pvpserver + _root.pvpwritemastermsg, "POST");
}
if (_root.role == "slave") {
_root.pvp_lv.slavemsg = _root.sendmessage;
_root.pvp_lv.errorcode = -1;
_root.pvp_lv.loadVariables(_root.pvpserver + _root.pvpwriteslavemsg, "POST");
}
Symbol 2784 MovieClip Frame 8
_root.messaging = 0;
_root.donebutton.gotoAndStop(2);
Symbol 2797 MovieClip Frame 1
stop();
Symbol 2797 MovieClip Frame 2
zero = getTimer();
bar.gotoAndStop(1);
Symbol 2797 MovieClip Frame 3
sec = Math.floor(_root.tmax - ((getTimer() - zero) / 1000));
bar._xscale = sec * (50 / _root.tmax);
if (sec < 10) {
bar.gotoAndStop(2);
}
if (sec < 1) {
_root.sel.gotoAndStop(1);
_root.lockskill == 1;
_root.tmax = Math.floor(_root.tmax * 0.75);
if (_root.cardshand >= 8) {
_root.cardshand = _root.cardshand - 1;
_root.h8.card = 0;
_root.h8.gotoAndStop(1);
if (_root.level == "pvp") {
if (_root.ctrlstep == 1) {
_root.ctrlx[_root.ctrln] = 9999;
_root.ctrln = _root.ctrln + 1;
}
_root.ctrlx[_root.ctrln] = 8008;
_root.ctrln = _root.ctrln + 1;
_root.ctrlstep = 1;
}
}
_root.gotoAndPlay("maintain");
gotoAndStop (1);
}
Symbol 2797 MovieClip Frame 5
gotoAndPlay ("loop");
Symbol 2797 MovieClip Frame 6
zero = getTimer();
bar.gotoAndStop(1);
Symbol 2797 MovieClip Frame 7
sec = Math.floor(60 - ((getTimer() - zero) / 1000));
bar._xscale = sec * 0.833333333333333;
if (sec < 45) {
_root.readfaster = 1;
}
if (sec < 10) {
bar.gotoAndStop(2);
}
if (sec < 1) {
gotoAndPlay ("winning");
}
Symbol 2797 MovieClip Frame 9
gotoAndPlay ("loop2");
Symbol 2797 MovieClip Frame 10
zero = getTimer();
bar.gotoAndStop(2);
Symbol 2797 MovieClip Frame 11
sec = Math.floor(10 - ((getTimer() - zero) / 1000));
bar._xscale = sec * 5;
if (sec < 1) {
_root.disconnected = 1;
_root.level = 3;
_root.gotoAndPlay("edraw");
gotoAndStop (1);
}
Symbol 2797 MovieClip Frame 13
gotoAndPlay ("loop3");
Symbol 2797 MovieClip Frame 14
zero = getTimer();
bar.gotoAndStop(2);
Symbol 2797 MovieClip Frame 15
sec = Math.floor(10 - ((getTimer() - zero) / 1000));
bar._xscale = sec * 5;
if (sec < 1) {
_root.gotoAndPlay("lose");
gotoAndStop (1);
}
Symbol 2797 MovieClip Frame 17
gotoAndPlay ("loop4");
Symbol 2797 MovieClip Frame 18
zero = getTimer();
bar.gotoAndStop(2);
Symbol 2797 MovieClip Frame 19
sec = Math.floor(5 - ((getTimer() - zero) / 1000));
bar._xscale = sec * 10;
if (sec < 1) {
_root.disconnected = 1;
_root.level = 3;
_root.gotoAndPlay("edraw");
gotoAndStop (1);
if (_root.level == "pvp") {
_root.ctrl = _root.ctrlx.join("");
if (_root.role == "master") {
_root.pvp_lv.masterctrl = _root.ctrl;
_root.pvp_lv.statu = "masterleft";
_root.pvp_lv.loadVariables(_root.pvpserver + _root.pvpwritemaster, "POST");
}
if (role == "slave") {
_root.pvp_lv.slavectrl = _root.ctrl;
_root.pvp_lv.statu = "slaveleft";
_root.pvp_lv.loadVariables(_root.pvpserver + _root.pvpwriteslave, "POST");
}
}
}
Symbol 2797 MovieClip Frame 21
gotoAndPlay ("loop5");
Symbol 2806 MovieClip Frame 1
stop();
Symbol 2807 MovieClip Frame 1
i = 1;
while (i <= 23) {
skillelement = eval (("_root.c" + i) + ".skillelement");
if ((((eval (("_root.c" + i) + ".skflag") == 1) and (eval (("_root.c" + i) + ".skill") != "")) and (eval (("_root.c" + i) + ".skillcost") != "")) and ((eval ("_root.q" + skillelement) - eval (("_root.c" + i) + ".skillcost")) >= 0)) {
if (eval ("_root.c" + i).linez._currentframe == 1) {
if (eval (("_root.c" + i) + ".readiness") == 1) {
eval (("_root.c" + i) + ".linez").gotoAndPlay("shine2");
} else {
eval (("_root.c" + i) + ".linez").gotoAndPlay("shine");
}
}
} else if (eval ("_root.c" + i).linez._currentframe != 1) {
eval (("_root.c" + i) + ".linez").gotoAndStop(1);
}
i++;
}
i = 1;
while (i <= 19) {
skillelement = eval (("_root.p" + i) + ".skillelement");
if ((((eval (("_root.p" + i) + ".skflag") == 1) and (eval (("_root.p" + i) + ".skill") != "")) and (eval (("_root.p" + i) + ".skillcost") != "")) and ((eval ("_root.q" + skillelement) - eval (("_root.p" + i) + ".skillcost")) >= 0)) {
if (eval ("_root.p" + i).linez._currentframe == 1) {
eval (("_root.p" + i) + ".linez").gotoAndPlay("shine");
}
} else if (eval ("_root.p" + i).linez._currentframe != 1) {
eval (("_root.p" + i) + ".linez").gotoAndStop(1);
}
i++;
}
i = 1;
while (i <= 8) {
seren = eval (("_root.h" + i) + ".serendipity");
if ((seren > 0) and (seren <= 1)) {
Set(("_root.h" + i) + ".serendipity", seren - 0.1);
eval ("_root.h" + i)._alpha = 100 - (seren * 25);
_root.soundfx.gotoAndPlay("seren");
}
if (seren > 1) {
eval ("_root.h" + i)._alpha = 0;
Set(("_root.h" + i) + ".serendipity", seren - 0.5);
}
i++;
}
Symbol 2807 MovieClip Frame 2
dmge = 0;
rawdmge = 0;
dmg = 0;
np = 0;
nc = 0;
_root.q0 = 0;
_root.qe0 = 0;
i = 1;
while (i <= 12) {
_root.q0 = _root.q0 + _root.retq(i);
_root.qe0 = _root.qe0 + _root.retqe(i);
i++;
}
i = 1;
while (i <= 23) {
if (((eval (("_root.ce" + i) + ".ctrl") > 0) and (eval (("_root.ce" + i) + ".frozen") == 0)) and (eval (("_root.ce" + i) + ".delay") == 0)) {
dmgnow = eval (("_root.ce" + i) + ".atknow");
nc = nc + 1;
if ((dmgnow - _root.shield) > 0) {
dmge = (dmge + dmgnow) - _root.shield;
}
rawdmge = rawdmge + eval (("_root.ce" + i) + ".atknow");
}
if (((eval (("_root.c" + i) + ".ctrl") > 0) and (eval (("_root.c" + i) + ".frozen") == 0)) and (eval (("_root.c" + i) + ".delay") == 0)) {
dmgnow = eval (("_root.c" + i) + ".atknow");
if (eval (("_root.c" + i) + ".statu") != "invulnerable") {
np = np + 1;
}
if ((dmgnow - _root.shielde) > 0) {
dmg = (dmg + dmgnow) - _root.shielde;
}
}
i++;
}
dmg = (dmg + _root.retpoe()) + _root.p10.atknow;
dmge = (dmge + _root.retpo()) + _root.pe10.atknow;
_root.hpbar.hpbar3._alpha = 100;
_root.hpbare.hpbar3._alpha = 100;
if ((_root.rethp() - dmge) < 0) {
_root.hpbar.hpbar3._alpha = 0;
}
if ((_root.rethpe() - dmg) < 0) {
_root.hpbare.hpbar3._alpha = 0;
}
_root.hpbar.hpbar2._xscale = _root.rethp() * (100 / _root.hpmax);
_root.hpbare.hpbar2._xscale = _root.rethpe() * (100 / _root.hpemax);
_root.hpbar.hpbar3._xscale = Math.min(_root.hpbar.hpbar2._xscale, (_root.rethp() - dmge) * (100 / _root.hpmax));
_root.hpbare.hpbar3._xscale = Math.min(_root.hpbare.hpbar2._xscale, (_root.rethpe() - dmg) * (100 / _root.hpemax));
if (_root.rethpe() > 500) {
_root.adjhpe(500);
}
if (_root.rethp() > 500) {
_root.adjhp(500);
}
if (_root.hpmax > 500) {
_root.hpmax = 500;
}
if (_root.hpemax > 500) {
_root.hpemax = 500;
}
if (_root.rethp() <= 0) {
_root.gotoAndPlay("lose");
}
if (_root.rethpe() <= 0) {
_root.gotoAndPlay("win");
}
_root.dmg = dmg;
Symbol 2807 MovieClip Frame 3
if (_root.nightfall > 0) {
oldbonus = _root.nightfall;
_root.nightfall = 0;
i = 1;
while (i <= 19) {
if ((eval (("_root.p" + i) + ".ctrl") > 0) and (eval (("_root.p" + i) + ".skill") == "nightfall")) {
_root.nightfall = 1;
}
if (((oldbonus == 2) and (eval (("_root.p" + i) + ".ctrl") > 0)) and (eval (("_root.p" + i) + ".skill") == "eclipse")) {
_root.nightfall = 2;
break;
}
if ((eval (("_root.pe" + i) + ".ctrl") > 0) and (eval (("_root.pe" + i) + ".skill") == "nightfall")) {
_root.nightfall = 1;
}
if (((oldbonus == 2) and (eval (("_root.pe" + i) + ".ctrl") > 0)) and (eval (("_root.pe" + i) + ".skill") == "eclipse")) {
_root.nightfall = 2;
break;
}
i++;
}
if ((_root.nightfall == 1) and (oldbonus == 2)) {
i = 1;
while (i <= 23) {
if ((eval (("_root.c" + i) + ".ctrl") > 0) and ((eval (("_root.c" + i) + ".costelement") == 2) or (eval (("_root.c" + i) + ".costelement") == 11))) {
target = "_root.c" + i;
eval (target).atknow = eval (target).atknow - 1;
eval (target).atk = eval (target).atk - 1;
}
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and ((eval (("_root.ce" + i) + ".costelement") == 2) or (eval (("_root.ce" + i) + ".costelement") == 11))) {
target = "_root.ce" + i;
eval (target).atknow = eval (target).atknow - 1;
eval (target).atk = eval (target).atk - 1;
}
i++;
}
}
if (_root.nightfall == 0) {
i = 1;
while (i <= 23) {
if ((eval (("_root.c" + i) + ".ctrl") > 0) and ((eval (("_root.c" + i) + ".costelement") == 2) or (eval (("_root.c" + i) + ".costelement") == 11))) {
target = "_root.c" + i;
eval (target).defnow = eval (target).defnow - 1;
eval (target).def = eval (target).def - 1;
eval (target).atknow = eval (target).atknow - oldbonus;
eval (target).atk = eval (target).atk - oldbonus;
if (eval (target).passive == "voodoo") {
vcreature = "c" + eval (target).pos;
_root.voodoo(vcreature);
}
if (eval (target).defnow <= 0) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).gotoAndStop(1);
}
}
if ((eval (("_root.ce" + i) + ".ctrl") > 0) and ((eval (("_root.ce" + i) + ".costelement") == 2) or (eval (("_root.ce" + i) + ".costelement") == 11))) {
target = "_root.ce" + i;
eval (target).defnow = eval (target).defnow - 1;
eval (target).def = eval (target).def - 1;
eval (target).atknow = eval (target).atknow - oldbonus;
eval (target).atk = eval (target).atk - oldbonus;
if (eval (target).passive == "voodoo") {
vcreature = "ce" + eval (target).pos;
_root.voodoo(vcreature);
}
if (eval (target).defnow <= 0) {
eval (target).card = 0;
eval (target).ctrl = 0;
eval (target).gotoAndStop(1);
}
}
i++;
}
}
}
if (_root.flood > 0) {
_root.flood = 0;
i = 1;
while (i <= 19) {
if ((eval (("_root.p" + i) + ".ctrl") > 0) and (eval (("_root.p" + i) + ".skill") == "flood")) {
_root.flood = 1;
}
if ((eval (("_root.pe" + i) + ".ctrl") > 0) and (eval (("_root.pe" + i) + ".skill") == "flood")) {
_root.flood = 1;
}
i++;
}
if (_root.flood == 0) {
_root.floodfx.gotoAndStop(1);
}
}
if (_root.pandacount > 0) {
_root.autotarget("pandemonium");
_root.pandacount = _root.pandacount - 1;
}
_root.dispctrl = (((((_root.ctrlx[_root.ctrln - 4] + " ") + _root.ctrlx[_root.ctrln - 3]) + " ") + _root.ctrlx[_root.ctrln - 2]) + " ") + _root.ctrlx[_root.ctrln - 1];
i = 1;
while (i <= 8) {
seren = eval (("_root.h" + i) + ".serendipity");
if ((seren > 0) and (seren <= 1)) {
Set(("_root.h" + i) + ".serendipity", seren - 0.1);
eval ("_root.h" + i)._alpha = 100 - (seren * 50);
}
if (seren > 1) {
eval ("_root.h" + i)._alpha = 0;
Set(("_root.h" + i) + ".serendipity", seren - 0.5);
}
if (seren == 0) {
eval ("_root.h" + i)._alpha = 100;
}
i++;
}
_root.freedom = 0;
i = 1;
while (i <= 19) {
if ((eval (("_root.p" + i) + ".ctrl") > 0) and (eval (("_root.p" + i) + ".skill") == "freedom")) {
_root.freedom = _root.freedom + (0.25 * eval (("_root.p" + i) + ".ctrl"));
}
i++;
}
_root.freedome = 0;
i = 1;
while (i <= 19) {
if ((eval (("_root.pe" + i) + ".ctrl") > 0) and (eval (("_root.pe" + i) + ".skill") == "freedom")) {
_root.freedome = _root.freedome + (0.25 * eval (("_root.pe" + i) + ".ctrl"));
}
i++;
}
Symbol 2808 Button
on (release) {
if (_root.sel.working == 1) {
_root.sel.gotoAndPlay("cancel");
}
_root.turncounter = _root.turncounter + 1;
if ((_root.turncounter < 2) and ((_root.hp > 180) or (_root.hpe < 20))) {
_root.deckp2 = "fho";
}
_root.gotoAndPlay("discard");
}
Symbol 2810 Button
on (release, keyPress "<Space>") {
if (_root.sel.working == 1) {
_root.sel.gotoAndPlay("cancel");
}
_root.turncounter = _root.turncounter + 1;
if ((_root.turncounter < 2) and ((_root.hp > 180) or (_root.hpe < 20))) {
_root.deckp2 = "fho";
}
_root.gotoAndPlay("discard");
}
Symbol 2811 MovieClip Frame 1
if (_root.messaging == 0) {
gotoAndStop (2);
} else {
stop();
}
Symbol 2811 MovieClip Frame 2
stop();
Symbol 2822 Button
on (release) {
if ((_root.level == 4) and (once == 1)) {
_root.t500x[_root.pvpleague] = 0;
_root.pvp_lv.opponent = _root.pvpid;
_root.pvpid = 0;
_root.pvp_lv.rank = _root.rmultiple;
_root.pvp_lv.league = _root.pvpleague;
_root.pvp_lv.up = 1;
_root.pvp_lv.action = "lost";
_root.pvp_lv.loadVariables("http://www.elementsthegame.com/t503.php", "POST");
_root.addele(5);
_root.fhc = _root.fhc + 5;
once = 0;
}
_root.gotoAndPlay("tomenu");
}
Symbol 2823 Button
on (release) {
if ((_root.level == 4) and (once == 1)) {
_root.t500x[_root.pvpleague] = 0;
_root.pvp_lv.opponent = _root.pvpid;
_root.pvpid = 0;
_root.pvp_lv.rank = _root.rmultiple;
_root.pvp_lv.league = _root.pvpleague;
_root.pvp_lv.up = 0;
_root.pvp_lv.action = "lost";
_root.pvp_lv.loadVariables("http://www.elementsthegame.com/t503.php", "POST");
_root.addele(5);
_root.fhc = _root.fhc + 5;
once = 0;
}
_root.gotoAndPlay("tomenu");
}
Symbol 2824 MovieClip Frame 1
once = 1;
Symbol 2826 Button
on (release) {
if (level == 4) {
t500x[pvpleague] = 0;
pvp_lv.opponent = pvpid;
pvpid = 0;
pvp_lv.rank = rmultiple;
pvp_lv.league = pvpleague;
pvp_lv.up = 0;
pvp_lv.action = "lost";
pvp_lv.loadVariables("http://www.elementsthegame.com/t503.php", "POST");
}
gotoAndPlay ("tomenu");
}
Symbol 2840 Button
on (release) {
stopAllSounds();
play();
}
Symbol 2843 MovieClip Frame 1
stop();
Symbol 2843 MovieClip Frame 3
gotoAndStop (1);
Symbol 2843 MovieClip Frame 5
gotoAndStop (1);
Symbol 2847 Button
on (release) {
gotoAndPlay (3);
}
Symbol 2849 Button
on (release) {
gotoAndPlay (3);
all = 1;
}
Symbol 2853 MovieClip Frame 1
stop();
Symbol 2861 MovieClip Frame 1
stop();
Symbol 2861 MovieClip Frame 2
if (_parent.all == 1) {
gotoAndPlay (9);
} else {
play();
}
Symbol 2861 MovieClip Frame 9
newcard.gotoAndStop(_parent.cardsel1);
Symbol 2863 MovieClip Frame 1
all = 0;
if (_root.retcha() > 0) {
nextFrame();
} else {
stop();
}
Symbol 2863 MovieClip Frame 2
stop();
Symbol 2863 MovieClip Frame 3
if (_root.chances > 3) {
_root.deckp2 = "fhc";
}
_root.addcha(-1);
n = 0;
limitme = 0;
if (_root.retcha() >= 0) {
nn = 0;
while (nn <= 4) {
limitme = limitme + 1;
ran = Math.floor(Math.random() * _root.deckeninit);
card = _root.deckexinit[ran];
if (((((Math.floor(card / 50) - (card / 50)) != 0) and (card != 2)) and (card != 2002)) or (limitme > 8)) {
nn = nn + 1;
if (((card > 2000) and (_root.level != 6)) and (_root.level != 5)) {
card = card - 2000;
}
if ((((((card - (Math.floor(card / 100) * 100)) == 20) or ((card - (Math.floor(card / 100) * 100)) == 40)) or ((card > 10) and (card < 23))) or (card == 2032)) or (card == 32)) {
if (card > 2000) {
card = 2033;
} else {
card = 33;
}
}
Set("cards" + nn, card);
}
}
}
if (_root.retcha() == -33) {
var rarex = new Array();
i = 0;
while (i < _root.rindexn) {
temp = _root.rindex.slice(4 * i, 4 * (i + 1));
j = 0;
while (j < 3) {
if (temp.slice(0, 1) == "0") {
temp = temp.slice(1, 4);
}
j++;
}
rarex[i] = Number(temp);
i++;
}
nn = 0;
while (nn <= 4) {
ran = Math.floor(Math.random() * _root.rindexn);
card = rarex[ran];
if (_root.pvpleague > 2) {
card = card + 2000;
}
Set("cards" + nn, card);
nn++;
}
}
nn = 0;
while (nn <= 3) {
ran = Math.floor(Math.random() * 4) + 1;
card = eval ("cards" + ran);
nn = nn + 1;
Set("cardsel" + nn, card);
eval ("card" + nn).gotoAndStop(card);
if (card > 2000) {
eval ("u" + nn).gotoAndStop(2);
} else {
eval ("u" + nn).gotoAndStop(1);
}
}
ready = 0;
Symbol 2863 MovieClip Frame 4
n = n + 1;
if (n > (4 - all)) {
gotoAndPlay (11);
}
Symbol 2863 MovieClip Frame 10
gotoAndPlay (4);
Symbol 2863 MovieClip Frame 12
n = n + 1;
if (n > (7 - (2 * all))) {
gotoAndPlay (19);
}
Symbol 2863 MovieClip Frame 18
gotoAndPlay (12);
Symbol 2863 MovieClip Frame 19
if (cardsel1 == cardsel2) {
soundfx.gotoAndPlay(2);
_root.gained = _root.gained + 5;
_root.addele(5);
_root.fhc = _root.fhc + 5;
}
Symbol 2863 MovieClip Frame 20
n = n + 1;
if (n > (12 - (3 * all))) {
gotoAndPlay (27);
stopAllSounds();
}
Symbol 2863 MovieClip Frame 26
gotoAndPlay (20);
Symbol 2863 MovieClip Frame 28
if ((cardsel1 == cardsel2) and (cardsel2 == cardsel3)) {
soundfx.gotoAndPlay(4);
_root.deckalln = _root.deckalln + 1;
temp = cardsel1;
if (temp < 10) {
temp = "000" + temp;
} else if (temp < 100) {
temp = "00" + temp;
} else if (temp < 1000) {
temp = "0" + temp;
}
_root.deckall = _root.deckall + temp;
deckg.gotoAndPlay(2);
_root.dbupdate;
if (_root.retcha() < 0) {
_root.machine.play();
}
}
Symbol 2863 MovieClip Frame 39
if ((all == 1) and (_root.retcha() > 0)) {
gotoAndPlay (3);
}
if (((_root.retcha() == 0) and (_root.level == 4)) and (_root.t500x[_root.pvpleague] >= (6 - _root.pvpleague))) {
gotoAndPlay (3);
_root.adjcha(-32);
_root.machine._visible = true;
_root.machine.play();
_root.t500x[_root.pvpleague] = 0;
i = 1;
while (i <= 6) {
eval ("_root.l" + i).gotoAndStop(1);
i++;
}
}
Symbol 2863 MovieClip Frame 42
if (_root.retcha() <= 0) {
ready = 1;
stop();
}
Symbol 2863 MovieClip Frame 43
stop();
Symbol 2863 MovieClip Frame 44
n = 0;
nn = 1;
ran = Math.floor(Math.random() * 4) + 1;
card = eval ("cards" + ran);
Set("cardsel" + nn, card);
eval ("card" + nn).gotoAndStop(card);
if (card > 2000) {
eval ("u" + nn).gotoAndStop(2);
} else {
eval ("u" + nn).gotoAndStop(1);
}
Symbol 2863 MovieClip Frame 45
n = n + 1;
if (n > 4) {
gotoAndPlay (28);
}
Symbol 2863 MovieClip Frame 51
gotoAndPlay (45);
Symbol 2863 MovieClip Frame 52
n = 0;
nn = 2;
ran = Math.floor(Math.random() * 4) + 1;
card = eval ("cards" + ran);
Set("cardsel" + nn, card);
eval ("card" + nn).gotoAndStop(card);
if (card > 2000) {
eval ("u" + nn).gotoAndStop(2);
} else {
eval ("u" + nn).gotoAndStop(1);
}
Symbol 2863 MovieClip Frame 53
n = n + 1;
if (n > 4) {
gotoAndPlay (28);
}
Symbol 2863 MovieClip Frame 59
gotoAndPlay (53);
Symbol 2863 MovieClip Frame 60
n = 0;
nn = 3;
ran = Math.floor(Math.random() * 4) + 1;
card = eval ("cards" + ran);
Set("cardsel" + nn, card);
eval ("card" + nn).gotoAndStop(card);
if (card > 2000) {
eval ("u" + nn).gotoAndStop(2);
} else {
eval ("u" + nn).gotoAndStop(1);
}
Symbol 2863 MovieClip Frame 61
n = n + 1;
if (n > 4) {
gotoAndPlay (28);
}
Symbol 2863 MovieClip Frame 67
gotoAndPlay (61);
Symbol 2868 MovieClip Frame 1
stop();
Symbol 2868 MovieClip Frame 3
stop();
Symbol 2877 Button
on (release) {
play();
if (_root.slot.ready == 1) {
_root.slot.gotoAndPlay(ctrl);
}
}
Symbol 2880 Button
on (release) {
nextFrame();
if (_root.slot.ready == 1) {
_root.slot.gotoAndPlay(ctrl);
}
}
Symbol 2881 MovieClip Frame 1
stop();
Symbol 2881 MovieClip Frame 10
stop();
Symbol 2881 MovieClip Frame 20
stop();
Symbol 2889 MovieClip Frame 51
stop();
Symbol 2890 MovieClip Frame 1
stop();
Symbol 2890 MovieClip Frame 7
ar1.ctrl = "uno";
ar2.ctrl = "due";
ar3.ctrl = "tre";
Symbol 2890 MovieClip Frame 8
stop();
Symbol 2897 Button
on (release) {
if (levelpts == 0) {
_root.tutortext = "Not enough Skill Points";
_root.tutor.gotoAndPlay(2);
}
if ((hp500 < 200) and (levelpts > 0)) {
hp500 = hp500 + 5;
levelpts = levelpts - 1;
t500dlevel = t500level - levelpts;
abar1.t500mask._xscale = hp500 - 100;
hp500aged = hp500;
if (t500age > 0) {
hp500aged = hp500 - Math.pow(2, t500age - 1);
}
}
}
Symbol 2898 Button
on (release) {
if (hp500 > 100) {
hp500 = hp500 - 5;
levelpts = levelpts + 1;
t500dlevel = t500level - levelpts;
abar1.t500mask._xscale = hp500 - 100;
hp500aged = hp500;
if (t500age > 0) {
hp500aged = hp500 - Math.pow(2, t500age - 1);
}
}
}
Symbol 2901 Button
on (rollOver) {
if (t500building == 2) {
_root.tutortext = "Warning: Altering the Wisdom level will RESET your deck";
_root.tutor.gotoAndPlay(2);
}
}
on (release) {
if (levelpts < 4) {
_root.tutortext = "Not enough Skill Points";
_root.tutor.gotoAndPlay(2);
}
if ((up500 < 5) and (levelpts >= 4)) {
up500 = up500 + 1;
upc500 = t500wis[up500];
levelpts = levelpts - 4;
t500dlevel = t500level - levelpts;
abar2.t500mask._xscale = up500 * 20;
var tracex = new Array();
i = 0;
while (i <= 4) {
temp = cardo;
if (up500 > i) {
temp = cardo + 2000;
}
if (temp < 10) {
temp = "000" + temp;
} else if (temp < 100) {
temp = "00" + temp;
} else if (temp < 1000) {
temp = "0" + temp;
}
tracex[i] = temp;
i++;
}
t500deck = tracex.join("");
t500deckn = 5;
}
}
Symbol 2902 Button
on (rollOver) {
if (t500building == 2) {
_root.tutortext = "Warning: Altering the Wisdom level will RESET your deck";
_root.tutor.gotoAndPlay(2);
}
}
on (release) {
if (up500 > 0) {
up500 = up500 - 1;
upc500 = t500wis[up500];
levelpts = levelpts + 4;
t500dlevel = t500level - levelpts;
abar2.t500mask._xscale = up500 * 20;
var tracex = new Array();
i = 0;
while (i <= 4) {
temp = cardo;
if (up500 > i) {
temp = cardo + 2000;
}
if (temp < 10) {
temp = "000" + temp;
} else if (temp < 100) {
temp = "00" + temp;
} else if (temp < 1000) {
temp = "0" + temp;
}
tracex[i] = temp;
i++;
}
t500deck = tracex.join("");
t500deckn = 5;
}
}
Symbol 2903 Button
on (release) {
if (levelpts < 10) {
_root.tutortext = "Not enough Skill Points";
_root.tutor.gotoAndPlay(2);
}
if ((mark500 < 3) and (levelpts >= 10)) {
mark500 = mark500 + 1;
levelpts = levelpts - 10;
t500dlevel = t500level - levelpts;
abar3.t500mask._xscale = (mark500 - 1) * 50;
}
}
Symbol 2904 Button
on (release) {
if (mark500 > 1) {
mark500 = mark500 - 1;
levelpts = levelpts + 10;
t500dlevel = t500level - levelpts;
abar3.t500mask._xscale = (mark500 - 1) * 50;
}
}
Symbol 2905 Button
on (release) {
if (levelpts < 20) {
_root.tutortext = "Not enough Skill Points";
_root.tutor.gotoAndPlay(2);
}
if ((card500 < 2) and (levelpts >= 20)) {
card500 = card500 + 1;
levelpts = levelpts - 20;
t500dlevel = t500level - levelpts;
abar4.t500mask._xscale = (card500 - 1) * 100;
}
}
Symbol 2906 Button
on (release) {
if (card500 > 1) {
card500 = card500 - 1;
levelpts = levelpts + 20;
t500dlevel = t500level - levelpts;
abar4.t500mask._xscale = (card500 - 1) * 100;
}
}
Symbol 2936 Button
on (release) {
gotoAndPlay ("manage");
}
Symbol 2938 Button
on (release) {
t500building = 0;
gotoAndStop ("menu");
}
Symbol 2940 MovieClip Frame 1
_root.fastlock = 0;
stop();
Symbol 2952 Button
on (release) {
gotoAndStop (1);
}
Symbol 2954 MovieClip Frame 1
stop();
Symbol 2954 MovieClip Frame 2
play();
Symbol 2954 MovieClip Frame 3
Symbol 2957 Button
on (release) {
gotoAndStop (1);
}
Symbol 2959 Button
on (release) {
var tracex = new Array();
var temparray = doutput.split(" ");
doutput2 = temparray.join("");
deckpn1 = Math.floor(length(doutput2) / 3);
tempmark = doutput2.slice(3 * (deckpn1 - 1), 3 * deckpn1);
tempmark = parseInt(tempmark, 32) - 9000;
trace(tempmark);
if ((tempmark > 10) and (tempmark < 23)) {
_root.element = tempmark - 10;
_root.mark.card = tempmark;
_root.mark.gotoAndPlay(2);
deckpn1 - 1;
}
i = 0;
while (i < deckpn1) {
temp = doutput2.slice(3 * i, 3 * (i + 1));
temp = parseInt(temp, 32) - 5000;
if (temp < 10) {
temp = "000" + temp;
} else if (temp < 100) {
temp = "00" + temp;
} else if (temp < 1000) {
temp = "0" + temp;
}
tracex[i] = temp;
i++;
}
_root.deckp1 = tracex.join("");
_root.gotoAndPlay("manage");
}
Symbol 2962 MovieClip Frame 1
stop();
Symbol 2964 Button
on (rollOver) {
_root.bigone.gotoAndStop(card);
_root.price = price;
}
on (rollOut, dragOut) {
_root.bigone.gotoAndStop(1);
_root.price = "";
}
on (release) {
_root.bigone.gotoAndStop(1);
if ((_root.bazaar == 0) and ((_root.t500building == 0) or (pos > 5))) {
_root.quest2 = 1;
_root.deckx[pos - 1] = "none";
_root.deckax[_root.deckalltempn] = card;
eval ("_root.d" + _root.deckpn1).gotoAndStop(1);
_root.deckpn1 = _root.deckpn1 - 1;
_root.deckalltempn = _root.deckalltempn + 1;
_root.displaydeck();
_root.displaycards();
}
if ((_root.bazaar == 1) and (_root.retele() >= price)) {
_root.quest31 = 1;
_root.addele(-price);
_root.deckax[_root.deckalltempn] = card;
_root.deckalltempn = _root.deckalltempn + 1;
_root.deckalln = _root.deckalln + 1;
temp = card;
if (temp < 10) {
temp = "000" + temp;
} else if (temp < 100) {
temp = "00" + temp;
} else if (temp < 1000) {
temp = "0" + temp;
}
_root.deckall = _root.deckall + temp;
_root.displaycards();
} else if (_root.bazaar == 1) {
_root.tutortext = "Not enough Electrum coins";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 2965 MovieClip Frame 1
stop();
Symbol 2965 MovieClip Frame 2
txt.gotoAndStop(card);
if (lastone == 1) {
img.gotoAndStop(card);
img._visible = true;
}
if (lastone == 0) {
img._visible = false;
}
play();
Symbol 2965 MovieClip Frame 3
price = ((rarity * rarity) * 6) + cost;
stop();
Symbol 2967 Button
on (rollOver) {
_root.bigone.gotoAndStop(card);
_root.price = price;
if ((_root.bazaar == 2) and (card < 2000)) {
_root.bigone2.gotoAndStop(card + 2000);
}
}
on (rollOut, dragOut) {
_root.bigone.gotoAndStop(1);
_root.price = "";
if (_root.bazaar == 2) {
_root.bigone2.gotoAndStop(1);
}
}
on (release) {
if (_root.fastlock == 0) {
_root.fastlock = 1;
_root.unlocker.gotoAndPlay(2);
if (_root.bazaar == 0) {
howmany = 0;
howmanyup = 0;
if (_root.t500building == 0) {
uplimit = 61;
} else {
uplimit = _root.upc500;
}
i = 1;
while (i <= _root.deckpn1) {
if ((((((_root.deckx[i - 1] == card) or (_root.deckx[i - 1] == (card + 2000))) or ((_root.deckx[i - 1] + 2000) == card)) and (Math.floor(card / 50) != (card / 50))) and (card != 2)) and (card != 2002)) {
howmany = howmany + 1;
}
if (((card > 2000) and (_root.deckx[i - 1] > 2000)) and (_root.t500building > 0)) {
howmanyup = howmanyup + 1;
}
i++;
}
if (((_root.deckpn1 < 60) and (howmany < 6)) and ((howmanyup < uplimit) or (card < 2000))) {
_root.deckx[_root.deckpn1] = card;
_root.deckpn1 = _root.deckpn1 + 1;
i = 1;
while (i <= _root.deckalltempn) {
if (_root.deckax[i - 1] == card) {
_root.deckax[i - 1] = "none";
break;
}
i++;
}
_root.deckalltempn = _root.deckalltempn - 1;
_root.displaycards();
_root.displaydeck();
} else if (_root.deckpn1 >= 60) {
_root.tutortext = "A deck can hold 60 cards maximum";
_root.tutor.gotoAndPlay(2);
} else if ((howmanyup >= uplimit) and (card > 2000)) {
_root.tutortext = "You can not have more upgraded cards in this arena deck";
_root.tutor.gotoAndPlay(2);
} else {
_root.tutortext = "You can not have more than 6 identical cards in your deck";
_root.tutor.gotoAndPlay(2);
}
}
if (_root.bazaar == 1) {
if ((rarity < 6) or (warning == 0)) {
_root.quest32 = 1;
i = 1;
while (i <= _root.deckalltempn) {
if (_root.deckax[i - 1] == card) {
_root.deckax[i - 1] = "none";
break;
}
i++;
}
_root.deckalltempn = _root.deckalltempn - 1;
_root.deckalln = _root.deckalln - 1;
price = Number(price);
if (!isNaN(price)) {
_root.addele(price);
_root.fhc = _root.fhc + price;
}
var tracex = new Array();
_root.deckax.sort(Array.NUMERIC);
i = 0;
while (i < _root.deckalltempn) {
temp = _root.deckax[i];
if (temp < 10) {
temp = "000" + temp;
} else if (temp < 100) {
temp = "00" + temp;
} else if (temp < 1000) {
temp = "0" + temp;
}
tracex[i] = temp;
i++;
}
decka1 = tracex.join("");
_root.deckall = _root.deckp1 + decka1;
_root.displaycards();
} else {
_parent.warning.gotoAndPlay(2);
warning = 0;
}
}
if (((_root.bazaar == 2) and (_root.retele() >= 1500)) and (card < 2000)) {
_root.addele(-1500);
i = 1;
while (i <= _root.deckalltempn) {
if (_root.deckax[i - 1] == card) {
_root.deckax[i - 1] = card + 2000;
break;
}
i++;
}
var tracex = new Array();
_root.deckax.sort(Array.NUMERIC);
i = 0;
while (i < _root.deckalltempn) {
temp = _root.deckax[i];
if (temp < 10) {
temp = "000" + temp;
} else if (temp < 100) {
temp = "00" + temp;
} else if (temp < 1000) {
temp = "0" + temp;
}
tracex[i] = temp;
i++;
}
decka1 = tracex.join("");
_root.deckall = _root.deckp1 + decka1;
_root.displaycards();
} else if (_root.bazaar == 2) {
_root.tutortext = "Not enough Electrum coins OR the card is already upgraded";
_root.tutor.gotoAndPlay(2);
}
}
}
Symbol 2969 MovieClip Frame 1
stop();
warning = 1;
Symbol 2969 MovieClip Frame 2
txt.gotoAndStop(card);
if (lastone == 1) {
img.gotoAndStop(card);
img._visible = true;
}
if (lastone == 0) {
img._visible = false;
}
dp = this.getDepth();
play();
Symbol 2969 MovieClip Frame 3
price = ((rarity * rarity) * 4) + cost;
stop();
Symbol 2975 Button
on (rollOver) {
_root.bigone.gotoAndStop(card);
}
on (rollOut, dragOut) {
_root.bigone.gotoAndStop(1);
}
on (release) {
gotoAndStop ("morph");
}
Symbol 2977 Button
on (rollOver) {
_root.bigone.gotoAndStop(card);
}
on (rollOut, dragOut) {
_root.bigone.gotoAndStop(1);
}
on (release) {
gotoAndStop (3);
}
Symbol 2978 Button
on (release) {
element = 1;
if (_root.element != element) {
_root.element = element;
card = Number(element + 10);
gotoAndPlay (2);
gotoAndStop ("menu");
} else {
_root.tutortext = "You already have that mark";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 2979 Button
on (release) {
element = 2;
if (_root.element != element) {
_root.element = element;
card = Number(element + 10);
gotoAndPlay (2);
gotoAndStop ("menu");
} else {
_root.tutortext = "You already have that mark";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 2980 Button
on (release) {
element = 3;
if (_root.element != element) {
_root.element = element;
card = Number(element + 10);
gotoAndPlay (2);
gotoAndStop ("menu");
} else {
_root.tutortext = "You already have that mark";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 2981 Button
on (release) {
element = 4;
if (_root.element != element) {
_root.element = element;
card = Number(element + 10);
gotoAndPlay (2);
gotoAndStop ("menu");
} else {
_root.tutortext = "You already have that mark";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 2982 Button
on (release) {
element = 5;
if (_root.element != element) {
_root.element = element;
card = Number(element + 10);
gotoAndPlay (2);
gotoAndStop ("menu");
} else {
_root.tutortext = "You already have that mark";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 2983 Button
on (release) {
element = 6;
if (_root.element != element) {
_root.element = element;
card = Number(element + 10);
gotoAndPlay (2);
gotoAndStop ("menu");
} else {
_root.tutortext = "You already have that mark";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 2984 Button
on (release) {
element = 8;
if (_root.element != element) {
_root.element = element;
card = Number(element + 10);
gotoAndPlay (2);
gotoAndStop ("menu");
} else {
_root.tutortext = "You already have that mark";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 2985 Button
on (release) {
element = 7;
if (_root.element != element) {
_root.element = element;
card = Number(element + 10);
gotoAndPlay (2);
gotoAndStop ("menu");
} else {
_root.tutortext = "You already have that mark";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 2986 Button
on (release) {
element = 9;
if (_root.element != element) {
_root.element = element;
card = Number(element + 10);
gotoAndPlay (2);
gotoAndStop ("menu");
} else {
_root.tutortext = "You already have that mark";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 2987 Button
on (release) {
element = 10;
if (_root.element != element) {
_root.element = element;
card = Number(element + 10);
gotoAndPlay (2);
gotoAndStop ("menu");
} else {
_root.tutortext = "You already have that mark";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 2988 Button
on (release) {
element = 12;
if (_root.element != element) {
_root.element = element;
card = Number(element + 10);
gotoAndPlay (2);
gotoAndStop ("menu");
} else {
_root.tutortext = "You already have that mark";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 2989 Button
on (release) {
element = 11;
if (_root.element != element) {
_root.element = element;
card = Number(element + 10);
gotoAndPlay (2);
gotoAndStop ("menu");
} else {
_root.tutortext = "You already have that mark";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 3003 Button
on (release) {
gotoAndStop (2);
}
Symbol 3005 Button
on (rollOver) {
_root.bigone.gotoAndStop(card);
}
on (rollOut, dragOut) {
_root.bigone.gotoAndStop(1);
}
on (release) {
gotoAndStop (2);
}
Symbol 3006 MovieClip Frame 1
stop();
Symbol 3006 MovieClip Frame 2
txt.gotoAndStop(card);
img.gotoAndStop(card);
play();
Symbol 3006 MovieClip Frame 3
stop();
Symbol 3007 Button
on (release) {
filter = 5;
displaycards();
}
Symbol 3008 Button
on (release) {
_root.dwindow.gotoAndStop(1);
if (((deckpn1 >= 30) and (t500building == 0)) or ((deckpn1 >= 35) and (t500building > 0))) {
var tracex = new Array();
i = 0;
while (i < deckpn1) {
temp = _root.deckx[i];
if (temp < 10) {
temp = "000" + temp;
} else if (temp < 100) {
temp = "00" + temp;
} else if (temp < 1000) {
temp = "0" + temp;
}
tracex[i] = temp;
i++;
}
deckp1 = tracex.join("");
if (t500building == 0) {
where = "menu";
play();
}
if (t500building > 0) {
t500deck = deckp1;
t500deckn = deckpn1;
t500element = element;
deckp1 = savedeck;
deckpn1 = savedeckn;
element = saveelement;
if (t500building == 2) {
t500action = "modify";
} else {
t500action = "submit";
}
t500building = 0;
where = "t500";
play();
}
} else if (t500building == 0) {
_root.tutortext = "You need at least 30 cards in your deck";
_root.tutor.gotoAndPlay(2);
} else if (t500building > 0) {
_root.tutortext = "You need at least 35 cards in your ARENA deck";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 3010 Button
on (release) {
deckalltempn = deckalln;
i = 0;
while (i < deckalln) {
temp = deckall.slice(4 * i, 4 * (i + 1));
j = 0;
while (j < 3) {
if (temp.slice(0, 1) == "0") {
temp = temp.slice(1, 4);
}
j++;
}
deckax[i] = Number(temp);
i++;
}
init = 0;
if (t500building > 0) {
init = 5;
_root.d5.img.gotoAndStop(_root.t500card);
_root.d5.img._visible = true;
}
i = init;
while (i < deckpn1) {
deckx[i] = "none";
eval ("_root.d" + (i + 1)).gotoAndStop(1);
i++;
}
deckpn1 = init;
_root.displaycards();
}
Symbol 3012 Button
on (release) {
_root.dwindow.gotoAndStop(1);
if (deckpn1 >= 30) {
where = "bazaar";
play();
var tracex = new Array();
i = 0;
while (i < deckpn1) {
temp = _root.deckx[i];
if (temp < 10) {
temp = "000" + temp;
} else if (temp < 100) {
temp = "00" + temp;
} else if (temp < 1000) {
temp = "0" + temp;
}
tracex[i] = temp;
i++;
}
deckp1 = tracex.join("");
} else {
_root.tutortext = "You need at least 30 cards in your deck";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 3013 Button
on (release) {
filter = 0;
displaycards();
}
Symbol 3014 Button
on (release) {
filter = 1;
displaycards();
}
Symbol 3015 Button
on (release) {
filter = 2;
displaycards();
}
Symbol 3016 Button
on (release) {
filter = 3;
displaycards();
}
Symbol 3017 Button
on (release) {
filter = 4;
displaycards();
}
Symbol 3018 Button
on (release) {
filter = 6;
displaycards();
}
Symbol 3019 Button
on (release) {
filter = 8;
displaycards();
}
Symbol 3020 Button
on (release) {
filter = 7;
displaycards();
}
Symbol 3021 Button
on (release) {
filter = 9;
displaycards();
}
Symbol 3022 Button
on (release) {
filter = 11;
displaycards();
}
Symbol 3024 Button
on (release) {
filter = -1;
displaycards();
}
Symbol 3028 Button
on (release) {
if (_root.t500building > 0) {
_root.t500deck = _root.deckp1;
_root.t500deckn = _root.deckpn1;
_root.t500element = _root.element;
_root.deckp1 = _root.savedeck;
_root.deckpn1 = _root.savedeckn;
_root.element = _root.saveelement;
_root.t500building = 0;
_root.where = "menu";
_root.play();
}
}
Symbol 3031 Button
on (release) {
var tracex = new Array();
i = 0;
while (i < _root.deckpn1) {
temp = _root.deckx[i] + 5000;
tracex[i] = temp.toString(32);
i++;
}
temp = (_root.element + 10) + 9000;
tracex[_root.deckpn1] = temp.toString(32);
_root.dwindow.doutput = tracex.join(" ");
_root.dwindow.gotoAndStop(2);
}
Symbol 3035 Button
on (release) {
filter = 10;
displaycards();
}
Symbol 3036 Button
on (release) {
filter = 12;
displaycards();
}
Symbol 3048 MovieClip Frame 1
stop();
Symbol 3048 MovieClip Frame 2
play();
Symbol 3048 MovieClip Frame 103
gotoAndStop (1);
Symbol 3052 Button
on (release) {
where = "menu";
play();
}
Symbol 3053 Button
on (release) {
if (_root.fastlock == 0) {
_root.unlocker.gotoAndPlay(2);
_root.fastlock = 1;
filter = 0;
displaybazaar();
displaycards();
}
}
Symbol 3054 Button
on (release) {
if (_root.fastlock == 0) {
_root.unlocker.gotoAndPlay(2);
_root.fastlock = 1;
filter = 1;
displaybazaar();
displaycards();
}
}
Symbol 3055 Button
on (release) {
if (_root.fastlock == 0) {
_root.unlocker.gotoAndPlay(2);
_root.fastlock = 1;
filter = 2;
displaybazaar();
displaycards();
}
}
Symbol 3056 Button
on (release) {
if (_root.fastlock == 0) {
_root.unlocker.gotoAndPlay(2);
_root.fastlock = 1;
filter = 3;
displaybazaar();
displaycards();
}
}
Symbol 3057 Button
on (release) {
if (_root.fastlock == 0) {
_root.unlocker.gotoAndPlay(2);
_root.fastlock = 1;
filter = 4;
displaybazaar();
displaycards();
}
}
Symbol 3058 Button
on (release) {
if (_root.fastlock == 0) {
_root.unlocker.gotoAndPlay(2);
_root.fastlock = 1;
filter = 5;
displaybazaar();
displaycards();
}
}
Symbol 3059 Button
on (release) {
if (_root.fastlock == 0) {
_root.unlocker.gotoAndPlay(2);
_root.fastlock = 1;
filter = 6;
displaybazaar();
displaycards();
}
}
Symbol 3060 Button
on (release) {
if (_root.fastlock == 0) {
_root.unlocker.gotoAndPlay(2);
_root.fastlock = 1;
filter = 8;
displaybazaar();
displaycards();
}
}
Symbol 3061 Button
on (release) {
if (_root.fastlock == 0) {
_root.unlocker.gotoAndPlay(2);
_root.fastlock = 1;
filter = 7;
displaybazaar();
displaycards();
}
}
Symbol 3062 Button
on (release) {
if (_root.fastlock == 0) {
_root.unlocker.gotoAndPlay(2);
_root.fastlock = 1;
filter = 9;
displaybazaar();
displaycards();
}
}
Symbol 3063 Button
on (release) {
if (_root.fastlock == 0) {
_root.unlocker.gotoAndPlay(2);
_root.fastlock = 1;
filter = 10;
displaybazaar();
displaycards();
}
}
Symbol 3064 Button
on (release) {
if (_root.fastlock == 0) {
_root.unlocker.gotoAndPlay(2);
_root.fastlock = 1;
filter = 12;
displaybazaar();
displaycards();
}
}
Symbol 3065 Button
on (release) {
if (_root.fastlock == 0) {
_root.unlocker.gotoAndPlay(2);
_root.fastlock = 1;
filter = 11;
displaybazaar();
displaycards();
}
}
Symbol 3068 Button
on (release) {
where = "manage";
play();
}
Symbol 3076 Button
on (release) {
filter = 0;
displaybazaar();
displaycards();
}
Symbol 3077 Button
on (release) {
filter = 1;
displaybazaar();
displaycards();
}
Symbol 3078 Button
on (release) {
filter = 2;
displaybazaar();
displaycards();
}
Symbol 3079 Button
on (release) {
filter = 3;
displaybazaar();
displaycards();
}
Symbol 3080 Button
on (release) {
filter = 4;
displaybazaar();
displaycards();
}
Symbol 3081 Button
on (release) {
filter = 5;
displaybazaar();
displaycards();
}
Symbol 3082 Button
on (release) {
filter = 6;
displaybazaar();
displaycards();
}
Symbol 3083 Button
on (release) {
filter = 8;
displaybazaar();
displaycards();
}
Symbol 3084 Button
on (release) {
filter = 7;
displaybazaar();
displaycards();
}
Symbol 3085 Button
on (release) {
filter = 9;
displaybazaar();
displaycards();
}
Symbol 3086 Button
on (release) {
filter = 10;
displaybazaar();
displaycards();
}
Symbol 3087 Button
on (release) {
filter = 12;
displaybazaar();
displaycards();
}
Symbol 3088 Button
on (release) {
filter = 11;
displaybazaar();
displaycards();
}
Symbol 3097 Button
on (release) {
getURL ("http://www.elementsthegame.com", "_blank");
}
Symbol 3121 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 3122 Button
on (release) {
_root.deckalln = _root.deckalln + 1;
temp = _root.cardo;
if (temp < 10) {
temp = "000" + temp;
} else if (temp < 100) {
temp = "00" + temp;
} else if (temp < 1000) {
temp = "0" + temp;
}
_root.deckall = _root.deckall + temp;
gotoAndStop (2);
}
Symbol 3125 MovieClip Frame 1
stop();
Symbol 3133 MovieClip Frame 1
stop();
Symbol 3133 MovieClip Frame 2
play();
Symbol 3133 MovieClip Frame 15
newcard.gotoAndStop(_root.cardo);
Symbol 3133 MovieClip Frame 20
_root.oraclecoins = rarity * 5;
Symbol 3133 MovieClip Frame 25
if (Math.random() > 0.75) {
_root.oraclecoins = _root.oraclecoins * 2;
}
Symbol 3133 MovieClip Frame 26
if (Math.random() > 0.75) {
_root.oraclecoins = _root.oraclecoins * 2;
}
Symbol 3133 MovieClip Frame 27
if (Math.random() > 0.75) {
_root.oraclecoins = _root.oraclecoins * 2;
}
Symbol 3133 MovieClip Frame 28
if (Math.random() > 0.75) {
_root.oraclecoins = _root.oraclecoins * 2;
}
Symbol 3133 MovieClip Frame 29
if (Math.random() > 0.75) {
_root.oraclecoins = _root.oraclecoins * 2;
}
Symbol 3133 MovieClip Frame 30
_root.addele(_root.oraclecoins);
_root.fhc = _root.fhc + _root.oraclecoins;
stop();
Symbol 3162 Button
on (release) {
if (retfo() == 1) {
tempelement = Math.floor(Number(cardo) / 100);
zodiactarget = zodiac._rotation;
nextpet = 0;
nextpetn = 0;
oraclepet = "-";
nextfg = 200 + Math.floor(Math.random() * 29);
oraclefg = eval ("name" + nextfg);
if (tempelement == 1) {
zodiactarget = 165;
nextpet = 114;
oraclepet = "Schr\u00F6edinger's cat";
}
if (tempelement == 2) {
zodiactarget = 225;
nextpet = 202;
oraclepet = "Virus";
}
if (tempelement == 3) {
zodiactarget = 255;
nextpet = "";
oraclepet = "-";
}
if (tempelement == 4) {
zodiactarget = 405;
nextpet = 406;
oraclepet = "Gnome Rider";
}
if (tempelement == 5) {
zodiactarget = 435;
nextpet = 503;
oraclepet = "Rustler";
}
if (tempelement == 6) {
zodiactarget = 315;
nextpet = 601;
oraclepet = "Ash Eater";
}
if (tempelement == 7) {
zodiactarget = 465;
nextpet = 701;
oraclepet = "Chrysaora";
}
if (tempelement == 8) {
zodiactarget = 285;
nextpet = 801;
oraclepet = "Photon";
}
if (tempelement == 9) {
zodiactarget = 495;
nextpet = 901;
oraclepet = "Dragonfly";
}
if (tempelement == 10) {
zodiactarget = 195;
nextpet = 1001;
oraclepet = "Deja Vu";
}
if (tempelement == 11) {
zodiactarget = 345;
nextpet = 1103;
oraclepet = "Parasite";
}
if (tempelement == 12) {
zodiactarget = 375;
nextpet = 1201;
oraclepet = "Spark";
}
if (Math.random() > 0.75) {
oraclepet = "???";
nextpet = Number(Math.floor(Math.random() * cindexn));
nextpet = cindexx[nextpet];
}
if (zodiactarget > 180) {
zodiactarget = zodiactarget - 360;
}
gotoAndPlay ("oracleloop");
}
}
Symbol 3165 Button
on (release) {
getURL ("mailto:game.elements@gmail.com", "_blank");
}
Symbol 3172 Button
on (release) {
getURL ("http://elementscommunity.org/chat/blab.php", "_blank");
}
Symbol 3180 MovieClip Frame 1
stop();
Symbol 3180 MovieClip Frame 2
play();
Symbol 3180 MovieClip Frame 7
psw1 = "";
psw2 = "";
currentpsw = "";
email = _root.email;
Symbol 3180 MovieClip Frame 8
if (((psw1 == psw2) and (psw1 != "")) and (currentpsw == _root.psw)) {
yes._visible = true;
yes.play();
if (psw1 != _root.psw) {
submit.gotoAndStop(2);
_root.newpsw = psw1;
} else {
_root.newpsw = "";
}
} else {
yes._visible = false;
_root.newpsw = "";
}
if (email != _root.email) {
submit.gotoAndStop(2);
_root.newemail = email;
} else {
_root.newemail = "";
}
if ((_root.newemail == "") and (_root.newpsw == "")) {
submit.gotoAndStop(1);
}
Symbol 3180 MovieClip Frame 10
gotoAndPlay ("loop");
Symbol 3180 MovieClip Frame 29
gotoAndStop (1);
Symbol 3197 Button
on (release) {
getURL ("http://elementschat.co.cc/chat.php", "_blank");
}
Symbol 3198 Button
on (release) {
if (electrum >= 5) {
electrum = electrum - 5;
lostelectrum = 5;
level = 2;
gotoAndPlay ("game");
} else {
_root.tutortext = "Not enough Electrum";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 3199 Button
on (release) {
if (electrum >= 10) {
electrum = electrum - 10;
lostelectrum = 10;
level = 3;
gotoAndPlay ("game");
} else {
_root.tutortext = "Not enough Electrum";
_root.tutor.gotoAndPlay(2);
}
}
Symbol 3200 Button
on (release) {
if (retele() < 90000) {
addele(10000);
}
}
Symbol 3204 Button
on (release) {
quests = 7;
quest7 = 1;
}
Symbol 3206 Button
on (release) {
if (onlyonce == 0) {
onlyonce = 1;
deckalltemp = decka + "00410039003800370810003100300034012002200320042005200620072008200920102011201220";
i = 0;
while (i < 3) {
deckalltemp = deckalltemp + "0150025003500450055006500750085009501050115012500002010002000300040005000600070008000900100011001200";
i++;
}
deckalln = Math.floor(length(deckalltemp) / 4) * 2;
var deckx = new Array();
here = 0;
i = 0;
while (i < deckalln) {
temp = deckalltemp.slice(4 * i, 4 * (i + 1));
j = 0;
while (j < 3) {
if (temp.slice(0, 1) == "0") {
temp = temp.slice(1, 4);
}
j++;
}
deckx[here] = Number(temp);
here = here + 1;
deckx[here] = Number(temp) + 2000;
here = here + 1;
i++;
}
var tracex = new Array();
i = 0;
while (i < deckalln) {
temp = _root.deckx[i];
if (temp < 10) {
temp = "000" + temp;
} else if (temp < 100) {
temp = "00" + temp;
} else if (temp < 1000) {
temp = "0" + temp;
}
tracex[i] = temp;
i++;
}
deckalltemp = tracex.join("");
i = 0;
while (i < 6) {
deckall = deckalltemp + deckall;
i++;
}
deckalln = deckalln * 6;
}
}
Symbol 3208 Button
on (release) {
if (power < 100) {
power = power + 10;
} else {
power = 0;
}
}
Symbol 3210 Button
on (release) {
dwindow2.gotoAndStop(2);
}
Symbol 3215 Button
on (release) {
gotoAndStop (1);
}
Symbol 3216 Button
on (release) {
_root.customelement = 0;
var tracex = new Array();
var temparray = doutput.split(" ");
doutput2 = temparray.join("");
deckpn1 = Math.floor(length(doutput2) / 3);
if ((deckpn1 > 30) and (deckpn1 < 61)) {
tempmark = doutput2.slice(3 * (deckpn1 - 1), 3 * deckpn1);
tempmark = parseInt(tempmark, 32) - 9000;
trace(tempmark);
if ((tempmark > 10) and (tempmark < 23)) {
_root.customelement = tempmark - 10;
deckpn1 = deckpn1 - 1;
i = 0;
while (i < deckpn1) {
temp = doutput2.slice(3 * i, 3 * (i + 1));
temp = parseInt(temp, 32) - 5000;
if (temp < 10) {
temp = "000" + temp;
} else if (temp < 100) {
temp = "00" + temp;
} else if (temp < 1000) {
temp = "0" + temp;
}
tracex[i] = temp;
i++;
}
_root.customdeck = tracex.join("");
_root.dotuput = doutput;
_root.gotoAndPlay("game");
} else {
aimsg = "Error: AI mark not found";
}
} else if (deckpn1 < 30) {
aimsg = "Error: Code too short";
} else if (deckpn1 > 60) {
aimsg = "Error: Code too long";
}
}
Symbol 3217 Button
on (release) {
if (_root.level == 6) {
_root.level = 3;
aimsg = "A regular AI (level 3) will use this deck";
} else {
_root.level = 6;
aimsg = "A False God AI (level 6) will use this deck";
}
}
Symbol 3220 MovieClip Frame 1
stop();
Symbol 3220 MovieClip Frame 2
_root.level = 3;
doutput = _root.dotuput;
aimsg = "A regular AI (level3) will play this deck";