STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 228075 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2560 · P5120 |
This is the info page for Flash #114902 |
SELECT |
SELECT |
<p align="right"><font face="Arial" size="8" color="#ffffff" letterSpacing="0.000000" kerning="1">5 - 7</font></p> |
<p align="right"><font face="Arial" size="8" color="#ffffff" letterSpacing="0.000000" kerning="1">8</font></p> |
<p align="center"><font face="Arial Black" size="24" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p> |
<p align="center"><font face="Arial Black" size="24" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p> |
<p align="right"></p> |
<p align="center"><font face="Ginko" size="40" color="#ff0000" letterSpacing="0.000000" kerning="1">x</font></p> |
Combo |
<p align="center"><font face="Arial Black" size="20" color="#ffffff" letterSpacing="0.000000" kerning="1">000</font></p> |
- Click here to continue - |
Attack |
Defense |
<p align="left"><font face="Arial" size="10" color="#ffffff" letterSpacing="0.000000" kerning="1">+55</font></p> |
<p align="left"><font face="Arial" size="10" color="#ffffff" letterSpacing="0.000000" kerning="1">+88</font></p> |
<p align="right"><font face="Arial" size="10" color="#ffffff" letterSpacing="0.000000" kerning="1">Total: 97</font></p> |
<p align="right"><font face="Arial" size="10" color="#ffffff" letterSpacing="0.000000" kerning="1">Level up!</font></p> |
<p align="center"><font face="Arial" size="18" color="#ffffff" letterSpacing="0.000000" kerning="1"><i>You lost the match...</i></font></p> |
Round 1 |
Round 2 |
Round 3 |
Round 4 |
Round 5 |
Please select one of your opponent's card. If your main deck is full, it will be added to your side deck instead. |
<p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>Neo the Magic Swordsman</b></font></p><p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>This is the card #7</b></font></p><p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>This is the card #8</b></font></p><p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>This is the card #9</b></font></p><p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>This is the card #10</b></font></p><p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>This is the card #11</b></font></p><p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>This is the card #12</b></font></p><p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>This is the card #13</b></font></p><p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>This is the card #14</b></font></p><p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>This is the card #15</b></font></p> |
<p align="left"><font face="calibri" size="14" color="#ffffff" letterSpacing="0.000000" kerning="1">9999/9999</font></p> |
< Previous Next > |
Side Deck |
Clear Pick Close |
Page |
<p align="right"><font face="calibri" size="11" color="#000000" letterSpacing="0.000000" kerning="1">Yo what's up?!</font></p> |
Yes No |
OK |
<p align="center"><font face="calibri" size="14" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>Are you sure you want to delete this card? The operation is not reversible.</b></font></p> |
* Music by Ailad - NG Audio Portal |
A little something by |
DieJay |
Mystical dueling card game |
Tournament Quick Play Manage Deck Tutorial Credits New Player Load Save |
If it's your first time playing, it's strongly recommended that you read the tutorial first so you can familiarize yourself with the concept of the game. Good luck! |
Are you sure you want to delete your main deck, side deck and progress in the tournament to start back from the beginning? Once you click "Yes", there's no turning back! |
Yes No |
New Player |
Please enter your 185 characters save code below and click on "Load". Your main deck and your progress in the tournament will then be restored. |
<p align="justify"></p> |
Load |
<p align="justify"></p> |
Go Back |
Load Game |
<p align="left"><font face="_sans" size="11" color="#000000" letterSpacing="0.000000" kerning="1">hfghdgfh</font></p><p align="left"><font face="_sans" size="11" color="#000000" letterSpacing="0.000000" kerning="1">dgfhdgfh</font></p> |
Credits |
Coding / Graphics / Concept : Card Graphics : Music : Particular Thanks to : |
<p align="left"><font face="Calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">David "DieJay" Jalbert</font></p><p align="left"><font face="Calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"> ( <a href="daddiejay.deviantart.com" target = "_blank">daddiejay.deviantart.com</a> )</font></p><p align="left"></p><p align="left"><font face="Calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Ryan "Rtil" Miller</font></p><p align="left"><font face="Calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"> ( <a href="www.thebackalleys.com" target = "_blank">www.thebackalleys.com</a> )</font></p><p align="left"></p><p align="left"><font face="Calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Taken from the NG Audio Portal - by;</font></p><p align="left"><font face="Calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"> Danubius</font></p><p align="left"><font face="Calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"> Dj-Svenzo</font></p><p align="left"><font face="Calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"> EternalXIII</font></p><p align="left"><font face="Calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"> Mattopia</font></p><p align="left"><font face="Calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"> DigitalPulse</font></p><p align="left"></p><p align="left"><font face="Calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Sebastien Lemieux for various ideas</font></p><p align="left"><font face="Calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"> on the concept of the game</font></p><p align="left"><font face="Calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">SquareEnix for inspiring me to make</font></p><p align="left"><font face="Calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"> this game to begin with</font></p><p align="left"><font face="Calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">NewGrounds for providing hosting and</font></p><p align="left"><font face="Calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"> a kick-ass audience!</font></p> |
Go Back |
Go Back |
Next > |
Basics You will be presented with a 4x4 board and 5 cards at both its right and left. The cards to the left belong to the opponent and those to the right belong to you. You cannot see your opponent's cards and he can't see yours. The goal of the game is to have more cards in your possession than the opponent when you have both played your 5 cards. |
On each turn, you must place a card from your deck on the board. Do so by clicking on the card of your choice, then on the board. You can't move a card that's already been placed or put a card on an occupied case, be it by a block or another card. |
Tutorial |
< Previous Next > |
Attacking On the eight corners of each cards can be an arrow pointing outwards. When you place a card on the board, if the arrow points on another card that the opponent controls, you can either possess it if it doesn't point yours in return or attack it if it does. If you attack it and your card has an attack value higher than the other card's defense, or if you possess it, you take its control. |
1 2 |
2 1 |
1 1 |
If it's a tie, nothing happens. If the card you took control of by attacking it points to other cards that in return points it back, you can achieve a combo and take control of them too. |
Attack and Defense Each card has an attack (top number) and a defense (bottom number) followed by an element (red is fire, yellow is wind, green is earth, blue is water, black is neutral and white is magic). The values can be single numbers (ex. 5) or ranges (ex. 3-6). If it's a range, the final number will be a value between and including the numbers specified. |
5 - 7 |
8 |
For example, the card to the right shows a neutral attack between 5 and 7 and a fire defense of 8. The elements can double or half the numbers, depending on the elements of the card they attack or defend from. |
Elements The element cycle is Fire > Wind > Earth > Water. So, for example, wind doubles the attack if against earth and halves it if against fire. The attack is normal if against an element not directly opposed. Neutral keeps the attack the same on anything. Magic takes the lowest number of the opponent. |
If, for example, you have a magic attack of 3 and attack a card that has an attack of 2 and a defense of 5, it will use the attack as the defense value as it's the lowest of the two. |
End of the Round If, when both you and your opponent are out of cards, you have more cards in your control than your opponent, or if it's a tie and the opponent was the last one to place a card, you win the round. At the end of each round, your cards will receive experience based on their actions during the round. Cards have experience for both their attack and defense. When you get 100 experience points, the value will gain one point. Also, in Tournament mode, if you win a match, you will be able to take one of your opponent's cards. It will be added to your main deck, or if it's full, to your side deck. Your side deck has unlimited space, but it's not saved if you quit the game, so be careful! |
< Previous |
Your deck and the Tournament mode You can have a maximum of 15 cards in your possession, so it's important to keep only the cards you value the most. Your side deck resets each time you quit the game even if you load a save code, so make sure you check it often so you won't lose a valuable card. The tournament is split into 3 parts; Amateur, Professional and Master. You can enter a tournament only if you beat the previous. Each opponent gets tougher as you progress, owning stronger cards and using better strategies. You will need skills and determination if you want to become Master of the Tournament. |
Good Luck! |
The 185 characters save code below constitues your main deck and your progress in the tournament. You can use it to continue from where you left off if you have to quit the game. |
<p align="justify"></p> |
Go Back |
Please copy this code and keep it on your computer. |
Save Code |
Card Management |
Click on a card to select it. You can then press "D" to delete the card or click on another to change its position. Click the card a second time to unselect it. Press "S" to bring up the side deck and pick a card from the side deck if you selected a card to replace it with. |
<p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>Neo the Magic Swordsman</b></font></p><p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>This is the card #2</b></font></p><p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>This is the card #3</b></font></p><p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>This is the card #4</b></font></p><p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>This is the card #5</b></font></p> |
<p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>Neo the Magic Swordsman</b></font></p><p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>This is the card #7</b></font></p><p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>This is the card #8</b></font></p><p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>This is the card #9</b></font></p><p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>This is the card #10</b></font></p><p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>This is the card #11</b></font></p><p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>This is the card #12</b></font></p><p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>This is the card #13</b></font></p><p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>This is the card #14</b></font></p><p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>This is the card #15</b></font></p> |
Play Cards |
Spare Cards |
<p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Attack Exp.:</font></p><p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Defense Exp.:</font></p> |
<p align="right"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">98/100</font></p><p align="right"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">56/100</font></p> |
Quick Play |
Go Back |
In Quick Play mode, you get to play a single match against the computer. The structure of your opponent's deck is based on the level of your cards and its strategy is determined with the level of difficulty you choose. You can't win new cards in Quick Play mode but your cards can still gain experience. When you're ready to duel, select a difficulty and match length to start. |
Difficulty Easy Medium Hard |
Match Length Single 2 of 3 3 of 5 Go Back |
Tournament |
Welcome to the Ethereal Master Tournament! Here, you're given a chance to prove your worth, to challenge the best of the best on your way to the top. Do you really have what it takes to become the Master of the Tournament? When you're ready, select a tournament to start. The tournaments you've completed have a star next to them. |
Tournaments |
Please select a match to play. |
Single |
2 of 3 |
3 of 5 |
Single |
2 of 3 |
3 of 5 |
<p align="center"><font face="katana" size="30" color="#ffffff" letterSpacing="0.000000" kerning="1">Fucked-Up Cup</font></p> |
<p align="center"><font face="katana" size="30" color="#ffffff" letterSpacing="0.000000" kerning="1">Mamh'Ud</font></p> |
<p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">DJ in a club in Slacktown, USA. Thinks he's the hottest thing alive since Barry White.</font></p><p align="left"><font face="calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">3-of-5 Match.</font></p> |
Close |
Challenge! |
<p align="left"><font face="calibri" size="12" color="#000000" letterSpacing="0.000000" kerning="1">If you wanna go any further, you'll have to beat ME first, and that's not likely to happen.</font></p> |
<p align="center"><font face="calibri" size="15" color="#000000" letterSpacing="0.000000" kerning="1">Your temerity proved stronger than mine. You deserve the title of champion.</font></p> |
<p align="center"><font face="katana" size="40" color="#ffffff" letterSpacing="0.000000" kerning="1">Razor Wins!</font></p> |
Continue |
Amateur Cup Completed! |
Congratulations! You successfully completed the Amateur tournament and are hereby rewarded the Silver Trophy! In addition, you can now compete in the Professional tournament. Good luck! |
Continue |
Professional Cup Completed! |
Congratulations! You successfully completed the Professional tournament and are hereby rewarded the Gold Trophy! In addition, you can now compete in the Master tournament. Do you have what it takes to be named Master of the Tournament? |
Master Cup Completed! |
Congratulations! You successfully completed the Master tournament and are hereby rewarded the Crystal Trophy! As the new Master of the Tournament, your name will be remembered for generations to come. Also, you might want to rematch Mamh'Ud, for he still has a few tricks up his sleeve for you! =) |
ActionScript [AS1/AS2]
Frame 1function playMusic(musicname, vol) { delete _root.jukebox.onEnterFrame; _root.music.stop(); _root.music.attachSound(musicname); _root.music.setVolume(vol); _root.music.start(0, 2000000); } function stopMusic() { _root.music.stop(); } function fadeMusic(limit) { _root.jukebox.cframe = limit; _root.jukebox.climit = limit; _root.jukebox.ovol = _root.music.getVolume(); _root.jukebox.onEnterFrame = function () { if (this.cframe >= 0) { _root.music.setVolume((this.cframe / this.climit) * this.ovol); this.cframe--; } else { delete this.onEnterFrame; } }; } function playSound(soundname) { sfx = new Sound(); sfx.attachSound(soundname); sfx.start(); } function forceLength(string, force, char) { k = string.length; while (k < force) { string = char + string; k++; } return(string); } function roundCurve(cframe, limit) { timeper = 1 - Math.pow(cframe / limit, 0.5); distance = 1 - Math.pow(timeper, 2); return(distance); } function paraCurve(cframe, limit) { distance = 1 - Math.pow(((cframe / limit) * 2) - 1, 2); return(distance); } function getPosition(pos, maxdistx, maxdisty, maxdistdiax, maxdistdiay) { xpos = (ypos = 0); switch (pos) { case 0 : xpos = maxdistx; ypos = 0; break; case 1 : xpos = maxdistdiax; ypos = maxdistdiay; break; case 2 : xpos = 0; ypos = maxdisty; break; case 3 : xpos = -maxdistdiax; ypos = maxdistdiay; break; case 4 : xpos = -maxdistx; ypos = 0; break; case 5 : xpos = -maxdistdiax; ypos = -maxdistdiay; break; case 6 : xpos = 0; ypos = -maxdisty; break; case 7 : xpos = maxdistdiax; ypos = -maxdistdiay; } return(Array(xpos, ypos)); } function getRandom(min, max) { var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min; return(_local1); } function getMultiplier(cardA, cardB) { cardaelem = cardA.getElements(); cardbelem = cardB.getElements(); multi = 1; switch (cardaelem[0]) { case 1 : switch (cardbelem[1]) { case 2 : multi = 0.5; break; case 3 : multi = 2; } break; case 2 : switch (cardbelem[1]) { case 1 : multi = 2; break; case 4 : multi = 0.5; } break; case 3 : switch (cardbelem[1]) { case 1 : multi = 0.5; break; case 4 : multi = 2; } break; case 4 : switch (cardbelem[1]) { case 2 : multi = 2; break; case 3 : multi = 0.5; } } return(multi); } function getMaxAttributes(cardA, cardB) { multi = getMultiplier(cardA, cardB); attelems = cardA.getElements(); defelems = cardB.getElements(); if (defelems[1] == 5) { attack = cardA.getLowest(); } else { attack = cardA.getAttack(); } if (attelems[0] == 5) { defense = cardB.getLowest(); } else { defense = cardB.getDefense(); } attack[0] = Math.round(attack[0] * multi); attack[1] = Math.round(attack[1] * multi); attributes = new Array(attack[0], attack[1], defense[0], defense[1]); return(attributes); } function getChance(cardA, cardB) { attributes = getMaxAttributes(cardA, cardB); attmin = attributes[0]; attmax = attributes[1]; defmin = attributes[2]; defmax = attributes[3]; totalpos = 0; winpos = 0; att = attmin; while (att <= attmax) { def = defmin; while (def <= defmax) { if (att > def) { winpos = winpos + 1; } else if (att == def) { winpos = winpos + 0.5; } totalpos++; def++; } att++; } if (totalpos) { return((winpos / totalpos) * 100); } return(0); } function calcBattle(cardA, cardB) { attributes = getMaxAttributes(cardA, cardB); realattack = getRandom(attributes[0], attributes[1]); realdefense = getRandom(attributes[2], attributes[3]); var _local1 = new Array(realattack, realdefense); return(_local1); } function getAverage() { resarray = new Array(2); avattack = 0; avdefense = 0; i = 0; while (i < _root.cardindeck) { attack = _root.playerdeck[i].getAttack(); defense = _root.playerdeck[i].getDefense(); avattack = avattack + ((attack[0] + attack[1]) / 2); avdefense = avdefense + ((defense[0] + defense[1]) / 2); i++; } resarray = [avattack / _root.cardindeck, avdefense / _root.cardindeck]; return(resarray); } function getExpCoef(playobj, comobj, playatt) { if (playatt) { playarr = playobj.getAttack(); comarr = comobj.getDefense(); } else { playarr = playobj.getDefense(); comarr = comobj.getAttack(); } playvar = (playarr[0] + playarr[1]) / 2; comvar = (comarr[0] + comarr[1]) / 2; expcoef = comvar / playvar; if (expcoef < 0.5) { expcoef = 0.5; } if (expcoef > 1) { expcoef = 1; } expcoef = (expcoef - 0.5) * 2; return(expcoef); } function initMatch() { with (_root) { curround = 0; roundres = new Array(0, 0, 0, 0, 0); matchres = 0; } } function resetGame() { _root.curlevel = 0; _root.sidedeck = new Array(); _root.playerdeck = new Array(new Card(1, 1, 2, 1, 2, [1, 1, 1, 0, 0, 1, 0, 0]), new Card(2, 1, 2, 1, 2, [0, 0, 1, 1, 1, 0, 0, 1]), new Card(3, 1, 2, 1, 2, [0, 1, 0, 0, 1, 1, 1, 0]), new Card(4, 1, 2, 1, 2, [1, 0, 0, 1, 0, 0, 1, 1]), new Card(5, 1, 2, 2, 2, [0, 1, 0, 1, 0, 1, 0, 1]), new Card(0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0]), new Card(0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0]), new Card(0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0]), new Card(0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0]), new Card(0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0]), new Card(0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0]), new Card(0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0]), new Card(0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0]), new Card(0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0]), new Card(0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0])); } function initGame(curobject) { curobject.step = 0; curobject.onEnterFrame = function () { switch (this.step) { case 0 : _root.playSound("getready.wav"); this.attachMovie("get_ready_anim", "get_ready_anim", this.getNextHighestDepth(), {_x:0, _y:0}); if (!gamelength) { roundframe = 1; } else { roundframe = curround + 2; } this.get_ready_anim.get_ready.gotoAndStop(roundframe); this.step = 1; break; case 1 : if (this.get_ready_anim._currentframe != this.get_ready_anim._totalframes) { break; } delete this.onEnterFrame; this.get_ready_anim.removeMovieClip(); initDeck(this, 0); } }; } function initDeck(curobject, step) { i = 0; while (i < tabledimx) { j = 0; while (j < tabledimy) { if (map[j][i]) { cardtable[i][j] = ["block", 0, 0]; } else { cardtable[i][j] = [0, 0, 0]; } j++; } i++; } gamestate = false; selcard = -1; attacks = new Array(); possessions = new Array(); usedccards = new Array(); usedpcards = new Array(); gainedexp = new Array(cardindeck); i = 0; while (i < cardindeck) { gainedexp[i] = new Array(0, 0, 0, 0, 0); i++; } selfdeck = 0; winner = 0; blocklist = new Array(); curobject.attachMovie("label_box", "label_box", curobject.getNextHighestDepth(), {_x:0, _y:0}); curobject.cframe = 0; curobject.limit = 0; curobject.step = 0; curobject.showncards = 0; curobject.onEnterFrame = function () { switch (this.step) { case 0 : case 1 : this.limit = 5; if (!this.step) { obj = "pdeck"; cxpos = pdeckx; cypos = pdecky; } else { obj = "cdeck"; cxpos = cdeckx; cypos = cdecky; } nextstep = this.step + 1; if (this.showncards < cardindeck) { if ((this.cframe % this.limit) == 0) { _root.playSound("card.wav"); this.attachMovie("card", ((obj + "[") + this.showncards) + "]", this.getNextHighestDepth(), {_x:cxpos, _y:gameheight}); curcard = this[((obj + "[") + this.showncards) + "]"]; curcard.inidepth = curcard.getDepth(); if (!this.step) { setCardAppearance(curcard, playerdeck[this.showncards]); } else { curcard.gotoAndStop("back"); } curcard.cframe = 0; curcard.limit = 15; curcard.beginy = curcard._y; curcard.endy = cypos + (this.showncards * cardmargin); curcard.onEnterFrame = function () { if (this.cframe <= this.limit) { pos = roundCurve(this.cframe, this.limit); this._y = this.beginy + (pos * (this.endy - this.beginy)); this.cframe++; } else { delete this.onEnterFrame; } }; this.showncards++; } this.cframe++; } else { this.cframe = 1; this.showncards = 0; this.step = nextstep; } break; case 2 : blocklist = new Array(); py = 0; while (py < tabledimx) { px = 0; while (px < tabledimy) { if (cardtable[px][py][0] == "block") { blocklist.push(new Array(px, py)); } px++; } py++; } if (blocklist.length) { this.cframe = 0; this.showncards = 0; this.step = 3; } else { this.step = 4; } this.attachMovie("counter", "counter", this.getNextHighestDepth(), {_x:counterx, _y:countery, _alpha:0}); this.counter.limit = 15; this.counter.cframe = 0; this.counter.onEnterFrame = function () { if (this.cframe <= this.limit) { this._alpha = (this.cframe / this.limit) * 100; this.cframe++; } else { delete this.onEnterFrame; } }; break; case 3 : this.limit = 5; if (this.showncards < blocklist.length) { if ((this.cframe % this.limit) == 0) { _root.playSound("pock.wav"); this.attachMovie("card", ("block[" + this.showncards) + "]", this.getNextHighestDepth()); curblock = this[("block[" + this.showncards) + "]"]; curblock.gotoAndStop("block"); curblock._alpha = 0; curblock.cframe = 0; curblock.limit = 15; curblock.multi = 3; curblock.num = this.showncards; curblock.onEnterFrame = function () { if (this.cframe <= this.limit) { distance = _root.roundCurve(this.cframe, this.limit); initx = (blocklist[this.num][0] * cardwidth) + tablex; inity = (blocklist[this.num][1] * cardheight) + tabley; initw = cardwidth; inith = cardheight; this._width = (initw * this.multi) - (distance * (initw * (this.multi - 1))); this._height = (inith * this.multi) - (distance * (inith * (this.multi - 1))); this._x = initx - ((this._width - initw) / this.multi); this._y = inity - ((this._height - inith) / this.multi); this._alpha = distance * 100; this.cframe++; } else { delete this.onEnterFrame; } }; this.showncards++; } if (this.showncards == blocklist.length) { this.cframe = 15; } else { this.cframe++; } } else if (this.cframe > 0) { this.cframe--; } else { this.step = 4; } break; case 4 : this.attachMovie("coin_anim", "coin_anim", this.getNextHighestDepth(), {_x:0, _y:0}); coin = this.coin_anim; starter = getRandom(1, 2); coinstep = 0; this.step = 5; break; case 5 : switch (coinstep) { case 0 : if (coin._currentframe == coin._totalframes) { coin.stop(); if (starter == 1) { coin.coin_bounce.spinning_coin.gotoAndStop("blue"); } else { coin.coin_bounce.spinning_coin.gotoAndStop("red"); } this.cframe = 30; coinstep = 1; } break; case 1 : if (this.cframe > 0) { this.cframe--; } else { this.limit = 5; coinstep = 2; } break; case 2 : if (this.cframe <= this.limit) { coin._alpha = 100 - (this.cframe * (100 / this.limit)); this.cframe++; } else { coin.removeMovieClip(); this.step = 6; } } break; case 6 : selindex = 0; px = 0; while (px < tabledimx) { py = 0; while (py < tabledimy) { this.attachMovie("card", ((("casesel[" + px) + "][") + py) + "]", this.getNextHighestDepth(), {_x:tablex + (px * cardwidth), _y:tabley + (py * cardheight)}); cursel = this[((("casesel[" + px) + "][") + py) + "]"]; if ((cardtable[px][py][0] == 0) && (cardtable[px][py][1] == 0)) { cursel.canselect = true; } else { cursel.canselect = false; } cursel.px = px; cursel.py = py; cursel.curobject = this; cursel._alpha = 0; cursel.gotoAndStop("case_select"); cursel.onRollOver = function () { if ((gamestate && (selcard >= 0)) && (this.canselect)) { this._alpha = 100; } }; cursel.onRollOut = (cursel.onReleaseOutside = function () { this._alpha = 0; }); cursel.onPress = function () { if ((gamestate && (selcard >= 0)) && (this.canselect)) { this.canselect = false; _root.playSound("card.wav"); cardtable[this.px][this.py] = [selcard, 1, 1]; usedpcards.push(selcard); this.curobject[("psel[" + selcard) + "]"].removeMovieClip(); i = selcard + 1; while (i < cardindeck) { curcard = this.curobject[("pdeck[" + i) + "]"]; if (curcard._x == pdeckx) { moveCard(this.curobject, curcard, curcard._x, curcard._y, curcard._x, curcard._y - cardmargin, 15, 0); this.curobject[("psel[" + i) + "]"]._y = this.curobject[("psel[" + i) + "]"]._y - cardmargin; } i++; } curcard = this.curobject[("pdeck[" + selcard) + "]"]; curcard.indicator.gotoAndStop(2); curcard.selector._alpha = 0; curcard.swapDepths(this.curobject.getNextHighestDepth()); this._alpha = 0; moveCard(this.curobject, curcard, curcard._x, curcard._y, (this.px * cardwidth) + tablex, (this.py * cardheight) + tabley, 15, 1); selcard = -1; gamestate = false; } }; selindex++; py++; } px++; } i = 0; while (i < cardindeck) { this.attachMovie("card", ("psel[" + i) + "]", this.getNextHighestDepth(), {_x:pdeckx, _y:pdecky + (i * cardmargin)}); cursel = this[("psel[" + i) + "]"]; cursel.inidepth = this[("pdeck[" + i) + "]"].inidepth; cursel.curobject = this; cursel.num = i; cursel.onRollOver = function () { if (gamestate) { curcard = this.curobject[("pdeck[" + this.num) + "]"]; curcard = this.curobject[("pdeck[" + this.num) + "]"]; curcard.swapDepths(this.curobject.getNextHighestDepth()); curcard._x = pdeckx - cardpeekx; this.curobject.label_box._x = (curcard._x + cardwidth) - labelboxwidth; this.curobject.label_box._y = curcard._y + cardheight; this.curobject.label_box.swapDepths(this.curobject.getNextHighestDepth()); this.curobject.label_box.gotoAndStop("on"); this.curobject.label_box.txtName.text = playerdeck[this.num].getName(); } }; cursel.onRollOut = (cursel.onReleaseOutside = function () { if (gamestate) { this.curobject.label_box.gotoAndStop("off"); this.curobject.label_box.txtName.text = ""; curcard = this.curobject[("pdeck[" + this.num) + "]"]; curcard.swapDepths(this.curobject[("pdeck[" + this.num) + "]"].inidepth); curcard._x = pdeckx; } }); cursel.onPress = function () { if (gamestate) { _root.playSound("card.wav"); selcard = this.num; i = 0; while (i < cardindeck) { curcard = this.curobject[("pdeck[" + i) + "]"]; if (i == selcard) { curcard.selector._alpha = 100; } else { curcard.selector._alpha = 0; } i++; } } }; i++; } this.step = 7; break; case 7 : turnTitle(this, starter); delete this.onEnterFrame; } }; } function addScore(curobject, selfscore, otherscore, player) { curscoreblue = parseInt(curobject.counter.txtBlueScore.text); curscorered = parseInt(curobject.counter.txtRedScore.text); if (player == 1) { curobject.counter.txtBlueScore.text = "" + (curscoreblue + selfscore); curobject.counter.txtRedScore.text = "" + (curscorered + otherscore); } else if (player == 2) { curobject.counter.txtBlueScore.text = "" + (curscoreblue + otherscore); curobject.counter.txtRedScore.text = "" + (curscorered + selfscore); } } function turnTitle(curobject, starter) { if ((usedccards.length == cardindeck) && (usedpcards.length == cardindeck)) { curscoreblue = parseInt(curobject.counter.txtBlueScore.text); curscorered = parseInt(curobject.counter.txtRedScore.text); if (curscoreblue > curscorered) { winner = 1; } else if (curscoreblue < curscorered) { winner = 2; } else { winner = starter; } roundres[curround] = winner; curobject.attachMovie("endgame_clip", "endgame_clip", curobject.getNextHighestDepth(), {_x:0, _y:0}); curobject.endgame_clip.pos = 0; curobject.endgame_clip.cardno = 0; curobject.endgame_clip.cframe = 5; curobject.endgame_clip.limit = 5; curobject.endgame_clip.gameres_title.gotoAndStop(winner); curobject.endgame_clip.onEnterFrame = function () { switch (this.pos) { case 1 : px = 0; while (px < tabledimx) { py = 0; while (py < tabledimy) { curobject[((("casesel[" + px) + "][") + py) + "]"].removeMovieClip(); py++; } px++; } if (canwinexp) { this.gotoAndPlay("winexp"); } else { this.gotoAndPlay("gameend"); } this.pos = 0; break; case 2 : if (this.cardno < cardindeck) { if (this.cframe == this.limit) { _root.playSound("card.wav"); curcard = curobject[("pdeck[" + this.cardno) + "]"]; curcard.indicator.gotoAndStop(1); curcard.swapDepths(curobject.getNextHighestDepth()); curcardx = ((gamewidth / 2) - ((cardwidth * cardindeck) / 2)) + (cardwidth * this.cardno); curcardy = 140; moveCard(curobject, curcard, curcard._x, curcard._y, curcardx, curcardy, 15, 0); curobject.attachMovie("experience_box", ("exp[" + this.cardno) + "]", curobject.getNextHighestDepth(), {_x:curcardx, _y:curcardy + cardheight, _alpha:0}); curexpcard = curobject[("exp[" + this.cardno) + "]"]; hasatt = gainedexp[this.cardno][0]; beenatt = gainedexp[this.cardno][1]; haspos = gainedexp[this.cardno][2]; beenpos = gainedexp[this.cardno][3]; beencombo = gainedexp[this.cardno][4]; ratios = playerdeck[this.cardno].getRatios(); attratio = (ratios[0] + hasatt) - haspos; defratio = (ratios[1] + beenatt) - beenpos; curexp = playerdeck[this.cardno].getExp(); actdef = playerdeck[this.cardno].getDefense(); actatt = playerdeck[this.cardno].getAttack(); if ((actatt[0] < 15) || (actatt[1] < 15)) { attxp = Math.round(((hasatt * 10) + (haspos * 10)) + (beencombo * 5)); } else { attxp = 0; } if ((actdef[0] < 15) || (actdef[1] < 15)) { defxp = Math.round(((beenatt * 10) + (beenpos * 10)) + (beencombo * 5)); } else { defxp = 0; } curexp[0] = curexp[0] + attxp; curexp[1] = curexp[1] + defxp; curexpcard.txtAttackExp.text = "+" + attxp; curexpcard.txtDefenseExp.text = "+" + defxp; levelup = false; if (curexp[0] >= 100) { levelup = true; curexp[0] = curexp[0] - 100; curexpcard.txtAttackTotal.textColor = 16750848 /* 0xFF9900 */; curexpcard.txtAttackTotal.text = "Level up!"; newattack = new Array(2); if (attratio >= 0) { newattack = [0, 1]; } else { newattack = [1, 0]; } attratio = 0; playerdeck[this.cardno].addAttack(newattack[0], newattack[1]); } else { curexpcard.txtAttackTotal.text = ("(" + curexp[0]) + "/100)"; } if (curexp[1] >= 100) { levelup = true; curexp[1] = curexp[1] - 100; curexpcard.txtDefenseTotal.textColor = 16750848 /* 0xFF9900 */; curexpcard.txtDefenseTotal.text = "Level up!"; newdefense = new Array(2); if (defratio >= 0) { newdefense = [0, 1]; } else { newdefense = [1, 0]; } defratio = 0; playerdeck[this.cardno].addDefense(newdefense[0], newdefense[1]); } else { curexpcard.txtDefenseTotal.text = ("(" + curexp[1]) + "/100)"; } playerdeck[this.cardno].setRatios(attratio, defratio); playerdeck[this.cardno].setExp(curexp[0], curexp[1]); curexpcard.cframe = 0; curexpcard.limit = 15; curexpcard.cardno = this.cardno; curexpcard.levelup = levelup; curexpcard.onEnterFrame = function () { if (this.cframe <= this.limit) { this._alpha = 100 * (this.cframe / this.limit); this.cframe++; } else { delete this.onEnterFrame; if (this.levelup) { curobject.attachMovie("levelup", ("levelup[" + this.cardno) + "]", curobject.getNextHighestDepth(), {_x:this._x, _y:this._y - cardheight}); curobject[("levelup[" + this.cardno) + "]"].cardno = this.cardno; curobject[("levelup[" + this.cardno) + "]"].lastcard = this.lastcard; curobject[("levelup[" + this.cardno) + "]"].onEnterFrame = function () { if (this.pos == 1) { curobject[("pdeck[" + this.cardno) + "]"].txtAttack.text = playerdeck[this.cardno].getAttackString(); curobject[("pdeck[" + this.cardno) + "]"].txtDefense.text = playerdeck[this.cardno].getDefenseString(); } else if (this.pos == 3) { this.removeMovieClip(); } }; } } }; this.cardno++; this.cframe = 0; } else { this.cframe++; } } break; case 3 : cno = 0; while (cno < cardindeck) { ins = 0; while (ins < 2) { if (ins) { fadeobj = curobject[("exp[" + cno) + "]"]; } else { fadeobj = curobject[("pdeck[" + cno) + "]"]; } fadeobj.cframe = 15; fadeobj.limit = 15; fadeobj.onEnterFrame = function () { if (this.cframe >= 0) { this._alpha = 100 * (this.cframe / this.limit); this.cframe--; } else { this.removeMovieClip(); } }; ins++; } cno++; } this.cardno = 0; this.pos = 0; break; case 4 : i = 0; while (i < blocklist.length) { curobject[("block[" + i) + "]"].cframe = 15; curobject[("block[" + i) + "]"].limit = 15; curobject[("block[" + i) + "]"].onEnterFrame = function () { if (this.cframe >= 0) { this._alpha = 100 * (this.cframe / this.limit); this.cframe--; } else { this.removeMovieClip(); } }; i++; } curobject.counter.cframe = 15; curobject.counter.limit = 15; curobject.counter.onEnterFrame = function () { if (this.cframe >= 0) { this._alpha = 100 * (this.cframe / this.limit); this.cframe--; } else { this.removeMovieClip(); } }; curround++; this.match_result.gotoAndStop(gamelength + 1); roundnum = (gamelength * 2) + 1; rwon = 0; rlost = 0; i = 0; while (i < roundnum) { if (roundres[i] == 1) { rwon++; } else if (roundres[i] == 2) { rlost++; } this.match_result["mark" + i].gotoAndStop(roundres[i] + 1); i++; } if (rwon >= (gamelength + 1)) { restext = "Congratulations, you won the match!"; matchres = 1; } else if (rlost >= (gamelength + 1)) { restext = "You lost the match..."; matchres = 2; } else { restext = ("Get ready for Round " + (curround + 1)) + "."; matchres = 0; } if ((matchres != 1) || (!canwincard)) { cn = 0; while (cn < _root.cardindeck) { if (curobject[("pdeck[" + cn) + "]"]) { curobject[("pdeck[" + cn) + "]"].cframe = 15; curobject[("pdeck[" + cn) + "]"].limit = 15; curobject[("pdeck[" + cn) + "]"].onEnterFrame = function () { if (this.cframe >= 0) { this._alpha = 100 * (this.cframe / this.limit); this.cframe--; } else { this.removeMovieClip(); } }; } if (curobject[("cdeck[" + cn) + "]"]) { curobject[("cdeck[" + cn) + "]"].cframe = 15; curobject[("cdeck[" + cn) + "]"].limit = 15; curobject[("cdeck[" + cn) + "]"].onEnterFrame = function () { if (this.cframe >= 0) { this._alpha = 100 * (this.cframe / this.limit); this.cframe--; } else { this.removeMovieClip(); } }; } cn++; } } this.match_result.txtMessage.text = restext; this.pos = 0; break; case 5 : if ((matchres == 1) && (canwincard)) { this.gotoAndPlay("wincard"); } else { this.gotoAndPlay("clipend"); } this.pos = 0; break; case 6 : if (this.cardno < cardindeck) { if (this.cframe == this.limit) { _root.playSound("card.wav"); curcard = curobject[("cdeck[" + this.cardno) + "]"]; curcard.indicator.gotoAndStop(1); curcard.swapDepths(curobject.getNextHighestDepth()); curcardx = ((gamewidth / 2) - ((cardwidth * cardindeck) / 2)) + (cardwidth * this.cardno); curcardy = 140; moveCard(curobject, curcard, curcard._x, curcard._y, curcardx, curcardy, 15, 0); this.cardno++; this.cframe = 0; } else { this.cframe++; } } else { this.pos = 0; } break; case 7 : curobject.label_box.swapDepths(curobject.getNextHighestDepth()); obtno = 0; while (obtno < _root.cardindeck) { curobject[("cdeck[" + obtno) + "]"].cardno = obtno; curobject[("cdeck[" + obtno) + "]"].gameclip = this; curobject[("cdeck[" + obtno) + "]"].curx = curobject[("cdeck[" + obtno) + "]"]._x; curobject[("cdeck[" + obtno) + "]"].cury = curobject[("cdeck[" + obtno) + "]"]._y; curobject[("cdeck[" + obtno) + "]"].onRollOver = function () { this.selector._alpha = 100; curobject.label_box._x = (this.curx + cardwidth) - labelboxwidth; curobject.label_box._y = this.cury + cardheight; curobject.label_box.txtName.text = computerdeck[this.cardno].getName(); curobject.label_box.gotoAndStop("on"); }; curobject[("cdeck[" + obtno) + "]"].onRollOut = function () { this.selector._alpha = 0; curobject.label_box.gotoAndStop("off"); curobject.label_box.txtName.text = ""; }; curobject[("cdeck[" + obtno) + "]"].onPress = function () { _root.playSound("card.wav"); addindex = -1; addnum = 0; do { if (!playerdeck[addnum].getNumber()) { addindex = addnum; } addnum++; } while ((addindex < 0) && (addnum < cardinfull)); pcatt = computerdeck[this.cardno].getAttack(); pcdef = computerdeck[this.cardno].getDefense(); pcnum = computerdeck[this.cardno].getNumber(); pcarr = computerdeck[this.cardno].getArrows(); if (addindex >= 0) { playerdeck[addindex] = new Card(pcnum, pcatt[0], pcatt[1], pcdef[0], pcdef[1], pcarr); } else { sidenum = sidedeck.push(new Card(pcnum, pcatt[0], pcatt[1], pcdef[0], pcdef[1], pcarr)); } curobject.label_box.removeMovieClip(); this.selector._alpha = 0; this.gameclip.play(); i = 0; while (i < obtcards.length) { delete curobject[("cdeck[" + obtcards[i]) + "]"].onRollOver; delete curobject[("cdeck[" + obtcards[i]) + "]"].onRollOut; delete curobject[("cdeck[" + obtcards[i]) + "]"].onPress; i++; } j = 0; while (j < cardindeck) { if (j != this.cardno) { curobject[("cdeck[" + j) + "]"].cframe = 15; curobject[("cdeck[" + j) + "]"].limit = 15; curobject[("cdeck[" + j) + "]"].onEnterFrame = function () { if (this.cframe >= 0) { this._alpha = 100 * (this.cframe / this.limit); this.cframe--; } else { this.removeMovieClip(); } }; } j++; } curobject[("cdeck[" + this.cardno) + "]"].cframe = 0; curobject[("cdeck[" + this.cardno) + "]"].limit = 15; curobject[("cdeck[" + this.cardno) + "]"].cury = curobject[("cdeck[" + this.cardno) + "]"]._y; curobject[("cdeck[" + this.cardno) + "]"].onEnterFrame = function () { if (this.cframe <= this.limit) { factor = roundCurve(this.cframe, this.limit); fheight = gameheight - this.cury; this._alpha = 100 - (100 * (this.cframe / this.limit)); this._y = this.cury + (factor * fheight); this.cframe++; } else { this.removeMovieClip(); } }; }; obtno++; } this.pos = 0; break; case 8 : if (matchres) { _root.fadeMusic(25); } curobject.play(); this.pos = 0; } }; } else { curobject.attachMovie("turn_title", "turn_title", curobject.getNextHighestDepth(), {_x:0, _y:0}); curobject.turn_title.gotoAndStop(starter + 1); curobject.turn_title.onEnterFrame = function () { if (this._currentframe == this._totalframes) { if (starter == 1) { playerTurn(curobject); } else { opponentTurn(curobject); } this.removeMovieClip(); } }; } } function playerTurn(curobject) { gamestate = true; } function opponentTurn(curobject) { bestcard = getBestCard(); cardtable[bestcard[1]][bestcard[2]] = [bestcard[0], 2, 2]; usedccards.push(bestcard[0]); curcard = curobject[("cdeck[" + bestcard[0]) + "]"]; curcard.step = 0; curcard.onEnterFrame = function () { switch (this.step) { case 0 : _root.playSound("card.wav"); this._x = cdeckx + cardpeekx; this.step = 1; counter = 0; break; case 1 : if (counter == 15) { this.step = 2; } else { counter++; } break; case 2 : delete this.onEnterFrame; _root.playSound("card.wav"); setCardAppearance(this, computerdeck[bestcard[0]]); curcard.swapDepths(curobject.getNextHighestDepth()); curcard.indicator.gotoAndStop(3); moveCard(curobject, curcard, curcard._x, curcard._y, tablex + (bestcard[1] * cardwidth), tabley + (bestcard[2] * cardheight), 15, 2); curobject[((("casesel[" + bestcard[1]) + "][") + bestcard[2]) + "]"].canselect = false; i = bestcard[0] + 1; for(;;){ if (i >= cardindeck) { break; } curcard = curobject[("cdeck[" + i) + "]"]; if (curcard._x == cdeckx) { moveCard(curobject, curcard, curcard._x, curcard._y, curcard._x, curcard._y - cardmargin, 15, 0); } i++; }; } }; } function setCardAppearance(curcard, cardobj) { curcard.gotoAndStop("card"); curcard.card_picture.gotoAndStop(cardobj.getNumber()); curcard.txtAttack.text = cardobj.getAttackString(); curcard.txtDefense.text = cardobj.getDefenseString(); elems = cardobj.getElements(); curcard.attack_element.gotoAndStop(elems[0] + 1); curcard.defense_element.gotoAndStop(elems[1] + 1); curcard.arrows = cardobj.getArrows(); i = 0; while (i < 8) { if (curcard.arrows[i]) { arrowfitx = (cardwidth / 2) - (arrowwidth / 2); arrowfity = (cardheight / 2) - (arrowheight / 2); pos = getPosition(i, arrowfitx, arrowfity, arrowfitx, arrowfity); arrowxpos = pos[0] + arrowfitx; arrowypos = pos[1] + arrowfity; if (!curcard[("arrow[" + i) + "]"]) { curcard.attachMovie("arrow", ("arrow[" + i) + "]", curcard.getNextHighestDepth(), {_x:arrowxpos, _y:arrowypos}); } } curcard[("arrow[" + i) + "]"].gotoAndStop(i + 1); i++; } } function delCardAppearance(curcard) { for (mc in curcard) { curcard[mc].removeMovieClip(); } curcard.gotoAndStop("back"); } function getBestCard() { valuetable = new Array(tabledimx); px = 0; while (px < tabledimx) { valuetable[px] = new Array(tabledimy); py = 0; while (py < tabledimy) { valuetable[px][py] = new Array(cardindeck); c = 0; while (c < cardindeck) { casescore = 0; attacks = new Array(); attackscore = 0; curcardarrows = computerdeck[c].getArrows(); if ((!cardtable[px][py][1]) && (cardtable[px][py][0] != "block")) { i = 0; while (i < 8) { newpos = getPosition(i, 1, 1, 1, 1); sumx = px + newpos[0]; sumy = py + newpos[1]; if ((((sumx < tabledimx) && (sumx >= 0)) && (sumy < tabledimy)) && (sumy >= 0)) { if (cardtable[sumx][sumy][0] != "block") { if (curcardarrows[i]) { if (cardtable[sumx][sumy][2] == 1) { if (cardtable[sumx][sumy][1] == 1) { nextcard = playerdeck[cardtable[sumx][sumy][0]]; } else { nextcard = computerdeck[cardtable[sumx][sumy][0]]; } if (i > 3) { invi = i - 4; } else { invi = i + 4; } nextcardarrows = nextcard.getArrows(); if (nextcardarrows[invi]) { chance = getChance(computerdeck[c], nextcard); combos = getCombos(invi, nextcardarrows, sumx, sumy, 1); invcombos = getCombos(i, curcardarrows, px, py, 2); combocoef = ((combos.length - invcombos.length) / 2) + 1; battleres = ((chance * combocoef) - 50) / 25; attacks.push(battleres); } else { casescore = casescore + 1; } } } else if (!cardtable[sumx][sumy][1]) { casescore = casescore - 0.5; } } else if (curcardarrows[i]) { casescore = casescore - 0.5; } } else if (curcardarrows[i]) { casescore = casescore - 0.5; } i++; } } a = 0; while (a < attacks.length) { attackscore = attackscore + attacks[a]; a++; } if (attacks.length) { attackscore = attackscore / attacks.length; } else { attackscore = 0; } valuetable[px][py][c] = casescore + attackscore; c++; } py++; } px++; } valuelist = new Array(); px = 0; while (px < tabledimx) { py = 0; while (py < tabledimy) { c = 0; while (c < cardindeck) { cango = true; i = 0; while (i < usedccards.length) { if (c == usedccards[i]) { cango = false; } i++; } if ((cardtable[px][py][0] == "block") || (cardtable[px][py][1])) { cango = false; } if (cango) { valuelist.push(new Array(c, px, py, valuetable[px][py][c])); } c++; } py++; } px++; } do { replaced = false; i = 0; while (i < valuelist.length) { if (i) { if (valuelist[i][3] > valuelist[i - 1][3]) { replacement = valuelist[i]; valuelist[i] = valuelist[i - 1]; valuelist[i - 1] = replacement; replaced = true; } } i++; } } while (replaced); choicerank = 0; lastvalue = -999; bestcards = new Array(); i = 0; while (i < valuelist.length) { if (valuelist[i][3] != lastvalue) { lastvalue = valuelist[i][3]; if (i) { choicerank++; } } if (choicerank <= difficulty) { bestcards.push(valuelist[i]); } i++; } cardnum = getRandom(0, bestcards.length - 1); bestcard = bestcards[cardnum]; return(bestcard); } function moveCard(curobject, cardobj, beginx, beginy, endx, endy, limit, player) { cardobj.limit = limit; cardobj.cframe = 0; cardobj.beginx = beginx; cardobj.endx = endx; cardobj.beginy = beginy; cardobj.endy = endy; cardobj.posx = Math.round((endx - tablex) / cardwidth); cardobj.posy = Math.round((endy - tabley) / cardheight); cardobj.onEnterFrame = function () { if (this.cframe <= this.limit) { distance = _root.roundCurve(this.cframe, this.limit); this._x = this.beginx + (distance * (this.endx - this.beginx)); this._y = this.beginy + (distance * (this.endy - this.beginy)); this.cframe++; } else if (player) { addScore(curobject, 1, 0, player); getTargetCards(this.posx, this.posy); cardDeploy(curobject, this.posx, this.posy, player); player = 0; } else { delete this.onEnterFrame; } }; } function getTargetCards(posx, posy) { var _local8; var _local4; var _local12; var _local10; var _local3; var _local9 = Array(8); var _local7; var _local2; var _local11; cardno = cardtable[posx][posy][0]; _root.attacks = new Array(); _root.possessions = new Array(); if (cardtable[posx][posy][1] == 1) { _local7 = playerdeck[cardno]; } else if (cardtable[posx][posy][1] == 2) { _local7 = computerdeck[cardno]; } _root.selfdeck = cardtable[posx][posy][2]; if (_root.selfdeck == 1) { opponent = 2; } else if (_root.selfdeck == 2) { opponent = 1; } _local8 = _local7.getArrows(); attcount = 0; poscount = 0; arr = 0; while (arr < 8) { _local3 = getPosition(arr, 1, 1, 1, 1); sumx = posx + _local3[0]; sumy = posy + _local3[1]; if ((((sumx < tabledimx) && (sumx >= 0)) && (sumy < tabledimy)) && (sumy >= 0)) { oppcardside = cardtable[sumx][sumy][2]; if ((oppcardside == opponent) && (_local8[arr])) { oppcardno = cardtable[sumx][sumy][0]; if (cardtable[sumx][sumy][1] == 1) { _local2 = playerdeck[oppcardno]; } else if (cardtable[sumx][sumy][1] == 2) { _local2 = computerdeck[oppcardno]; } _local4 = _local2.getArrows(); if (arr > 3) { invarrow = arr - 4; } else { invarrow = arr + 4; } if (_local4[invarrow]) { chances = getChance(_local7, _local2); _root.attacks.push(Array(sumx, sumy, chances, arr, false)); } else { _root.possessions.push(Array(sumx, sumy, -1, 0, false)); } } } arr++; } } function updateTargetCards(posx, posy) { if (_root.selfdeck != cardtable[posx][posy][2]) { _root.attacks = new Array(); _root.possessions = new Array(); } else { newattacks = new Array(); newpossessions = new Array(); oldatt = 0; while (oldatt < _root.attacks.length) { newx = _root.attacks[oldatt][0]; newy = _root.attacks[oldatt][1]; if ((!_root.attacks[oldatt][4]) && (_root.selfdeck != cardtable[newx][newy][2])) { newattacks.push(_root.attacks[oldatt]); } oldatt++; } oldpos = 0; while (oldpos < _root.possessions.length) { newx = _root.possessions[oldpos][0]; newy = _root.possessions[oldpos][1]; if ((!_root.possessions[oldpos][4]) && (_root.selfdeck != cardtable[newx][newy][2])) { newpossessions.push(_root.possessions[oldpos]); } oldpos++; } _root.attacks = newattacks; _root.possessions = newpossessions; } } function getCombos(invarrow, opparrows, posx, posy, self) { combos = new Array(); j = 0; while (j < 8) { if ((j != invarrow) && (opparrows[j])) { newpos = getPosition(j, 1, 1, 1, 1); addx = posx + newpos[0]; addy = posy + newpos[1]; if ((((addx < tabledimx) && (addx >= 0)) && (addy < tabledimy)) && (addy >= 0)) { if (cardtable[addx][addy][2] == self) { combono = cardtable[addx][addy][0]; origowner = cardtable[addx][addy][1]; if (origowner == 1) { combocard = playerdeck[combono]; } else { combocard = computerdeck[combono]; } comboarrows = combocard.getArrows(); if (j > 3) { comboinvarrow = j - 4; } else { comboinvarrow = j + 4; } if (comboarrows[comboinvarrow]) { combos.push(Array(addx, addy, j)); } } } } j++; } return(combos); } function cardDeploy(curobject, posx, posy, player) { if (_root.attacks.length) { if (_root.attacks.length > 1) { bestchance = -999; bestnum = 0; i = 0; while (i < _root.attacks.length) { if (player == 2) { curarrow = _root.attacks[i][3]; if (curarrow > 3) { invarrow = curarrow - 4; } else { invarrow = curarrow + 4; } chance = _root.attacks[i][2]; otherx = _root.attacks[i][0]; othery = _root.attacks[i][1]; selfx = posx; selfy = posy; othernum = cardtable[otherx][othery][0]; selfnum = cardtable[selfx][selfy][0]; if (cardtable[selfx][selfy][1] == 1) { curcard = playerdeck[selfnum]; } else { curcard = computerdeck[selfnum]; } if (cardtable[otherx][othery][1] == 1) { othercard = playerdeck[othernum]; } else { othercard = computerdeck[othernum]; } poscombos = getCombos(invarrow, othercard.getArrows(), otherx, othery, 1); posinvcombos = getCombos(curarrow, curcard.getArrows(), selfx, selfy, 2); poscombocoef = ((poscombos.length - posinvcombos.length) / 2) + 1; posbattleres = ((chance * poscombocoef) - 50) / 25; if (posbattleres > bestchance) { bestchance = posbattleres; bestnum = i; } } else { curobject.attachMovie("card", ("attacksel[" + i) + "]", curobject.getNextHighestDepth(), {_x:tablex + (attacks[i][0] * cardwidth), _y:tabley + (attacks[i][1] * cardheight)}); curcard = curobject[("attacksel[" + i) + "]"]; curcard.gotoAndStop("selector"); curcard.attackno = i; curcard.onPress = function () { cardAttack(curobject, posx, posy, this.attackno); j = 0; while (j < _root.attacks.length) { curobject[("attacksel[" + j) + "]"].removeMovieClip(); j++; } }; } i++; } if (player == 2) { cardAttack(curobject, posx, posy, bestnum); } } else { cardAttack(curobject, posx, posy, 0); } } else if (_root.possessions.length) { i = 0; while (i < _root.possessions.length) { curposx = _root.possessions[i][0]; curposy = _root.possessions[i][1]; if (player == 1) { possessnum = cardtable[posx][posy][0]; if (cardtable[curposx][curposy][1] == 1) { comcard = playerdeck[cardtable[curposx][curposy][0]]; } else { comcard = computerdeck[cardtable[curposx][curposy][0]]; } expcoef = getExpCoef(playerdeck[cardtable[posx][posy][0]], comcard, true); gainedexp[possessnum][2] = gainedexp[possessnum][2] + expcoef; } addScore(curobject, 1, -1, player); cardtable[curposx][curposy][2] = player; curobject.attachMovie("switcher", ("switcher[" + i) + "]", curobject.getNextHighestDepth(), {_x:tablex + (curposx * cardwidth), _y:tabley + (curposy * cardheight)}); curswitch = curobject[("switcher[" + i) + "]"]; curswitch.posx = curposx; curswitch.posy = curposy; curswitch.player = player; curswitch.curobject = curobject; if (cardtable[curposx][curposy][1] == 1) { possessnum = cardtable[curposx][curposy][0]; curswitch.curcard = curobject[("pdeck[" + possessnum) + "]"]; if (cardtable[curposx][curposy][1] == 1) { playcard = playerdeck[cardtable[curposx][curposy][0]]; } else { playcard = computerdeck[cardtable[curposx][curposy][0]]; } expcoef = getExpCoef(playcard, computerdeck[cardtable[posx][posy][0]], false); gainedexp[possessnum][3] = gainedexp[possessnum][3] + expcoef; } else { curswitch.curcard = curobject[("cdeck[" + cardtable[curposx][curposy][0]) + "]"]; } if (!i) { curswitch.designated = true; } else { curswitch.designated = false; } curswitch.onEnterFrame = function () { if (this.pos == 1) { this.curcard.indicator.gotoAndStop(this.player + 1); } else if (this.pos == 3) { if (this.designated) { cardDeploy(this.curobject, this.posx, this.posy, this.player); } this.removeMovieClip(); } }; i++; } _root.possessions = new Array(); _root.playSound("capture.wav"); } else { if (player == 1) { starter = 2; } else { starter = 1; } turnTitle(curobject, starter); } } function cardAttack(curobject, attposx, attposy, attackno) { defposx = attacks[attackno][0]; defposy = attacks[attackno][1]; attpoint = attacks[attackno][3]; if (attpoint >= 4) { defpoint = attpoint - 4; } else { defpoint = attpoint + 4; } attnum = cardtable[attposx][attposy][0]; defnum = cardtable[defposx][defposy][0]; if (cardtable[attposx][attposy][1] == 1) { attobject = curobject[("pdeck[" + attnum) + "]"]; attcard = playerdeck[attnum]; attacker = 1; defender = 2; } else if (cardtable[attposx][attposy][1] == 2) { attobject = curobject[("cdeck[" + attnum) + "]"]; attcard = computerdeck[attnum]; attacker = 2; defender = 1; } if (cardtable[defposx][defposy][1] == 1) { defobject = curobject[("pdeck[" + defnum) + "]"]; defcard = playerdeck[defnum]; } else if (cardtable[defposx][defposy][1] == 2) { defobject = curobject[("cdeck[" + defnum) + "]"]; defcard = computerdeck[defnum]; } attobject.swapDepths(curobject.getNextHighestDepth()); attobject.eventno = 0; attobject.cframe = 0; attobject.limit = 15; attobject.attackno = attackno; attobject.beginx = attobject._x; attobject.beginy = attobject._y; maxdist = 16; maxdistdia = Math.pow(Math.pow(maxdist, 2) / 2, 0.5); posarray = getPosition(defpoint, maxdist, maxdist, maxdistdia, maxdistdia); attobject.endx = attobject._x + posarray[0]; attobject.endy = attobject._y + posarray[1]; attobject.exppos = getPosition(attpoint, cardwidth / 2, cardheight / 2, cardwidth / 2, cardheight / 2); attobject.onEnterFrame = function () { switch (this.eventno) { case 0 : if (this.cframe <= this.limit) { distance = paraCurve(this.cframe, this.limit); this._x = this.beginx + (distance * (this.endx - this.beginx)); this._y = this.beginy + (distance * (this.endy - this.beginy)); this.cframe++; } else { _root.attacks[this.attackno][4] = true; if (attacker == 1) { expcoef = getExpCoef(attcard, defcard, true); gainedexp[attnum][0] = gainedexp[attnum][0] + expcoef; } if (defender == 1) { expcoef = getExpCoef(defcard, attcard, false); gainedexp[defnum][1] = gainedexp[defnum][1] + expcoef; } this.eventno = 10; } break; case 10 : if (!curobject.explosion) { curobject.attachMovie("explosion", "explosion", curobject.getNextHighestDepth(), {_x:this.exppos[0] + attobject._x, _y:this.exppos[1] + attobject._y}); _root.playSound("boom.wav"); } if (curobject.explosion._currentframe == curobject.explosion._totalframes) { curobject.explosion.removeMovieClip(); this.eventno = 20; } break; case 20 : battleres = calcBattle(attcard, defcard); curobject.attachMovie("attack_points", "attack_points1", curobject.getNextHighestDepth(), {_x:tablex + (cardwidth * attposx), _y:tabley + (cardheight * attposy)}); curobject.attack_points1.points.txtPoints.text = battleres[0]; curobject.attachMovie("attack_points", "attack_points2", curobject.getNextHighestDepth(), {_x:tablex + (cardwidth * defposx), _y:tabley + (cardheight * defposy)}); curobject.attack_points2.points.txtPoints.text = battleres[1]; this.eventno = 30; break; case 30 : if (curobject.attack_points1._currentframe == curobject.attack_points1._totalframes) { curobject.attack_points1.removeMovieClip(); curobject.attack_points2.removeMovieClip(); if (battleres[0] > battleres[1]) { switchx = tablex + (cardwidth * defposx); switchy = tabley + (cardheight * defposy); winner = attacker; } else if (battleres[0] < battleres[1]) { switchx = tablex + (cardwidth * attposx); switchy = tabley + (cardheight * attposy); winner = defender; } if (battleres[0] != battleres[1]) { curobject.attachMovie("switcher", "switcher", curobject.getNextHighestDepth(), {_x:switchx, _y:switchy}); _root.playSound("capture.wav"); this.eventno = 40; } else { winner = 0; curobject.attachMovie("nerve_anim", "nerve_anim", curobject.getNextHighestDepth(), {_x:tablex + (cardwidth * attposx), _y:tabley + (cardheight * attposy)}); this.eventno = 35; } } break; case 35 : if (curobject.nerve_anim._currentframe == curobject.nerve_anim._totalframes) { curobject.nerve_anim.removeMovieClip(); this.eventno = 70; } break; case 40 : if (curobject.switcher.pos == 1) { if (winner == attacker) { defobject.indicator.gotoAndStop(attacker + 1); cardtable[defposx][defposy][2] = attacker; } else { attobject.indicator.gotoAndStop(defender + 1); cardtable[attposx][attposy][2] = defender; } addScore(curobject, 1, -1, winner); } else if (curobject.switcher.pos == 3) { curobject.switcher.removeMovieClip(); this.eventno = 50; } break; case 50 : if (winner == attacker) { combox = defposx; comboy = defposy; combowinner = attacker; comboloser = defender; combos = getCombos(defpoint, defcard.getArrows(), combox, comboy, comboloser); } else { combox = attposx; comboy = attposy; combowinner = defender; comboloser = attacker; combos = getCombos(attpoint, attcard.getArrows(), combox, comboy, comboloser); } if (combos.length) { _root.playSound("capture.wav"); this.eventno = 60; i = 0; while (i < combos.length) { addScore(curobject, 1, -1, winner); curobject.attachMovie("comboer", ("comboer[" + i) + "]", curobject.getNextHighestDepth(), {_x:tablex + (combos[i][0] * cardwidth), _y:tabley + (combos[i][1] * cardheight)}); curcombo = curobject[("comboer[" + i) + "]"]; cposx = combos[i][0]; cposy = combos[i][1]; if (cardtable[cposx][cposy][1] == 1) { combocnum = cardtable[cposx][cposy][0]; curcombo.curcard = curobject[("pdeck[" + combocnum) + "]"]; expcoef = getExpCoef(playerdeck[cardtable[cposx][cposy][0]], attcard, false); gainedexp[combocnum][4]++; } else { curcombo.curcard = curobject[("cdeck[" + cardtable[cposx][cposy][0]) + "]"]; } cardtable[cposx][cposy][2] = combowinner; curcombo.dir = combos[i][2]; curcombo.onEnterFrame = function () { if (this.pos == 1) { this.curcard.indicator.gotoAndStop(combowinner + 1); } }; i++; } curobject.attachMovie("combo_text", "combo_text", curobject.getNextHighestDepth(), {_x:(tablex + (defposx * cardwidth)) - ((combowidth - cardwidth) / 2), _y:(tabley + (defposy * cardheight)) - ((comboheight - cardheight) / 2)}); curobject.combo_text.combo_num.txtCombo.text = combos.length + 1; } else { this.eventno = 70; } break; case 60 : if (curobject.combo_text._currentframe == curobject.combo_text._totalframes) { curobject.combo_text.removeMovieClip(); i = 0; while (i < combos.length) { curobject[("comboer[" + i) + "]"].removeMovieClip(); i++; } this.eventno = 70; } break; case 70 : delete this.onEnterFrame; updateTargetCards(attposx, attposy); cardDeploy(curobject, attposx, attposy, attacker); } }; } function saveCode() { codefull = ""; checksum = 0; i = 0; while (i < 15) { code = ""; cnum = _root.playerdeck[i].getNumber(); catt = _root.playerdeck[i].getAttack(); cdef = _root.playerdeck[i].getDefense(); cexp = _root.playerdeck[i].getExp(); carr = _root.playerdeck[i].getArrows(); code = code + forceLength(cnum.toString(16), 2, "0"); code = code + ((catt[0].toString(16) + "") + catt[1].toString(16)); code = code + ((cdef[0].toString(16) + "") + cdef[1].toString(16)); code = code + (forceLength(cexp[0].toString(16), 2, "0") + forceLength(cexp[1].toString(16), 2, "0")); carrstr = ""; j = 0; while (j < 8) { if (carr[j]) { carrstr = carrstr + "1"; } else { carrstr = carrstr + "0"; } j++; } carrnum = parseInt(carrstr, 2); code = code + forceLength(carrnum.toString(16), 2, "0"); j = 0; while (j < 12) { checksum = checksum + parseInt(code.charAt(j), 16); j++; } codefull = codefull + code; i++; } clevel = forceLength(_root.curlevel.toString(16), 2, "0"); checksum = checksum + (parseInt(clevel.charAt(0), 16) + parseInt(clevel.charAt(1), 16)); checkstr = forceLength(checksum.toString(16), 3, "0"); codefull = codefull + (clevel + checkstr); return(codefull); } function loadCode(code) { isfine = true; checksum = 0; newdeck = new Array(_root.cardinfull); i = 0; while (i < 182) { checksum = checksum + parseInt("0x" + code.charAt(i)); i++; } if (isNaN(checksum)) { isfine = false; } else { i = 0; while (i < 15) { cnum = parseInt("0x" + code.substr(0 + (i * 12), 2)); cattmin = parseInt("0x" + code.charAt(2 + (i * 12))); cattmax = parseInt("0x" + code.charAt(3 + (i * 12))); cdefmin = parseInt("0x" + code.charAt(4 + (i * 12))); cdefmax = parseInt("0x" + code.charAt(5 + (i * 12))); cexpatt = parseInt("0x" + code.substr(6 + (i * 12), 2)); cexpdef = parseInt("0x" + code.substr(8 + (i * 12), 2)); carr = parseInt("0x" + code.substr(10 + (i * 12), 2)); if (((((((isNaN(cnum) || (isNaN(cattmin))) || (isNaN(cattmax))) || (isNaN(cdefmin))) || (isNaN(cdefmax))) || (isNaN(cexpatt))) || (isNaN(cexpdef))) || (isNaN(carr))) { isfine = false; } else { carrbool = carr.toString(2); carrbool = forceLength(carrbool, 8, "0"); carrarr = new Array(8); j = 0; while (j < 8) { carrarr[j] = parseInt(carrbool.charAt(j)); j++; } newdeck[i] = new Card(cnum, cattmin, cattmax, cdefmin, cdefmax, carrarr); newdeck[i].setExp(cexpatt, cexpdef); } i++; } if (isfine) { clevel = parseInt("0x" + code.substr(180, 2)); ccheck = parseInt("0x" + code.substr(182, 3)); if (isNaN(clevel) || (isNaN(ccheck))) { isfine = false; } else if (ccheck == checksum) { _root.curlevel = clevel; _root.playerdeck = newdeck; } else { isfine = false; } } } return(isfine); } function renameFields(curobject, side) { if (side) { sidetxt = ""; ca = 0; while (ca < 10) { index = ca + (curobject.page * 10); if (index < _root.sidedeck.length) { sidetxt = sidetxt + (_root.sidedeck[index].getName() + "\r"); } else { sidetxt = sidetxt + "< none >\r"; } ca++; } totalpages = Math.ceil(_root.sidedeck.length / 10); if (!totalpages) { totalpages = 1; } curobject.side_text.txtSide.text = sidetxt; curobject.side_text.txtPage.text = ((curobject.page + 1) + "/") + totalpages; } else { sparetxt = ""; playtxt = ""; ca = 0; while (ca < _root.cardinfull) { if (_root.playerdeck[ca].getNumber()) { cardname = _root.playerdeck[ca].getName(); } else { cardname = "< none >"; } if (ca < 5) { playtxt = playtxt + (cardname + "\r"); } else { sparetxt = sparetxt + (cardname + "\r"); } ca++; } curobject.txtPlay.text = playtxt; curobject.txtSpare.text = sparetxt; } } function deployManager(curobject) { for (mc in curobject) { curobject[mc].removeMovieClip(); } curobject.excard.gotoAndStop("back"); curobject.txtExp.text = ""; curobject.txtExpText.text = ""; curobject.cardsel = -1; curobject.cancheck = true; renameFields(curobject, false); curobject.keylistener = new Object(); curobject.keylistener.onKeyDown = function () { if (curobject.cancheck) { keynum = Key.getAscii(); if ((keynum == 100) || (keynum == 68)) { _root.playSound("click.wav"); if (curobject.cardsel >= 5) { curobject.cancheck = false; curobject.attachMovie("msg_window", "msg_window", curobject.getNextHighestDepth(), {_x:125, _y:125}); curobject.msg_window.msg_text.txtMessage.text = "Are you sure you want to delete this card? The operation is not reversible."; curobject.msg_window.res = 0; curobject.msg_window.onEnterFrame = function () { if (this._currentframe == this._totalframes) { if (this.res) { _root.playerdeck[curobject.cardsel] = new Card(0, 0, 0, 0, 0, Array(0, 0, 0, 0, 0, 0, 0, 0)); _root.renameFields(curobject, false); _root.delCardAppearance(curobject.excard); curobject.txtExpText.text = ""; curobject.txtExp.text = ""; curobject.cardsel = -1; curobject.sel1._y = 500; curobject.sel2._y = 500; } curobject.cancheck = true; this.removeMovieClip(); } }; } else if (curobject.cardsel >= 0) { curobject.cancheck = false; curobject.attachMovie("msg_window", "msg_window", curobject.getNextHighestDepth(), {_x:125, _y:125}); curobject.msg_window.msg_text.txtMessage.text = "You can't delete playable cards!"; curobject.msg_window.msg_buttons.gotoAndStop(2); curobject.msg_window.onEnterFrame = function () { if (this._currentframe == this._totalframes) { curobject.cancheck = true; this.removeMovieClip(); } }; } } else if ((keynum == 83) || (keynum == 115)) { _root.playSound("click.wav"); curobject.cancheck = false; curobject.attachMovie("side_deck", "side_deck", curobject.getNextHighestDepth(), {_x:55, _y:55}); curobject.side_deck.page = 0; curobject.side_deck.cardsel = -1; curobject.side_deck.cancheck = false; renameFields(curobject.side_deck, true); bt = 0; while (bt < 10) { curobject.side_deck["btn" + bt].num = bt; curobject.side_deck["btn" + bt].onRollOver = function () { realnum = (curobject.side_deck.page * 10) + this.num; if (curobject.side_deck.cancheck && (_root.sidedeck.length > realnum)) { _root.setCardAppearance(curobject.excard, _root.sidedeck[realnum]); exp = _root.sidedeck[realnum].getExp(); curobject.txtExpText.text = "Attack Exp.:\rDefense Exp.:"; curobject.txtExp.text = (((exp[0] + "/100") + "\r") + exp[1]) + "/100"; if (curobject.side_deck.cardsel < 0) { curobject.side_deck.sel1._alpha = 100; curobject.side_deck.sel1._y = this._y; } else { curobject.side_deck.sel2._alpha = 100; curobject.side_deck.sel2._y = this._y; } } }; curobject.side_deck["btn" + bt].onRollOut = (curobject.side_deck["btn" + bt].onReleaseOutside = function () { realnum = (curobject.side_deck.page * 10) + this.num; if (curobject.side_deck.cancheck && (_root.sidedeck.length > realnum)) { _root.delCardAppearance(curobject.excard); curobject.txtExpText.text = ""; curobject.txtExp.text = ""; if (curobject.side_deck.cardsel < 0) { curobject.side_deck.sel1._alpha = 0; } else { curobject.side_deck.sel2._alpha = 0; } } }); curobject.side_deck["btn" + bt].onPress = function () { realnum = (curobject.side_deck.page * 10) + this.num; if (curobject.side_deck.cancheck && (_root.sidedeck.length > realnum)) { if (curobject.side_deck.cardsel < 0) { curobject.side_deck.cardsel = this.num; curobject.side_deck.sel1.gotoAndStop(2); curobject.side_deck.sel1._alpha = 100; curobject.side_deck.sel1._y = this._y; } else if (curobject.side_deck.cardsel != this.num) { curobject.side_deck.cardsel = this.num; curobject.side_deck.sel1._y = this._y; curobject.side_deck.sel2._alpha = 0; } else { curobject.side_deck.cardsel = -1; curobject.side_deck.sel1.gotoAndStop(1); curobject.side_deck.sel1._alpha = 0; curobject.side_deck.sel2._alpha = 0; } } }; bt++; } curobject.side_deck.btn_close.onRollOver = function () { if (curobject.side_deck.cancheck) { curobject.side_deck.help_bubble._y = this._y + 5; curobject.side_deck.help_bubble.txtHelp.text = "Close the side deck without selecting a card."; } }; curobject.side_deck.btn_close.onRollOut = (curobject.side_deck.btn_close.onReleaseOutside = function () { if (curobject.side_deck.cancheck) { curobject.side_deck.help_bubble._y = 500; } }); curobject.side_deck.btn_pick.onRollOver = function () { if (curobject.side_deck.cancheck) { curobject.side_deck.help_bubble._y = this._y + 5; curobject.side_deck.help_bubble.txtHelp.text = "Pick a card to replace one you selected in your main deck."; } }; curobject.side_deck.btn_pick.onRollOut = (curobject.side_deck.btn_pick.onReleaseOutside = function () { if (curobject.side_deck.cancheck) { curobject.side_deck.help_bubble._y = 500; } }); curobject.side_deck.btn_clear.onRollOver = function () { if (curobject.side_deck.cancheck) { curobject.side_deck.help_bubble._y = this._y + 5; curobject.side_deck.help_bubble.txtHelp.text = "Delete everything from the side deck."; } }; curobject.side_deck.btn_clear.onRollOut = (curobject.side_deck.btn_clear.onReleaseOutside = function () { if (curobject.side_deck.cancheck) { curobject.side_deck.help_bubble._y = 500; } }); curobject.side_deck.btn_close.onPress = function () { if (curobject.side_deck.cancheck) { _root.playSound("click.wav"); curobject.side_deck.sel1._alpha = 0; curobject.side_deck.sel2._alpha = 0; curobject.side_deck.cardsel = -1; curobject.side_deck.cancheck = false; curobject.side_deck.play(); } }; curobject.side_deck.btn_pick.onPress = function () { if (curobject.side_deck.cancheck) { _root.playSound("click.wav"); if ((curobject.side_deck.cardsel >= 0) && (curobject.cardsel >= 0)) { curobject.side_deck.sel1._alpha = 0; curobject.side_deck.sel2._alpha = 0; curobject.side_deck.cancheck = false; curobject.side_deck.play(); } else { curobject.side_deck.cancheck = false; curobject.side_deck.help_bubble._y = 500; curobject.attachMovie("msg_window", "msg_window", curobject.getNextHighestDepth(), {_x:125, _y:125}); curobject.msg_window.msg_text.txtMessage.text = "You can only pick a card if you selected one both in your main and side deck!"; curobject.msg_window.msg_buttons.gotoAndStop(2); curobject.msg_window.onEnterFrame = function () { if (this._currentframe == this._totalframes) { curobject.side_deck.cancheck = true; this.removeMovieClip(); } }; } } }; curobject.side_deck.btn_clear.onPress = function () { if (curobject.side_deck.cancheck) { _root.playSound("click.wav"); curobject.side_deck.cancheck = false; curobject.side_deck.help_bubble._y = 500; curobject.attachMovie("msg_window", "msg_window", curobject.getNextHighestDepth(), {_x:125, _y:125}); curobject.msg_window.msg_text.txtMessage.text = "Do you really want to clear the side deck? The operation is not reversible."; curobject.msg_window.res = 0; curobject.msg_window.onEnterFrame = function () { if (this._currentframe == this._totalframes) { if (this.res == 1) { _root.sidedeck = new Array(); curobject.side_deck.sel1._alpha = 0; curobject.side_deck.sel2._alpha = 0; curobject.side_deck.page = 0; curobject.side_deck.cardsel = -1; _root.renameFields(curobject.side_deck, true); } curobject.side_deck.cancheck = true; this.removeMovieClip(); } }; } }; curobject.side_deck.btn_prev.onPress = function () { if (curobject.side_deck.cancheck) { if (curobject.side_deck.page > 0) { _root.playSound("click.wav"); curobject.side_deck.page--; curobject.side_deck.sel1._alpha = 0; curobject.side_deck.sel2._alpha = 0; curobject.side_deck.cardsel = -1; _root.renameFields(curobject.side_deck, true); } } }; curobject.side_deck.btn_next.onPress = function () { if (curobject.side_deck.cancheck) { _root.playSound("click.wav"); totalpages = Math.ceil(_root.sidedeck.length / 10); if (totalpages) { totalpages--; } if (curobject.side_deck.page < totalpages) { curobject.side_deck.page++; curobject.side_deck.sel1._alpha = 0; curobject.side_deck.sel2._alpha = 0; curobject.side_deck.cardsel = -1; _root.renameFields(curobject.side_deck, true); } } }; curobject.side_deck.onEnterFrame = function () { if (this._currentframe == this._totalframes) { if ((curobject.side_deck.cardsel >= 0) && (curobject.cardsel >= 0)) { index = curobject.side_deck.cardsel + (curobject.side_deck.page * 10); _root.playerdeck[curobject.cardsel] = _root.sidedeck[index]; _root.sidedeck[index] = new Card(0, 0, 0, 0, 0, Array(0, 0, 0, 0, 0, 0, 0, 0)); newsidedeck = new Array(); sd = 0; while (sd < _root.sidedeck.length) { if (_root.sidedeck[sd].getNumber()) { newsidedeck.push(_root.sidedeck[sd]); } sd++; } _root.sidedeck = newsidedeck; _root.renameFields(curobject, false); } curobject.sel1._y = 500; curobject.sel1.gotoAndStop(1); curobject.sel2._y = 500; curobject.cardsel = -1; curobject.cancheck = true; this.removeMovieClip(); } }; } } }; Key.addListener(curobject.keylistener); ca = 0; while (ca < _root.cardinfull) { if (ca < 5) { posx = 28; posy = 69 + (16.5 * ca); } else { posx = 193; posy = 69 + (16.5 * (ca - 5)); } curobject.attachMovie("blank_rectangle", ("button[" + ca) + "]", curobject.getNextHighestDepth(), {_x:posx, _y:posy, _width:150, _height:16.5, _alpha:0}); curobject[("button[" + ca) + "]"].num = ca; curobject[("button[" + ca) + "]"].onRollOver = function () { if (curobject.cancheck) { if (_root.playerdeck[this.num].getNumber()) { _root.setCardAppearance(curobject.excard, _root.playerdeck[this.num]); exp = _root.playerdeck[this.num].getExp(); curobject.txtExpText.text = "Attack Exp.:\rDefense Exp.:"; curobject.txtExp.text = (((exp[0] + "/100") + "\r") + exp[1]) + "/100"; } if (curobject.cardsel < 0) { curobject.sel1._x = this._x - 8; curobject.sel1._y = this._y; } else { curobject.sel2._x = this._x - 8; curobject.sel2._y = this._y; } } }; curobject[("button[" + ca) + "]"].onRollOut = (curobject[("button[" + ca) + "]"].onReleaseOutside = function () { if (curobject.cancheck) { _root.delCardAppearance(curobject.excard); curobject.txtExpText.text = ""; curobject.txtExp.text = ""; if (curobject.cardsel < 0) { curobject.sel1._y = 500; } else { curobject.sel2._y = 500; } } }); curobject[("button[" + ca) + "]"].onPress = function () { if (curobject.cancheck) { _root.playSound("click.wav"); if (curobject.cardsel < 0) { curobject.cardsel = this.num; curobject.sel1.gotoAndStop(2); curobject.sel1._x = this._x - 8; curobject.sel1._y = this._y; } else { if (curobject.cardsel != this.num) { if (((curobject.cardsel < 5) || (this.num < 5)) && ((!_root.playerdeck[curobject.cardsel].getNumber()) || (!_root.playerdeck[this.num].getNumber()))) { curobject.cancheck = false; curobject.attachMovie("msg_window", "msg_window", curobject.getNextHighestDepth(), {_x:125, _y:125}); curobject.msg_window.msg_text.txtMessage.text = "You can't delete playable cards!"; curobject.msg_window.msg_buttons.gotoAndStop(2); curobject.msg_window.onEnterFrame = function () { if (this._currentframe == this._totalframes) { curobject.cancheck = true; this.removeMovieClip(); } }; } else { _root.delCardAppearance(curobject.excard); curobject.txtExpText.text = ""; curobject.txtExp.text = ""; backup = _root.playerdeck[curobject.cardsel]; _root.playerdeck[curobject.cardsel] = _root.playerdeck[this.num]; _root.playerdeck[this.num] = backup; _root.renameFields(curobject, false); } } curobject.cardsel = -1; curobject.sel1.gotoAndStop(1); curobject.sel1._y = 500; curobject.sel2._y = 500; } } }; ca++; } } function randomizeArrows(arrowmin, arrowmax) { cn = 0; while (cn < _root.cardindeck) { arrownum = _root.getRandom(arrowmin, arrowmax); posarray = new Array(8); realarray = new Array(8); ap = 0; while (ap < 8) { posarray[ap] = ap; realarray[ap] = 0; ap++; } an = 0; while (an < arrownum) { pos = _root.getRandom(0, posarray.length - 1); realarray[posarray[pos]] = 1; randarray = new Array(); pa = 0; while (pa < posarray.length) { if (pa != pos) { randarray.push(posarray[pa]); } pa++; } posarray = randarray; an++; } _root.computerdeck[cn].setArrows(realarray); cn++; } } function randomizeValues(attmin, attmax, defmin, defmax) { cn = 0; while (cn < _root.cardindeck) { if (attmin < 1) { attmin = 1; } else if (attmin > 15) { attmin = 15; } if (attmax < 1) { attmax = 1; } else if (attmax > 15) { attmax = 15; } rattmin = Math.round(_root.getRandom(attmin, attmax)); rattmax = Math.round(_root.getRandom(attmin, attmax)); if (rattmin > rattmax) { temp = rattmax; rattmax = rattmin; rattmin = temp; } _root.computerdeck[cn].setAttack(rattmin, rattmax); if (defmin < 1) { defmin = 1; } else if (defmin > 15) { defmin = 15; } if (defmax < 1) { defmax = 1; } else if (defmax > 15) { defmax = 15; } rdefmin = Math.round(_root.getRandom(defmin, defmax)); rdefmax = Math.round(_root.getRandom(defmin, defmax)); if (rdefmin > rdefmax) { temp = rdefmax; rdefmax = rdefmin; rdefmin = temp; } _root.computerdeck[cn].setDefense(rdefmin, rdefmax); cn++; } } function randomizeNumbers(nummin, nummax) { cn = 0; while (cn < _root.cardindeck) { _root.computerdeck[cn].setNumber(_root.getRandom(nummin, nummax)); cn++; } } function randomizeMap(blockmin, blockmax) { blocknum = _root.getRandom(blockmin, blockmax); posarray = new Array(16); realarray = new Array(16); ap = 0; while (ap < 16) { posarray[ap] = ap; realarray[ap] = 0; ap++; } an = 0; while (an < blocknum) { pos = _root.getRandom(0, posarray.length - 1); realarray[posarray[pos]] = 1; randarray = new Array(); pa = 0; while (pa < posarray.length) { if (pa != pos) { randarray.push(posarray[pa]); } pa++; } posarray = randarray; an++; } px = 0; while (px < 4) { py = 0; while (py < 4) { _root.map[px][py] = realarray[py + (px * 4)]; py++; } px++; } } function setTournament(tournament, curobject) { switch (tournament) { case 1 : curobject.txtCup.text = "Amateur Cup"; break; case 2 : curobject.txtCup.text = "Professional Cup"; break; case 3 : curobject.txtCup.text = "Master Cup"; } ma = 0; while (ma < 9) { index = ((tournament - 1) * 9) + ma; if ((_root.curlevel >= 27) && (index == 26)) { index++; mnum = 9; } else { mnum = ma; } if (_root.tourcards[index][6]) { curobject["match" + ma].gotoAndStop(_root.tourcards[index][6] + 3); } else { curobject["match" + ma].gotoAndStop(_root.tourcards[index][7] + 1); } if (_root.curlevel >= index) { curobject["match" + ma].canplay = true; } else { curobject["match" + ma].canplay = false; curobject["match" + ma].shader._alpha = 50; } curobject["match" + ma].tour = tournament; curobject["match" + ma].num = mnum; curobject["match" + ma].marray = _root.tourcards[index]; curobject["match" + ma].onRollOver = function () { if (curobject.cancheck && (this.canplay)) { this.selector._alpha = 100; } }; curobject["match" + ma].onRollOut = (curobject["match" + ma].onReleaseOutside = function () { if (curobject.cancheck && (this.canplay)) { this.selector._alpha = 0; } }); curobject["match" + ma].onPress = function () { if (curobject.cancheck && (this.canplay)) { _root.playSound("click.wav"); curobject._parent.cancheck = false; curobject.cancheck = false; this.selector._alpha = 0; _root.matchnum = this.num; _root.tournum = this.tour; ci = 0; while (ci < 5) { _root.computerdeck[ci] = this.marray[ci]; ci++; } _root.map = this.marray[5]; switch (this.tour) { case 1 : _root.difficulty = 2; break; case 2 : _root.difficulty = 1; break; case 3 : _root.difficulty = 0; } switch (this.marray[7]) { case 0 : lentxt = "- Single Round Match"; break; case 1 : lentxt = "- 2 of 3 Match"; break; case 2 : lentxt = "- 3 of 5 Match"; } _root.gamelength = this.marray[7]; if (this.marray[6]) { curobject.window.txtTitle.text = _root.npcbio[this.marray[6] - 1][0]; curobject.window.txtDesc.text = (_root.npcbio[this.marray[6] - 1][1] + "\r") + lentxt; curobject.window.npcicon.gotoAndStop(this.marray[6] + 3); curobject.window.npcbubble._alpha = 100; curobject.window.npcbubble.txtBubble.text = _root.npctaunts[(this.marray[6] + ((this.tour - 1) * 2)) - 1][_root.getRandom(0, 1)]; } else { if ((this.num % 3) == 0) { curobject.window.txtTitle.text = "First Tier Match"; } else { curobject.window.txtTitle.text = "Second Tier Match"; } curobject.window.txtDesc.text = lentxt; curobject.window.npcicon.gotoAndStop(this.marray[7] + 1); curobject.window.npcbubble._alpha = 0; } curobject.play(); } }; ma++; } } NewgroundsAPI.connectMovie(7131); var DmcMenu = new ContextMenu(); DmcMenu.hideBuiltInItems(); _root.menu = DmcMenu; _root.createEmptyMovieClip("jukebox", _root.getNextHighestDepth()); _root.music = new Sound(_root.jukebox); cardlist = new Array(new Array("", 0, 0), new Array("Flame Demon", 1, 1), new Array("Torrent Demon", 2, 2), new Array("Thunder Demon", 3, 3), new Array("Gravitic Demon", 4, 4), new Array("Demon", 0, 0), new Array("Axolotl", 1, 2), new Array("Blackcoat Officer", 4, 3), new Array("Graveyard Dweller", 3, 0), new Array("Cammie", 0, 4), new Array("Beam", 2, 1), new Array("Slider Girl", 0, 4), new Array("Slider Boy", 2, 0), new Array("Serafina", 2, 1), new Array("Mistel", 4, 4), new Array("Freetown Police", 1, 0), new Array("Heartful Robot", 2, 5), new Array("Bridge Lurker", 5, 1), new Array("Zen Monster", 3, 5), new Array("9-Volt", 3, 2), new Array("Noise Machine", 4, 4), new Array("Brutal Heroin", 1, 3), new Array("Sheriff Bortner", 5, 2), new Array("Sonic Boom", 4, 4), new Array("Overcharge", 3, 2), new Array("Key Master", 0, 1), new Array("Piconjo", 0, 3), new Array("The Green Eye", 5, 1), new Array("Ghostly Figures", 1, 5), new Array("Vegeta", 5, 5), new Array("Epic Nerd", 5, 5), new Array("Rtil The Bee", 5, 0), new Array("Sad Insho", 0, 5)); tourcards = new Array(new Array(new Card(7, 1, 2, 1, 2, [1, 0, 0, 1, 0, 0, 0, 1]), new Card(8, 1, 2, 1, 2, [1, 1, 1, 0, 0, 0, 0, 0]), new Card(9, 1, 1, 1, 2, [0, 0, 1, 1, 1, 0, 1, 0]), new Card(10, 1, 2, 1, 1, [0, 1, 0, 0, 1, 0, 1, 0]), new Card(6, 1, 1, 1, 1, [1, 0, 0, 1, 1, 0, 1, 0]), [[0, 1, 0, 0], [1, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]], 0, 0, 0, 0), new Array(new Card(8, 1, 2, 1, 2, [0, 0, 0, 0, 0, 1, 0, 1]), new Card(7, 1, 2, 1, 2, [0, 0, 0, 0, 1, 1, 1, 1]), new Card(1, 1, 2, 1, 2, [1, 0, 0, 0, 0, 0, 1, 0]), new Card(6, 1, 2, 1, 1, [0, 0, 0, 1, 0, 1, 1, 0]), new Card(2, 1, 1, 1, 2, [0, 0, 0, 1, 1, 0, 0, 0]), [[0, 0, 0, 1], [0, 0, 0, 0], [0, 0, 0, 0], [1, 0, 0, 0]], 0, 0, 0, 0), new Array(new Card(11, 2, 2, 2, 2, [1, 0, 0, 0, 1, 0, 1, 1]), new Card(12, 2, 2, 2, 2, [0, 1, 0, 0, 1, 0, 1, 0]), new Card(1, 2, 2, 1, 2, [1, 0, 0, 1, 1, 0, 1, 0]), new Card(3, 1, 2, 2, 2, [0, 1, 0, 0, 1, 1, 0, 0]), new Card(5, 1, 2, 1, 2, [0, 0, 1, 1, 0, 0, 0, 1]), [[0, 0, 0, 1], [0, 0, 0, 0], [1, 0, 0, 0], [1, 0, 0, 0]], 1, 1, 0, 0), new Array(new Card(10, 1, 2, 2, 2, [0, 0, 0, 1, 0, 0, 1, 1]), new Card(1, 2, 2, 1, 2, [0, 0, 1, 1, 1, 0, 0, 0]), new Card(2, 2, 2, 2, 2, [0, 1, 0, 1, 0, 0, 0, 0]), new Card(3, 2, 2, 2, 2, [0, 1, 1, 1, 0, 0, 0, 0]), new Card(7, 1, 2, 1, 2, [1, 0, 0, 0, 1, 0, 1, 1]), [[0, 0, 1, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 1, 0, 0]], 0, 0, 0, 0), new Array(new Card(3, 2, 2, 2, 2, [0, 0, 0, 1, 1, 1, 0, 0]), new Card(9, 2, 2, 2, 3, [0, 0, 0, 0, 1, 0, 1, 0]), new Card(10, 1, 3, 2, 2, [0, 1, 0, 0, 1, 1, 1, 0]), new Card(4, 2, 2, 1, 2, [0, 1, 0, 1, 0, 0, 0, 1]), new Card(7, 2, 3, 2, 2, [0, 1, 1, 1, 0, 0, 0, 1]), [[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 1]], 0, 1, 0, 0), new Array(new Card(13, 2, 3, 3, 3, [1, 0, 1, 0, 1, 0, 1, 0]), new Card(14, 3, 3, 2, 3, [1, 1, 0, 0, 1, 1, 0, 0]), new Card(6, 1, 3, 2, 2, [1, 0, 0, 1, 1, 1, 0, 0]), new Card(8, 2, 3, 2, 3, [1, 1, 1, 0, 0, 0, 0, 1]), new Card(9, 2, 3, 3, 3, [0, 0, 0, 1, 0, 1, 1, 1]), [[1, 0, 0, 1], [0, 0, 0, 0], [0, 0, 0, 0], [1, 0, 1, 1]], 2, 1, 1, 0), new Array(new Card(10, 2, 3, 2, 3, [0, 1, 0, 0, 0, 0, 1, 0]), new Card(2, 3, 3, 2, 3, [1, 1, 0, 1, 0, 1, 0, 0]), new Card(9, 1, 3, 2, 3, [0, 0, 1, 1, 1, 1, 0, 0]), new Card(4, 2, 3, 3, 3, [0, 0, 0, 0, 1, 0, 1, 0]), new Card(5, 3, 3, 1, 3, [1, 0, 0, 0, 1, 1, 0, 0]), [[0, 0, 1, 1], [0, 0, 0, 0], [0, 1, 0, 0], [0, 0, 0, 0]], 0, 1, 0, 0), new Array(new Card(8, 2, 2, 3, 3, [0, 1, 0, 1, 0, 1, 1, 0]), new Card(7, 2, 3, 2, 2, [1, 1, 0, 1, 1, 0, 0, 0]), new Card(1, 3, 3, 2, 3, [0, 1, 0, 0, 0, 1, 1, 1]), new Card(10, 1, 3, 1, 3, [0, 0, 1, 1, 0, 0, 0, 0]), new Card(6, 2, 3, 1, 2, [0, 0, 0, 1, 0, 1, 1, 0]), [[1, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 1, 0, 0]], 0, 1, 0, 0), new Array(new Card(15, 3, 4, 4, 4, [1, 0, 1, 0, 1, 0, 1, 0]), new Card(16, 4, 4, 3, 4, [1, 0, 0, 1, 0, 0, 1, 1]), new Card(7, 3, 4, 2, 4, [0, 0, 1, 1, 1, 0, 0, 0]), new Card(10, 3, 3, 2, 2, [0, 0, 0, 0, 1, 1, 1, 0]), new Card(4, 1, 4, 2, 4, [1, 1, 1, 0, 0, 0, 0, 0]), [[0, 0, 0, 1], [1, 0, 0, 0], [1, 0, 0, 0], [0, 0, 0, 1]], 3, 2, 2, 1), new Array(new Card(8, 4, 4, 3, 4, [0, 1, 1, 0, 1, 0, 1, 1]), new Card(6, 3, 4, 4, 4, [1, 0, 1, 0, 1, 0, 1, 1]), new Card(3, 3, 4, 1, 4, [0, 1, 1, 1, 0, 0, 1, 0]), new Card(9, 2, 4, 3, 4, [0, 0, 0, 0, 1, 1, 1, 0]), new Card(5, 4, 4, 3, 3, [1, 0, 1, 0, 1, 0, 0, 0]), [[0, 0, 0, 0], [1, 0, 0, 0], [1, 0, 0, 0], [0, 0, 0, 0]], 0, 0, 0, 0), new Array(new Card(3, 3, 5, 3, 4, [0, 1, 1, 0, 1, 0, 0, 1]), new Card(7, 3, 4, 4, 4, [0, 1, 0, 1, 1, 0, 1, 0]), new Card(5, 4, 4, 4, 5, [1, 0, 1, 0, 1, 0, 1, 1]), new Card(8, 2, 5, 3, 5, [1, 0, 0, 1, 1, 1, 0, 1]), new Card(6, 4, 5, 4, 4, [1, 1, 0, 1, 0, 0, 0, 1]), [[0, 1, 0, 0], [0, 0, 0, 0], [0, 1, 0, 0], [0, 0, 0, 0]], 0, 1, 0, 0), new Array(new Card(17, 5, 5, 4, 5, [1, 1, 1, 0, 1, 1, 1, 0]), new Card(18, 4, 5, 5, 5, [1, 1, 1, 1, 1, 0, 0, 0]), new Card(13, 3, 5, 2, 5, [0, 0, 0, 0, 1, 1, 1, 0]), new Card(14, 2, 4, 3, 4, [1, 0, 1, 1, 0, 0, 0, 0]), new Card(8, 3, 4, 1, 5, [1, 1, 0, 0, 1, 0, 1, 0]), [[0, 0, 1, 1], [0, 0, 0, 0], [0, 0, 0, 0], [1, 1, 0, 0]], 2, 1, 3, 0), new Array(new Card(5, 3, 5, 4, 5, [0, 1, 1, 1, 1, 1, 0, 0]), new Card(9, 2, 5, 5, 5, [1, 0, 0, 0, 1, 0, 1, 0]), new Card(6, 3, 4, 2, 4, [1, 0, 1, 1, 0, 1, 0, 1]), new Card(8, 3, 5, 4, 4, [0, 0, 1, 0, 1, 1, 0, 1]), new Card(10, 4, 4, 5, 5, [0, 1, 0, 0, 0, 0, 1, 1]), [[0, 1, 0, 0], [0, 0, 0, 1], [0, 0, 0, 0], [0, 0, 0, 0]], 0, 1, 0, 0), new Array(new Card(3, 3, 5, 3, 6, [1, 0, 0, 0, 1, 1, 1, 1]), new Card(10, 5, 5, 4, 6, [0, 0, 1, 1, 0, 1, 0, 0]), new Card(4, 5, 6, 4, 4, [0, 1, 0, 0, 0, 1, 1, 0]), new Card(9, 3, 5, 4, 6, [1, 1, 1, 0, 1, 0, 0, 1]), new Card(1, 3, 3, 2, 4, [0, 1, 1, 1, 0, 1, 1, 0]), [[0, 0, 0, 0], [1, 0, 0, 0], [1, 0, 0, 0], [0, 0, 1, 0]], 0, 1, 0, 0), new Array(new Card(19, 4, 6, 6, 6, [1, 0, 1, 0, 1, 0, 1, 1]), new Card(20, 6, 6, 4, 6, [0, 1, 0, 1, 0, 1, 1, 1]), new Card(15, 4, 6, 4, 5, [0, 0, 1, 1, 1, 0, 0, 0]), new Card(16, 3, 6, 5, 5, [0, 1, 0, 0, 1, 1, 1, 0]), new Card(10, 3, 6, 4, 6, [0, 0, 1, 0, 1, 0, 1, 0]), [[1, 0, 1, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 1, 0, 1]], 3, 1, 4, 0), new Array(new Card(6, 6, 6, 6, 6, [0, 1, 0, 1, 0, 0, 0, 1]), new Card(3, 6, 6, 4, 6, [0, 1, 0, 0, 0, 1, 0, 1]), new Card(10, 6, 6, 4, 5, [1, 0, 1, 1, 0, 0, 1, 1]), new Card(4, 4, 5, 3, 5, [0, 0, 0, 1, 0, 0, 1, 1]), new Card(5, 3, 5, 2, 6, [0, 0, 1, 0, 0, 1, 0, 1]), [[1, 1, 0, 0], [0, 0, 1, 0], [1, 0, 0, 0], [0, 0, 0, 0]], 0, 1, 0, 0), new Array(new Card(3, 7, 7, 6, 6, [0, 1, 1, 0, 0, 0, 1, 0]), new Card(6, 6, 7, 5, 5, [0, 1, 1, 0, 0, 0, 1, 0]), new Card(7, 5, 7, 6, 8, [0, 0, 0, 1, 1, 1, 0, 0]), new Card(8, 5, 5, 4, 8, [1, 1, 0, 1, 1, 1, 0, 0]), new Card(1, 4, 6, 4, 4, [1, 0, 1, 0, 1, 1, 0, 1]), [[0, 0, 0, 0], [1, 1, 0, 1], [0, 0, 0, 0], [0, 1, 0, 0]], 0, 1, 0, 0), new Array(new Card(21, 6, 8, 6, 8, [1, 0, 1, 0, 1, 0, 1, 0]), new Card(22, 6, 6, 8, 8, [1, 0, 1, 0, 1, 0, 1, 0]), new Card(5, 8, 8, 4, 8, [0, 1, 1, 0, 1, 0, 1, 0]), new Card(6, 6, 8, 4, 6, [0, 0, 1, 0, 1, 0, 1, 0]), new Card(7, 5, 8, 4, 7, [1, 1, 1, 0, 0, 0, 1, 0]), [[0, 0, 0, 0], [0, 1, 1, 0], [0, 1, 1, 0], [0, 0, 0, 0]], 4, 2, 5, 2), new Array(new Card(1, 6, 8, 7, 8, [1, 0, 0, 1, 1, 1, 1, 1]), new Card(6, 5, 6, 7, 8, [0, 1, 1, 0, 1, 1, 1, 1]), new Card(3, 6, 6, 5, 8, [1, 0, 1, 0, 0, 1, 0, 1]), new Card(4, 3, 8, 4, 7, [0, 1, 1, 1, 0, 0, 1, 0]), new Card(5, 5, 8, 5, 5, [0, 1, 0, 0, 0, 1, 1, 1]), [[0, 0, 0, 0], [0, 1, 1, 0], [0, 0, 1, 0], [1, 0, 0, 0]], 0, 1, 0, 0), new Array(new Card(9, 6, 9, 8, 8, [1, 0, 1, 0, 1, 0, 1, 1]), new Card(2, 5, 8, 4, 9, [0, 1, 0, 1, 1, 1, 1, 1]), new Card(5, 5, 6, 7, 7, [1, 0, 1, 1, 1, 0, 0, 0]), new Card(1, 5, 4, 6, 7, [1, 1, 0, 0, 1, 1, 0, 0]), new Card(4, 8, 9, 9, 9, [1, 1, 0, 1, 1, 1, 1, 0]), [[1, 1, 0, 0], [0, 1, 1, 0], [0, 0, 0, 0], [1, 0, 1, 0]], 0, 1, 0, 0), new Array(new Card(23, 9, 9, 6, 9, [1, 1, 0, 1, 1, 0, 1, 1]), new Card(24, 6, 9, 9, 9, [1, 1, 0, 1, 0, 1, 1, 1]), new Card(19, 8, 9, 7, 9, [0, 1, 1, 0, 1, 1, 0, 1]), new Card(20, 5, 9, 4, 8, [0, 0, 1, 1, 1, 1, 0, 1]), new Card(16, 8, 8, 5, 9, [1, 1, 1, 0, 0, 1, 1, 0]), [[0, 0, 0, 1], [0, 1, 0, 0], [0, 0, 1, 0], [1, 0, 0, 0]], 3, 1, 6, 0), new Array(new Card(7, 8, 9, 8, 9, [1, 1, 1, 0, 0, 0, 1, 1]), new Card(2, 9, 9, 7, 9, [1, 1, 0, 0, 0, 1, 0, 1]), new Card(3, 9, 9, 8, 9, [0, 1, 1, 0, 1, 1, 1, 1]), new Card(6, 5, 8, 5, 9, [1, 0, 1, 0, 1, 1, 0, 0]), new Card(1, 3, 7, 2, 9, [1, 1, 0, 0, 1, 1, 1, 0]), [[0, 0, 0, 0], [0, 1, 0, 1], [0, 0, 0, 0], [1, 1, 1, 0]], 0, 1, 0, 0), new Array(new Card(5, 6, 10, 9, 10, [0, 1, 0, 1, 1, 0, 1, 1]), new Card(6, 7, 9, 10, 10, [1, 1, 1, 1, 0, 1, 1, 0]), new Card(3, 7, 9, 5, 10, [1, 1, 0, 0, 1, 1, 1, 1]), new Card(7, 9, 9, 5, 8, [0, 1, 1, 0, 0, 0, 1, 1]), new Card(4, 7, 9, 9, 9, [1, 1, 0, 1, 0, 0, 1, 1]), [[0, 0, 0, 0], [0, 0, 0, 1], [1, 1, 0, 1], [1, 0, 0, 0]], 0, 1, 0, 0), new Array(new Card(25, 10, 10, 8, 10, [1, 1, 1, 0, 1, 0, 1, 0]), new Card(26, 8, 10, 10, 10, [0, 0, 1, 1, 1, 1, 1, 0]), new Card(21, 10, 10, 7, 9, [1, 0, 1, 0, 1, 1, 1, 0]), new Card(22, 4, 6, 9, 10, [1, 0, 1, 0, 1, 0, 1, 1]), new Card(8, 10, 10, 5, 8, [0, 1, 1, 0, 1, 0, 1, 1]), [[0, 0, 0, 1], [0, 0, 1, 0], [1, 1, 0, 0], [1, 1, 0, 0]], 4, 2, 7, 0), new Array(new Card(4, 10, 11, 9, 10, [1, 0, 0, 1, 1, 1, 1, 1]), new Card(7, 8, 10, 7, 10, [0, 1, 1, 0, 1, 0, 1, 1]), new Card(10, 5, 9, 10, 11, [0, 0, 1, 0, 1, 1, 1, 1]), new Card(3, 6, 10, 9, 11, [0, 1, 0, 1, 1, 1, 0, 1]), new Card(5, 5, 7, 6, 9, [0, 0, 0, 1, 1, 0, 1, 1]), [[0, 0, 1, 1], [0, 0, 0, 0], [1, 1, 0, 0], [0, 0, 0, 1]], 0, 1, 0, 0), new Array(new Card(5, 10, 12, 10, 10, [1, 1, 0, 1, 1, 0, 0, 0]), new Card(1, 9, 11, 5, 8, [1, 1, 1, 1, 0, 1, 1, 0]), new Card(4, 6, 8, 10, 12, [1, 1, 1, 0, 1, 0, 1, 1]), new Card(2, 12, 12, 8, 9, [0, 0, 1, 1, 1, 1, 0, 0]), new Card(10, 10, 12, 9, 11, [1, 1, 0, 0, 1, 1, 0, 1]), [[0, 0, 0, 0], [1, 0, 0, 0], [0, 0, 1, 0], [0, 0, 1, 1]], 0, 2, 0, 0), new Array(new Card(27, 10, 12, 12, 12, [1, 1, 1, 0, 1, 1, 1, 0]), new Card(28, 12, 12, 10, 12, [1, 0, 1, 1, 1, 0, 1, 1]), new Card(5, 9, 12, 5, 9, [0, 1, 1, 1, 1, 1, 1, 0]), new Card(6, 6, 9, 10, 12, [1, 1, 1, 1, 1, 0, 1, 0]), new Card(10, 10, 10, 10, 10, [1, 0, 1, 1, 1, 1, 1, 0]), [[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]], 5, 2, 8, 3), new Array(new Card(29, 12, 14, 10, 14, [1, 0, 1, 1, 1, 0, 1, 1]), new Card(30, 9, 12, 14, 14, [1, 1, 1, 0, 1, 1, 1, 0]), new Card(27, 10, 12, 13, 14, [0, 0, 1, 1, 1, 1, 1, 1]), new Card(28, 9, 14, 10, 13, [1, 0, 1, 0, 1, 1, 1, 1]), new Card(5, 14, 14, 10, 12, [1, 1, 1, 0, 1, 0, 1, 1]), [[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]], 5, 2, 8, 0)); npcbio = new Array(new Array("Razor", "DJ in a club in Slacktown, USA. Thinks he's the hottest thing alive since Barry White."), new Array("Kate", "This girl always gets what she wants, but she's far from a spoiled brat."), new Array("Lucas", "Famous hacker on the Undernet, battles in the tournament as a side-kick."), new Array("MacSeth", "Abstract artist and singer in a R&B band. He has the determination of a hundred men."), new Array("Mamh'Ud", "Grand Master of the tournament for years, this monk is the real deal. Be warned.")); npctaunts = new Array(new Array("So, you think you're tough enough to play in the big leagues? We'll see about that!", "If you wanna go any further, you'll have to beat ME first, and that's not likely to happen.", "Woah, am I awesome or what?!", "I told you you wouldn't make the cut!", "Damn! Okay... You've got some skills, but don't get cocky!", "Meh, that's beginner's luck, nothing more..."), new Array("Hmm, a new challenger? Come and give me your best shot!", "Don't underestimate me, big man, or you'll be sorry!", "*chuckle* And you call yourself a duelist?", "Better luck next time, sweet buns!", "Argl! That's wasn't fair!", "I'll get you next time, count on it!"), new Array("I ask myself, do you have what it takes to be the champ?", "Know what I think? You should find yourself another hobby before you get hurt.", "See? Nothing can beat my superior strategy.", "Don't get mad, you knew from the start you had no chances to win.", "What?! How could I lose to the likes of you?!", "How interesting. Maybe you've got some talent after all."), new Array("You may have beaten me last time, but this time you're going down!", "You'd better be prepared, 'coz this time, it's for real!", "Kids like you never learn... come back when you've grown some muscle!", "How does it feels to have your butt handed to you by a girl?", "This is so humiliating!...", "There's nothing funny about beating a woman, you jerk!"), new Array("I suppose I could spar with you again, but don't expect me to let you win.", "I'm surprised you came this far, but this is where it all comes to an end.", "What are you trying to prove? You know you can't beat me.", "I'm destined to win. It's mathematical!", "Damnation! Such good fortune is simply idiotic!", "I say, someone up there must really love you, but it won't last long!"), new Array("Yo dude. You think you can rivalize with my skills?", "There's no stopping me! Think you can handle the heat?", "Man, that was way too easy!", "Sure, man, you're skilled, but not nearly enough to beat ME!", "Look, I don't like your attitude. Next time, I'll beat you real good!", "That was a cheap shot, dude!"), new Array("You may have beaten me twice in the past but now, it's for real.", "I tried to be nice but now I won't take a back seat to nobody!", "What do you think? Pretty good, huh?", "Come on, give me a rematch, I was just starting to have some fun!", "There's no word strong enough to express my anger right now!", "You must be the luckiest person in the world, you know that?"), new Array("You sound serious enough, but do you have the guts to take me down?", "Tonight, we're rolling in style, baby! Now bring it on!", "Oh yeah! Who's the punk now, punk?!", "*chuckle* Man, what was that?! Don't tell me you were serious!", "You know what? I take it back. You ARE born for this sh*t, dude.", "Respect, man. You've earned it."), new Array("Victory is nigh, brother. Either embrace it or leave in shame. What is your choice?", "Please show me all that you've got, for the path ahead requires true skills.", "Real strenght comes from within, brother. You should meditate on your defeat.", "You may have lost this battle, but you've earned my respect as a skilled duelist.", "Congratulations, brother. Victory has welcomed you with open arms.", "Your temerity proved stronger than mine. You deserve the title of champion.")); cdeckx = 30; pdeckx = 490; cdecky = 60; pdecky = 60; counterx = 30; countery = 280; cardmargin = 32; cardwidth = 80; cardheight = 80; tablex = 140; tabley = 40; tabledimx = 4; tabledimy = 4; cardindeck = 5; cardinfull = 15; labelboxwidth = 160; labelboxheight = 24; gamewidth = 600; gameheight = 400; cardpeekx = 12; arrowwidth = 12; arrowheight = 12; combowidth = 256; comboheight = 80; titlewidth = 600; titleheight = 80; cardtable = new Array(tabledimx); i = 0; while (i < tabledimx) { cardtable[i] = new Array(tabledimy); j = 0; while (j < tabledimy) { cardtable[i][j] = new Array(3); j++; } i++; } map = new Array(4); i = 0; while (i < 4) { map[i] = new Array(4); i++; } cheats = new Array("specialguests", "onemanarmy", "getoverwithit"); difficulty = 0; curlevel = 0; gamelength = 0; bgtype = ""; canwinexp = false; canwincard = false; playerdeck = new Array(cardinfull); i = 0; while (i < cardinfull) { playerdeck[i] = new Card(0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0]); i++; } computerdeck = new Array(cardindeck); i = 0; while (i < cardindeck) { computerdeck[i] = new Card(0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0]); i++; } sidedeck = new Array(); tournum = 0; matchnum = 0; curround = 0; roundres = new Array(0, 0, 0, 0, 0); matchres = 0; gamestate = false; selcard = -1; attacks = new Array(); possessions = new Array(); usedccards = new Array(); usedpcards = new Array(); gainedexp = new Array(cardindeck); i = 0; while (i < cardindeck) { gainedexp[i] = new Array(0, 0, 0, 0, 0); i++; } selfdeck = 0; starter = 0; winner = 0; blocklist = new Array();Frame 2gotoAndPlay ("splash");Symbol 18 MovieClip Frame 40stop();Symbol 32 Buttonon (press) { tellTarget (_root) { nextFrame(); }; }Symbol 33 Buttonon (press) { gotoAndStop ("end"); _root.play(); }Instance of Symbol 8 MovieClip in Symbol 34 MovieClip Frame 1onClipEvent (load) { _root.stop(); PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); if (PercentLoaded != 100) { _parent.gotoAndStop(PercentLoaded); } else { _parent.gotoAndStop("lastframe"); } } onClipEvent (enterFrame) { PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); if (PercentLoaded != 100) { _parent.gotoAndStop(PercentLoaded); } else { _parent.gotoAndPlay("loaded"); } }Symbol 34 MovieClip Frame 101play();Symbol 34 MovieClip Frame 165stop();Symbol 40 Buttonon (release) { NewgroundsAPI.loadNewgrounds(); }Symbol 46 Buttonon (release) { NewgroundsAPI.loadNewgrounds(); }Symbol 48 MovieClip Frame 1function startAd(ngad_url) { trace("opening " + ngad_url); System.security.allowDomain("70.87.128.99"); System.security.allowInsecureDomain("70.87.128.99"); System.security.allowDomain("ads.shizmoo.com"); System.security.allowInsecureDomain("ads.shizmoo.com"); System.security.allowDomain("www.cpmstar.com"); System.security.allowInsecureDomain("www.cpmstar.com"); System.security.allowDomain("server.cpmstar.com"); System.security.allowInsecureDomain("server.cpmstar.com"); var ngads_redirect = new XML(); ngads_redirect.ignoreWhite = true; ngads_redirect.onLoad = function (success) { trace("[NEWGROUNDS FLASH ADS] :: You may get a 'Security Sandbox Violation' ... this is normal, do not freak out!"); if (success) { ng_ad.loadMovie(ngads_redirect.toString(), "GET"); } }; ngads_redirect.load(ngad_url); } if (NewgroundsAPI.getAdURL()) { startAd(NewgroundsAPI.getAdURL()); } NewgroundsAPI.onAdsApproved = function (ad_url) { startAd(ad_url); }; stop();Symbol 572 MovieClip [__Packages.Card] Frame 0class Card { var _number, _arrows, _attackmin, _defensemin, _attackmax, _defensemax, _atkexp, _defexp, _atkratio, _defratio; function Card (cardnum, attackmin, attackmax, defensemin, defensemax, arrows) { _number = cardnum; _arrows = arrows; _attackmin = attackmin; _defensemin = defensemin; _attackmax = attackmax; _defensemax = defensemax; _atkexp = 0; _defexp = 0; _atkratio = 0; _defratio = 0; } function addExp(atkexp, defexp) { _atkexp = _atkexp + atkexp; _defexp = _defexp + defexp; } function setExp(atkexp, defexp) { _atkexp = atkexp; _defexp = defexp; } function getExp() { return(Array(_atkexp, _defexp)); } function addRatios(atkratio, defratio) { _atkratio = _atkratio + atkratio; _defratio = _defratio + defratio; } function setRatios(atkratio, defratio) { _atkratio = atkratio; _defratio = defratio; } function getRatios() { return(Array(_atkratio, _defratio)); } function addAttack(attackmin, attackmax) { if ((_attackmax + attackmax) <= 15) { _attackmax = _attackmax + attackmax; } if (((_attackmin + attackmin) > _attackmax) && ((_attackmax + attackmin) <= 15)) { _attackmax = _attackmax + attackmin; } else if ((_attackmin + attackmin) <= 15) { _attackmin = _attackmin + attackmin; } } function setAttack(attackmin, attackmax) { _attackmax = attackmax; _attackmin = attackmin; } function getAttack() { return(Array(_attackmin, _attackmax)); } function getAttackString() { var _local2; if (_attackmin == _attackmax) { _local2 = _attackmin.toString(); } else { _local2 = (_attackmin + " - ") + _attackmax; } return(_local2); } function addDefense(defensemin, defensemax) { if ((_defensemax + defensemax) <= 15) { _defensemax = _defensemax + defensemax; } if (((_defensemin + defensemin) > _defensemax) && ((_defensemax + defensemin) <= 15)) { _defensemax = _defensemax + defensemin; } else if ((_defensemin + defensemin) <= 15) { _defensemin = _defensemin + defensemin; } } function setDefense(defensemin, defensemax) { _defensemax = defensemax; _defensemin = defensemin; } function getDefense() { return(Array(_defensemin, _defensemax)); } function getDefenseString() { var _local2; if (_defensemin == _defensemax) { _local2 = _defensemin.toString(); } else { _local2 = (_defensemin + " - ") + _defensemax; } return(_local2); } function getHighest() { var _local2 = (_attackmin + _attackmax) / 2; var _local3 = (_defensemin + _defensemax) / 2; if (_local2 > _local3) { return(getAttack()); } return(getDefense()); } function getLowest() { var _local2 = (_attackmin + _attackmax) / 2; var _local3 = (_defensemin + _defensemax) / 2; if (_local2 < _local3) { return(getAttack()); } return(getDefense()); } function setArrows(arrows) { _arrows = arrows; } function getArrows() { return(_arrows); } function setNumber(num) { _number = num; } function getNumber() { return(_number); } function getElements() { var _local3 = new Array(_root.cardlist[_number][1], _root.cardlist[_number][2]); return(_local3); } function getName() { return(_root.cardlist[_number][0]); } function toString() { var _local3 = getAttack(); var _local2 = getDefense(); var _local4 = ((((((((((("(" + getNumber()) + "); [") + _local3[0]) + ";") + _local3[1]) + "][") + _local2[0]) + ";") + _local2[1]) + "][") + getArrows()) + "]"; return(_local4); } }Symbol 573 MovieClip [__Packages.NewgroundsAPI] Frame 0class NewgroundsAPI { static var tracker_id, host, version, debug, error_format, header_format, normal_format, link_format; function NewgroundsAPI () { } static function connectMovie(id) { if (!id) { SendError("Missing required 'id' parameter in NewgroundsAPI.connectMovie(id:Number)"); } else if (!tracker_id) { SendMessage("Connecting to API gateway..."); tracker_id = id; host = _url.split("/")[2].toLowerCase(); if (host.length < 1) { host = "localhost"; } var _local2 = new Object(); SendEvent(MOVIE_VIEWS); } } static function setMovieVersion(movie_version) { if (!movie_version) { SendError("Missing required 'version' in NewgroundsAPI.setMovieVersion(version:String)"); } else { version = movie_version; } } static function debugMode() { debug = true; } static function addCustomEvent(stat_id, stat_name) { if (!stat_id) { SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)"); } else if (!stat_name) { SendError("Missing required 'event_name' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)"); } else { custom_events[stat_name] = CUSTOM_STATS + stat_id; SendMessage("Created custom event: " + stat_name); } } static function addCustomLink(stat_id, stat_name) { if (!stat_id) { SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)"); } else if (!stat_name) { SendError("Missing required 'link_name' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)"); } else { custom_links[stat_name] = CUSTOM_STATS + stat_id; SendMessage((("Created custom link " + stat_id) + ": ") + stat_name); } } static function loadMySite() { SendLink(AUTHOR_SITE); } static function loadNewgrounds(special) { if (special) { var _local1 = {page:special}; } SendLink(NEWGROUNDS, _local1); } static function logCustomEvent(event_name) { if (!event_name) { SendError("Missing required 'event_name' parameter in NewgroundsAPI.logCustomEvent(event_name:String)"); } else if (!custom_events[event_name]) { SendError("Attempted to log undefined custom event: " + event_name); } else { SendEvent(custom_events[event_name]); } } static function loadCustomLink(link_name) { if (!link_name) { SendError("Missing required 'link_name' parameter in NewgroundsAPI.loadCustomLink(link_name:String)"); } else if (!custom_links[link_name]) { SendError("Attempted to open undefined custom link: " + link_name); } else { SendLink(custom_links[link_name]); } } static function getAdURL() { return(movie_options.ad_url); } static function getMovieURL() { if (movie_options.movie_url) { return(movie_options.movie_url); } return("Newgrounds.com"); } static function getNewVersionURL() { return((((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + NEW_VERSION); } static function SendEvent(id) { SendStat(id, false); } static function SendLink(id, extra) { SendStat(id, true, extra); } static function ReadGatewayData(params) { for (var _local2 in params) { params[_local2] = unescape(params[_local2]); movie_options[_local2] = params[_local2]; } if (params.settings_loaded) { SendMessage("You have successfully connected to the Newgrounds API gateway!"); SendMessage(("Movie Identified as '" + movie_options.movie_name) + "'"); if (movie_options.message) { SendMessage(movie_options.message); } if (movie_options.ad_url) { SendMessage("Your movie has been approved to run Flash Ads"); onAdsApproved(movie_options.ad_url); } if (movie_options.movie_version and (movie_options.movie_version.toString() != version.toString())) { SendMessage("WARNING: The movie version configured in your API settings does not match this movie's version!"); onNewVersionAvailable(movie_options.movie_version, getMovieURL(), getNewVersionURL()); } if (movie_options.deny_host) { SendMessage("You have blocked 'localHost' in your API settings."); SendMessage("If you wish to test your movie you will need to remove this block."); onDenyHost(host, getMovieURL(), getNewVersionURL()); } if (movie_options.request_portal_url == 1) { var _local4 = (((GATEWAY_URL + "?&id=") + tracker_id) + "&portal_url=") + escape(_url); var _local3 = new XML(); _local3.ignoreWhite = true; _local3.load(_local4); } } else if (!movie_options.settings_loaded) { SendError("Could not establish connection to the API gateway."); } } static function SendStat(stat_id, open_in_browser, extra) { if (!tracker_id) { SendError("API calls cannot be made without a valid movie id."); SendError("Did you remember to add the \"NewgroundsAPI.connectMovie()\" code?"); } else { var _local7 = (((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + stat_id; for (var _local9 in extra) { _local7 = _local7 + ((("&" + escape(_local9)) + "=") + escape(extra[_local9])); } trace(_local7); if (debug) { _local7 = _local7 + "&debug=1"; } if (open_in_browser) { getURL (_local7, "_blank"); } else { var _local10 = new XML(); _local10.ignoreWhite = true; _local10.onLoad = function (success) { var _local6 = new Object(); var _local3 = 0; while (_local3 < this.firstChild.childNodes.length) { var _local4 = this.firstChild.childNodes[_local3]; var _local5 = _local4.nodeName; var _local2 = _local4.attributes.value; if (_local2 == Number(_local2)) { _local2 = Number(_local2); } _local6[_local5] = _local2; _local3++; } NewgroundsAPI.ReadGatewayData(_local6); }; _local10.load(_local7); } } } static function SendError(msg) { trace("[NEWGROUNDS API ERROR] :: " + msg); } static function SendMessage(msg) { trace("[NEWGROUNDS API] :: " + msg); } static function InitTextFormats() { if (!error_format) { error_format = new TextFormat(); error_format.font = "Arial Black"; error_format.size = 48; error_format.color = 16711680 /* 0xFF0000 */; } if (!header_format) { header_format = new TextFormat(); header_format.font = "Arial Black"; header_format.size = 24; header_format.color = 16777215 /* 0xFFFFFF */; } if (!normal_format) { normal_format = new TextFormat(); normal_format.font = "Arial"; normal_format.bold = true; normal_format.size = 12; normal_format.color = 16777215 /* 0xFFFFFF */; } if (!link_format) { link_format = new TextFormat(); link_format.color = 16776960 /* 0xFFFF00 */; link_format.underline = true; } } static function onNewVersionAvailable(version, movie_url, redirect_url) { InitTextFormats(); var _local2 = new Object(); _local2.x = Stage.width / 2; _local2.y = Stage.height / 2; _root.createEmptyMovieClip("NGAPI_new_version_overlay", _root.getNextHighestDepth()); _root.NGAPI_new_version_overlay.lineStyle(1, 0, 100); _root.NGAPI_new_version_overlay.beginFill(0, 70); _root.NGAPI_new_version_overlay.moveTo(-10, -10); _root.NGAPI_new_version_overlay.lineTo(-10, 1000); _root.NGAPI_new_version_overlay.lineTo(1000, 1000); _root.NGAPI_new_version_overlay.lineTo(1000, -10); _root.NGAPI_new_version_overlay.lineTo(-10, -10); _root.NGAPI_new_version_overlay.endFill(); _root.NGAPI_new_version_overlay.lineStyle(10, 0, 100); _root.NGAPI_new_version_overlay.beginFill(51); _root.NGAPI_new_version_overlay.moveTo(_local2.x - 240, _local2.y - 120); _root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y - 120); _root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y + 80); _root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y + 80); _root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y - 120); _root.NGAPI_new_version_overlay.endFill(); _root.NGAPI_new_version_overlay.createEmptyMovieClip("exit", 1000); _root.NGAPI_new_version_overlay.exit.lineStyle(2, 39423, 100); _root.NGAPI_new_version_overlay.exit.beginFill(0, 50); _root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 210, _local2.y - 110); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 110); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 90); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 90); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 110); _root.NGAPI_new_version_overlay.exit.endFill(); _root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 214, _local2.y - 106); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 226, _local2.y - 94); _root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 226, _local2.y - 106); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 214, _local2.y - 94); _root.NGAPI_new_version_overlay.exit.onMouseUp = function () { if (_root.NGAPI_new_version_overlay.exit.hitTest(_root._xmouse, _root._ymouse)) { _root.NGAPI_new_version_overlay.removeMovieClip(); } }; var _local3 = (("Version " + version) + " is now available at:") + newline; var _local5 = _local3.length; _local3 = _local3 + movie_url; var _local4 = _local3.length; _root.NGAPI_new_version_overlay.createTextField("mouseblocker", 99, -10, -10, 1000, 1000); _root.NGAPI_new_version_overlay.createTextField("newversion", 100, _local2.x - 210, _local2.y - 90, 400, 80); _root.NGAPI_new_version_overlay.newversion.text = "New Version Available!"; _root.NGAPI_new_version_overlay.newversion.setTextFormat(header_format); _root.NGAPI_new_version_overlay.createTextField("message", 101, (Stage.width - 400) / 2, Stage.height / 2, 400, 40); _root.NGAPI_new_version_overlay.message.text = _local3; _root.NGAPI_new_version_overlay.message.multiline = true; _root.NGAPI_new_version_overlay.message.wordWrap = true; _root.NGAPI_new_version_overlay.message.html = true; _root.NGAPI_new_version_overlay.message.setTextFormat(normal_format); link_format.url = redirect_url; _root.NGAPI_new_version_overlay.message.setTextFormat(_local5, _local4, link_format); } static function onDenyHost(hostname, movie_url, redirect_url) { InitTextFormats(); _root.createEmptyMovieClip("NGAPI_deny_host_overlay", _root.getNextHighestDepth()); _root.NGAPI_deny_host_overlay.lineStyle(20, 0, 100); _root.NGAPI_deny_host_overlay.beginFill(6684672); _root.NGAPI_deny_host_overlay.moveTo(0, 0); _root.NGAPI_deny_host_overlay.lineTo(Stage.width, 0); _root.NGAPI_deny_host_overlay.lineTo(Stage.width, Stage.height); _root.NGAPI_deny_host_overlay.lineTo(0, Stage.height); _root.NGAPI_deny_host_overlay.lineTo(0, 0); _root.NGAPI_deny_host_overlay.endFill(); var _local2 = ("This movie has not been approved for use on " + hostname) + "."; _local2 = _local2 + "\r\rFor an aproved copy, please visit:\r"; var _local4 = _local2.length; _local2 = _local2 + movie_url; var _local3 = _local2.length; _root.NGAPI_deny_host_overlay.createTextField("mousekill", 100, 0, 0, Stage.width, Stage.height); _root.NGAPI_deny_host_overlay.createTextField("error", 101, (Stage.width - 400) / 2, (Stage.height / 2) - 100, 400, 200); _root.NGAPI_deny_host_overlay.error.text = "ERROR!"; _root.NGAPI_deny_host_overlay.error.setTextFormat(error_format); _root.NGAPI_deny_host_overlay.createTextField("message", 102, (Stage.width - 400) / 2, Stage.height / 2, 400, 200); _root.NGAPI_deny_host_overlay.message.text = _local2; _root.NGAPI_deny_host_overlay.message.multiline = true; _root.NGAPI_deny_host_overlay.message.wordWrap = true; _root.NGAPI_deny_host_overlay.message.html = true; _root.NGAPI_deny_host_overlay.message.setTextFormat(normal_format); link_format.url = redirect_url; _root.NGAPI_deny_host_overlay.message.setTextFormat(_local4, _local3, link_format); } static function isInstalled() { return(true); } static function onAdsApproved(ad_url) { } static var movie_options = new Object(); static var custom_events = new Object(); static var custom_links = new Object(); static var MOVIE_VIEWS = 1; static var AUTHOR_SITE = 2; static var NEWGROUNDS = 3; static var NEW_VERSION = 4; static var CUSTOM_STATS = 50; static var GATEWAY_URL = "http://www.ngads.com/gateway.php"; }Symbol 142 MovieClip Frame 1stop();Symbol 147 MovieClip [card] Frame 1stop();Symbol 161 MovieClip Frame 60_parent.gotoAndStop(4);Symbol 164 MovieClip Frame 60_parent.gotoAndStop(4);Symbol 184 MovieClip Frame 45_parent.play();Symbol 184 MovieClip Frame 55stop();Symbol 185 MovieClip [coin_anim] Frame 1stop();Symbol 194 MovieClip [label_box] Frame 1stop();Symbol 208 MovieClip [switcher] Frame 1this.pos = 0;Symbol 208 MovieClip [switcher] Frame 5this.pos = 1;Symbol 208 MovieClip [switcher] Frame 6this.pos = 2;Symbol 208 MovieClip [switcher] Frame 14this.pos = 3;Symbol 213 MovieClip Frame 1stop(); gotoAndPlay((_parent.dir * 5) + 2);Symbol 213 MovieClip Frame 6_parent.play();Symbol 213 MovieClip Frame 11_parent.play();Symbol 213 MovieClip Frame 16_parent.play();Symbol 213 MovieClip Frame 21_parent.play();Symbol 213 MovieClip Frame 26_parent.play();Symbol 213 MovieClip Frame 31_parent.play();Symbol 213 MovieClip Frame 36_parent.play();Symbol 213 MovieClip Frame 41_parent.play();Symbol 214 MovieClip [comboer] Frame 1this.pos = 0;Symbol 214 MovieClip [comboer] Frame 5stop(); this.pos = 1;Symbol 214 MovieClip [comboer] Frame 6this.pos = 2;Symbol 214 MovieClip [comboer] Frame 9stop();Symbol 245 MovieClip [levelup] Frame 1this.pos = 0; _root.playSound("levelup.wav");Symbol 245 MovieClip [levelup] Frame 5this.pos = 1;Symbol 245 MovieClip [levelup] Frame 6this.pos = 2;Symbol 245 MovieClip [levelup] Frame 14this.pos = 3;Instance of Symbol 240 MovieClip [click_here_button] in Symbol 276 MovieClip Frame 1on (press) { _parent._parent.play(); }Symbol 283 MovieClip [endgame_clip] Frame 1this.pos = 0;Symbol 283 MovieClip [endgame_clip] Frame 10if (_root.winner == 1) { _root.playSound("win.wav"); } else { _root.playSound("lose.wav"); }Symbol 283 MovieClip [endgame_clip] Frame 80this.pos = 1;Symbol 283 MovieClip [endgame_clip] Frame 89this.pos = 2;Symbol 283 MovieClip [endgame_clip] Frame 155stop();Instance of Symbol 240 MovieClip [click_here_button] in Symbol 283 MovieClip [endgame_clip] Frame 155on (press) { _parent.play(); }Symbol 283 MovieClip [endgame_clip] Frame 159this.pos = 3;Instance of Symbol 240 MovieClip [click_here_button] in Symbol 283 MovieClip [endgame_clip] Frame 160on (press) { _parent.pos = 3; }Symbol 283 MovieClip [endgame_clip] Frame 185this.pos = 4;Symbol 283 MovieClip [endgame_clip] Frame 200stop();Symbol 283 MovieClip [endgame_clip] Frame 220this.pos = 5;Symbol 283 MovieClip [endgame_clip] Frame 229this.pos = 6;Symbol 283 MovieClip [endgame_clip] Frame 285this.pos = 7;Symbol 283 MovieClip [endgame_clip] Frame 290stop();Symbol 283 MovieClip [endgame_clip] Frame 315stop(); this.pos = 8;Symbol 300 MovieClip Frame 1stop();Symbol 304 MovieClip [side_deck] Frame 15this.cancheck = true; stop();Symbol 309 MovieClip Frame 1stop();Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 309 MovieClip Frame 1on (press) { with (_parent._parent) { res = 1; play(); } }Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 309 MovieClip Frame 1on (press) { with (_parent._parent) { play(); } }Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 309 MovieClip Frame 2on (press) { with (_parent._parent) { play(); } }Symbol 312 MovieClip [msg_window] Frame 15stop();Symbol 330 MovieClip Frame 1stop();Symbol 341 MovieClip Frame 1_parent.stop();Symbol 341 MovieClip Frame 155_parent.play();Symbol 342 MovieClip Frame 1_root.stop();Symbol 342 MovieClip Frame 30_root.gotoAndStop("game");Symbol 360 MovieClip Frame 1if (!_parent.firsttime) { stop(); } _parent.firsttime = false;Symbol 360 MovieClip Frame 20stop();Instance of Symbol 359 MovieClip in Symbol 360 MovieClip Frame 20on (press) { _parent.play(); }Symbol 360 MovieClip Frame 31stop();Symbol 372 MovieClip Frame 1txtCode.text = "";Symbol 426 MovieClip Frame 1stop();Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 426 MovieClip Frame 1on (press) { _root.playSound("click.wav"); with (_parent) { gotoAndStop(_currentframe + 1); } }Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 426 MovieClip Frame 2on (press) { _root.playSound("click.wav"); with (_parent) { gotoAndStop(_currentframe - 1); } }Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 426 MovieClip Frame 2on (press) { _root.playSound("click.wav"); with (_parent) { gotoAndStop(_currentframe + 1); } }Symbol 432 MovieClip Frame 1txtCode.text = _root.saveCode();Symbol 442 MovieClip Frame 1_root.deployManager(this);Symbol 452 MovieClip Frame 1goto = ""; _parent.cancheck = false; _root.canwinexp = true; _root.canwincard = false; _root.matchnum = 0; _root.tournum = 0; _root.randomizeNumbers(1, 10); _root.randomizeArrows(2, 6); _root.randomizeMap(0, 4);Symbol 452 MovieClip Frame 20stop(); _parent.cancheck = true;Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 452 MovieClip Frame 20on (press) { _root.playSound("click.wav"); _parent.goto = "length"; _root.difficulty = 0; avvalues = _root.getAverage(); avatt2 = Math.round(avvalues[0] * 1.25); if (avatt2 > 15) { avatt2 = 15; } avdef2 = Math.round(avvalues[1] * 1.25); if (avdef2 > 15) { avdef2 = 15; } _root.randomizeValues(avvalues[0], avatt2, avvalues[1], avdef2); _parent.play(); }Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 452 MovieClip Frame 20on (press) { _root.playSound("click.wav"); _parent.goto = "length"; _root.difficulty = 1; avvalues = _root.getAverage(); avatt1 = Math.round(avvalues[0] * 0.75); if (avatt1 < 1) { avatt1 = 1; } avatt2 = Math.round(avvalues[0] * 1.25); if (avatt2 > 15) { avatt2 = 15; } avdef1 = Math.round(avvalues[1] * 0.75); if (avdef1 < 1) { avdef1 = 1; } avdef2 = Math.round(avvalues[1] * 1.25); if (avdef2 > 15) { avdef2 = 15; } _root.randomizeValues(avatt1, avatt2, avdef1, avdef2); _parent.play(); }Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 452 MovieClip Frame 20on (press) { _root.playSound("click.wav"); _parent.goto = "length"; _root.difficulty = 2; avvalues = _root.getAverage(); avatt1 = Math.round(avvalues[0] * 0.75); if (avatt1 < 1) { avatt1 = 1; } avdef1 = Math.round(avvalues[1] * 0.75); if (avdef1 < 1) { avdef1 = 1; } _root.randomizeValues(avatt1, avvalues[0], avdef1, avvalues[1]); _parent.play(); }Symbol 452 MovieClip Frame 21_parent.cancheck = false;Symbol 452 MovieClip Frame 35gotoAndPlay(goto);Symbol 452 MovieClip Frame 50stop(); _parent.cancheck = true;Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 452 MovieClip Frame 50on (press) { _root.playSound("click.wav"); _parent.goto = "play"; _root.gamelength = 2; _parent.play(); }Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 452 MovieClip Frame 50on (press) { _root.playSound("click.wav"); _parent.goto = "play"; _root.gamelength = 1; _parent.play(); }Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 452 MovieClip Frame 50on (press) { _root.playSound("click.wav"); _parent.goto = "play"; _root.gamelength = 0; _parent.play(); }Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 452 MovieClip Frame 50on (press) { _root.playSound("click.wav"); _parent.goto = "difficulty"; _parent.play(); }Symbol 452 MovieClip Frame 51_parent.cancheck = false;Symbol 452 MovieClip Frame 65gotoAndPlay(goto);Symbol 452 MovieClip Frame 66stop(); with (_parent) { cancheck = true; goto = "game"; gotonext = "quick"; play(); }Symbol 461 MovieClip Frame 1stop();Symbol 464 MovieClip Frame 1stop();Symbol 467 MovieClip Frame 1stop();Symbol 472 MovieClip Frame 1if (_root.curlevel < 9) { pro.gotoAndStop(2); star1._alpha = 0; } if (_root.curlevel < 18) { master.gotoAndStop(2); star2._alpha = 0; } if (_root.curlevel < 27) { star3._alpha = 0; }Symbol 473 MovieClip Frame 1_parent.cancheck = false; goto = "";Symbol 473 MovieClip Frame 20stop(); _parent.cancheck = true;Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 473 MovieClip Frame 20on (press) { _root.playSound("click.wav"); _parent.play(); _root.tournum = 1; }Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 473 MovieClip Frame 20on (press) { if (_root.curlevel >= 9) { _root.playSound("click.wav"); _parent.play(); _root.tournum = 2; } }Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 473 MovieClip Frame 20on (press) { if (_root.curlevel >= 18) { _root.playSound("click.wav"); _parent.play(); _root.tournum = 3; } }Symbol 473 MovieClip Frame 21_parent.cancheck = false;Symbol 473 MovieClip Frame 35stop(); with (_parent) { cancheck = true; goto = "tournament"; play(); }Symbol 513 MovieClip Frame 1cancheck = true; challenge = false; _root.canwinexp = true; _root.canwincard = true; _root.setTournament(_root.tournum, this); stop();Symbol 513 MovieClip Frame 17stop();Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 513 MovieClip Frame 17on (press) { _root.playSound("click.wav"); _parent._parent.cancheck = true; _parent.play(); }Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 513 MovieClip Frame 17on (press) { _root.playSound("click.wav"); _parent.challenge = true; _parent.play(); }Symbol 513 MovieClip Frame 33if (challenge) { stop(); _parent.cancheck = true; _parent.goto = "game"; _parent.gotonext = "tournament"; _parent.play(); }Symbol 521 MovieClip Frame 1stop();Symbol 522 MovieClip Frame 20stop(); _root.initGame(this);Symbol 522 MovieClip Frame 40for (mc in this) { this[mc].removeMovieClip(); } if (!_root.matchres) { gotoAndPlay (1); } else { _parent.play(); }Symbol 550 MovieClip Frame 1actlevel = ((_root.tournum - 1) * 9) + _root.matchnum; npcnum = _root.tourcards[actlevel][6]; switch (npcnum) { case 1 : npcname = "Razor"; break; case 2 : npcname = "Kate"; break; case 3 : npcname = "Lucas"; break; case 4 : npcname = "MacSeth"; break; case 5 : npcname = "Mamh'Ud"; break; default : npcname = "[Error]"; } if (_root.matchres == 1) { mood = 0; txtTitle.text = npcname + " Loses!"; } else { mood = 1; txtTitle.text = npcname + " Wins!"; } npc.gotoAndStop((npcnum * 2) - mood); tauntindex = _root.tourcards[actlevel][8]; if (mood) { bubble.txtBubble.text = _root.npctaunts[tauntindex][_root.getRandom(2, 3)]; } else { bubble.txtBubble.text = _root.npctaunts[tauntindex][_root.getRandom(4, 5)]; }Symbol 570 MovieClip Frame 1switch (_parent.endtour) { case 1 : gotoAndPlay ("amateur"); break; case 2 : gotoAndPlay ("pro"); break; case 3 : gotoAndPlay ("master"); }Symbol 570 MovieClip Frame 60stop();Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 570 MovieClip Frame 60on (press) { _root.playSound("click.wav"); _parent.play(); }Symbol 570 MovieClip Frame 86_parent.play();Symbol 570 MovieClip Frame 165stop();Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 570 MovieClip Frame 165on (press) { _root.playSound("click.wav"); _parent.play(); }Symbol 570 MovieClip Frame 191_parent.play();Symbol 570 MovieClip Frame 280stop();Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 570 MovieClip Frame 280on (press) { _root.playSound("click.wav"); _parent.play(); }Symbol 570 MovieClip Frame 306_parent.play();Symbol 571 MovieClip Frame 1var goto; var gotonext; var cancheck = true; var endtour = 0; var firsttime = true; _root.playMusic("menu.wav", 100); _root.resetGame();Symbol 571 MovieClip Frame 82stop();Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 82on (press) { _root.playSound("click.wav"); with (_parent) { goto = "credits"; play(); } } on (rollOver) { _parent.help_bubble._y = this._y; _parent.help_bubble._x = this._x + this._width; _parent.help_bubble.txtHelp.text = "Shows the game's credits, namely, who did what."; } on (releaseOutside, rollOut) { _parent.help_bubble._y = 500; }Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 82on (press) { _root.playSound("click.wav"); with (_parent) { goto = "tutorial"; play(); } } on (rollOver) { _parent.help_bubble._y = this._y; _parent.help_bubble._x = this._x + this._width; _parent.help_bubble.txtHelp.text = "Teaches you how to play the game."; } on (releaseOutside, rollOut) { _parent.help_bubble._y = 500; }Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 82on (press) { _root.playSound("click.wav"); with (_parent) { goto = "manage"; play(); } } on (rollOver) { _parent.help_bubble._y = this._y; _parent.help_bubble._x = this._x + this._width; _parent.help_bubble.txtHelp.text = "Manage your main and side decks."; } on (releaseOutside, rollOut) { _parent.help_bubble._y = 500; }Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 82on (press) { _root.playSound("click.wav"); with (_parent) { goto = "quick"; play(); } } on (rollOver) { _parent.help_bubble._y = this._y; _parent.help_bubble._x = this._x + this._width; _parent.help_bubble.txtHelp.text = "Battle against the computer. You can't win new cards in Quick Play mode."; } on (releaseOutside, rollOut) { _parent.help_bubble._y = 500; }Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 82on (press) { _root.playSound("click.wav"); with (_parent) { goto = "toursel"; play(); } } on (rollOver) { _parent.help_bubble._y = this._y; _parent.help_bubble._x = this._x + this._width; _parent.help_bubble.txtHelp.text = "Battle against numerous opponents and advance in ranks."; } on (releaseOutside, rollOut) { _parent.help_bubble._y = 500; }Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 82on (press) { _root.playSound("click.wav"); with (_parent) { goto = "save"; play(); } } on (rollOver) { _parent.help_bubble._y = this._y; _parent.help_bubble._x = this._x + this._width; _parent.help_bubble.txtHelp.text = "Gives you a code you can use to continue from where you left off."; } on (releaseOutside, rollOut) { _parent.help_bubble._y = 500; }Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 82on (press) { _root.playSound("click.wav"); with (_parent) { goto = "load"; play(); } } on (rollOver) { _parent.help_bubble._y = this._y; _parent.help_bubble._x = this._x + this._width; _parent.help_bubble.txtHelp.text = "Use your save code to load your deck and progress in the tournament."; } on (releaseOutside, rollOut) { _parent.help_bubble._y = 500; }Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 82on (press) { _root.playSound("click.wav"); with (_parent) { goto = "new"; play(); } } on (rollOver) { _parent.help_bubble._y = this._y; _parent.help_bubble._x = this._x + this._width; _parent.help_bubble.txtHelp.text = "Restart the game from the beginning. Everything is deleted."; } on (releaseOutside, rollOut) { _parent.help_bubble._y = 500; }Symbol 571 MovieClip Frame 105gotoAndPlay(goto);Symbol 571 MovieClip Frame 127stop();Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 127on (press) { _root.playSound("click.wav"); _root.resetGame(); with (_parent) { goto = "play"; play(); } }Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 127on (press) { _root.playSound("click.wav"); with (_parent) { goto = "play"; play(); } }Symbol 571 MovieClip Frame 150gotoAndPlay(goto);Symbol 571 MovieClip Frame 172stop();Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 172on (press) { _root.playSound("click.wav"); codetext = _parent.mcCode.txtCode.text; cheatnum = 0; i = 0; while (i < _root.cheats.length) { if (codetext == _root.cheats[i]) { cheatnum = i + 1; } i++; } if (cheatnum) { switch (cheatnum) { case 1 : _root.sidedeck.push(new Card(31, 9, 12, 9, 12, [1, 0, 1, 0, 1, 0, 1, 0]), new Card(32, 9, 12, 9, 12, [0, 1, 0, 1, 0, 1, 0, 1])); break; case 2 : _root.sidedeck.push(new Card(1, 15, 15, 15, 15, [1, 1, 1, 1, 1, 1, 1, 1]), new Card(2, 15, 15, 15, 15, [1, 1, 1, 1, 1, 1, 1, 1]), new Card(3, 15, 15, 15, 15, [1, 1, 1, 1, 1, 1, 1, 1]), new Card(4, 15, 15, 15, 15, [1, 1, 1, 1, 1, 1, 1, 1]), new Card(5, 15, 15, 15, 15, [1, 1, 1, 1, 1, 1, 1, 1])); break; case 3 : _root.curlevel = 27; } _parent.goto = "play"; _parent.play(); } else if (_root.loadCode(codetext)) { _parent.mcCode.txtError.text = ""; _root.sidedeck = new Array(); _parent.goto = "play"; _parent.play(); } else { _parent.mcCode.txtError.text = "This code is invalid! Please try again."; } } on (rollOver) { _parent.help_bubble._y = this._y + 5; _parent.help_bubble.txtHelp.text = "Load your code. A message will show up if the code is wrong."; } on (releaseOutside, rollOut) { _parent.help_bubble._y = 500; }Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 172on (press) { _root.playSound("click.wav"); with (_parent) { goto = "play"; mcCode.txtError.text = ""; play(); } } on (rollOver) { _parent.help_bubble._y = this._y + 5; _parent.help_bubble.txtHelp.text = "Go back to the previous menu."; } on (releaseOutside, rollOut) { _parent.help_bubble._y = 500; }Symbol 571 MovieClip Frame 195gotoAndPlay(goto);Symbol 571 MovieClip Frame 217stop();Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 217on (press) { _root.playSound("click.wav"); with (_parent) { goto = "play"; mcCode.txtError.text = ""; play(); } } on (rollOver) { _parent.help_bubble._y = this._y + 5; _parent.help_bubble.txtHelp.text = "Go back to the previous menu."; } on (releaseOutside, rollOut) { _parent.help_bubble._y = 500; }Symbol 571 MovieClip Frame 240gotoAndPlay(goto);Symbol 571 MovieClip Frame 262stop();Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 262on (press) { _root.playSound("click.wav"); with (_parent) { goto = "play"; mcCode.txtError.text = ""; play(); } } on (rollOver) { _parent.help_bubble._y = this._y + 5; _parent.help_bubble.txtHelp.text = "Go back to the previous menu."; } on (releaseOutside, rollOut) { _parent.help_bubble._y = 500; }Symbol 571 MovieClip Frame 285gotoAndPlay(goto);Symbol 571 MovieClip Frame 307stop();Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 307on (press) { _root.playSound("click.wav"); with (_parent) { goto = "play"; mcCode.txtError.text = ""; play(); } } on (rollOver) { _parent.help_bubble._y = this._y + 5; _parent.help_bubble.txtHelp.text = "Go back to the previous menu."; } on (releaseOutside, rollOut) { _parent.help_bubble._y = 500; }Symbol 571 MovieClip Frame 330gotoAndPlay(goto);Symbol 571 MovieClip Frame 352stop();Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 352on (press) { _root.playSound("click.wav"); with (_parent) { goto = "play"; mcCode.txtError.text = ""; play(); } } on (rollOver) { _parent.help_bubble._x = 128; _parent.help_bubble._y = this._y + 5; _parent.help_bubble.txtHelp.text = "Go back to the previous menu."; } on (releaseOutside, rollOut) { _parent.help_bubble._y = 500; }Symbol 571 MovieClip Frame 375gotoAndPlay(goto);Symbol 571 MovieClip Frame 397stop();Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 397on (press) { with (_parent) { if (cancheck) { _root.playSound("click.wav"); goto = "play"; play(); } } } on (rollOver) { if (_parent.cancheck) { _parent.help_bubble._x = this._x + this._width; _parent.help_bubble._y = this._y + 5; _parent.help_bubble.txtHelp.text = "Go back to the previous menu."; } } on (releaseOutside, rollOut) { if (_parent.cancheck) { _parent.help_bubble._y = 500; } }Symbol 571 MovieClip Frame 420gotoAndPlay(goto);Symbol 571 MovieClip Frame 442stop();Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 442on (press) { with (_parent) { if (cancheck) { _root.playSound("click.wav"); goto = "play"; play(); } } } on (rollOver) { if (_parent.cancheck) { _parent.help_bubble._x = this._x + this._width; _parent.help_bubble._y = this._y + 5; _parent.help_bubble.txtHelp.text = "Go back to the previous menu."; } } on (releaseOutside, rollOut) { if (_parent.cancheck) { _parent.help_bubble._y = 500; } }Symbol 571 MovieClip Frame 465gotoAndPlay(goto);Symbol 571 MovieClip Frame 487stop();Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 487on (press) { with (_parent) { if (cancheck) { goto = "toursel"; play(); } } } on (rollOver) { if (_parent.cancheck) { _parent.help_bubble._x = this._x + this._width; _parent.help_bubble._y = this._y + 5; _parent.help_bubble.txtHelp.text = "Go back to the previous menu."; } } on (releaseOutside, rollOut) { if (_parent.cancheck) { _parent.help_bubble._y = 500; } }Symbol 571 MovieClip Frame 510gotoAndPlay(goto);Symbol 571 MovieClip Frame 511_root.fadeMusic(25);Symbol 571 MovieClip Frame 545stop(); if (_root.tournum) { npcindex = ((_root.tournum - 1) * 9) + _root.matchnum; npcnum = _root.tourcards[npcindex][6]; } else { npcnum = 0; } _root.playMusic(("npc" + npcnum) + ".wav", 50); tm_game.gamebg.gotoAndStop(npcnum + 1); _root.initMatch();Symbol 571 MovieClip Frame 580if (_root.tournum) { actlevel = ((_root.tournum - 1) * 9) + _root.matchnum; if ((_root.curlevel < (actlevel + 1)) && (_root.matchres == 1)) { _root.curlevel = actlevel + 1; endtour = _root.tourcards[actlevel][9]; } else { endtour = 0; } if (_root.tourcards[actlevel][6]) { gotoAndPlay ("endnpc"); } else { _root.playMusic("menu.wav", 100); gotoAndPlay(gotonext); } } else { _root.playMusic("menu.wav", 100); gotoAndPlay(gotonext); }Symbol 571 MovieClip Frame 602stop();Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 602on (press) { _root.playSound("click.wav"); _parent.play(); }Symbol 571 MovieClip Frame 625if (endtour) { gotoAndPlay ("endtour"); } else { _root.playMusic("menu.wav", 100); gotoAndPlay(gotonext); }Symbol 571 MovieClip Frame 627stop(); if (endtour == 3) { gotonext = "credits"; } else { gotonext = "toursel"; } _root.playSound("wintour.wav", 100);Symbol 571 MovieClip Frame 629_root.playMusic("menu.wav", 100); gotoAndPlay(gotonext);
Library Items
Symbol 1 Graphic | Used by:Timeline | |
Symbol 2 Graphic | Used by:4 | |
Symbol 3 Graphic | Used by:4 | |
Symbol 4 MovieClip | Uses:2 3 | Used by:34 |
Symbol 5 Graphic | Used by:34 | |
Symbol 6 Graphic | Used by:34 | |
Symbol 7 Graphic | Used by:34 | |
Symbol 8 MovieClip | Used by:34 | |
Symbol 9 Graphic | Used by:34 | |
Symbol 10 Graphic | Used by:18 | |
Symbol 11 Graphic | Used by:18 | |
Symbol 12 Graphic | Used by:18 | |
Symbol 13 Graphic | Used by:18 | |
Symbol 14 Graphic | Used by:18 | |
Symbol 15 Graphic | Used by:18 | |
Symbol 16 Graphic | Used by:18 | |
Symbol 17 Graphic | Used by:18 | |
Symbol 18 MovieClip | Uses:10 11 12 13 14 15 16 17 | Used by:34 |
Symbol 19 ShapeTweening | Used by:34 | |
Symbol 20 ShapeTweening | Used by:34 | |
Symbol 21 Graphic | Used by:34 | |
Symbol 22 Graphic | Used by:34 | |
Symbol 23 Graphic | Used by:34 | |
Symbol 24 Graphic | Used by:32 33 | |
Symbol 25 Graphic | Used by:32 33 34 | |
Symbol 26 Graphic | Used by:32 33 | |
Symbol 27 Graphic | Used by:32 33 34 | |
Symbol 28 Graphic | Used by:32 33 34 | |
Symbol 29 Graphic | Used by:31 32 33 | |
Symbol 30 Graphic | Used by:31 | |
Symbol 31 MovieClip | Uses:29 30 | Used by:32 33 34 |
Symbol 32 Button | Uses:24 25 26 27 28 31 29 | Used by:34 |
Symbol 33 Button | Uses:24 25 26 27 28 31 29 | Used by:34 |
Symbol 34 MovieClip | Uses:4 5 6 7 8 9 18 19 20 21 22 23 32 33 28 25 31 27 | Used by:48 |
Symbol 35 Graphic | Used by:48 | |
Symbol 36 Graphic | Used by:40 | |
Symbol 37 Graphic | Used by:40 | |
Symbol 38 Graphic | Used by:40 | |
Symbol 39 Graphic | Used by:40 | |
Symbol 40 Button | Uses:36 37 38 39 | Used by:48 |
Symbol 41 Graphic | Used by:48 | |
Symbol 42 Graphic | Used by:48 | |
Symbol 43 Graphic | Used by:47 147 168 330 571 | |
Symbol 44 Graphic | Used by:46 | |
Symbol 45 Graphic | Used by:46 | |
Symbol 46 Button | Uses:44 45 | Used by:47 |
Symbol 47 MovieClip | Uses:43 46 | Used by:48 |
Symbol 48 MovieClip | Uses:34 35 40 41 42 47 | Used by:Timeline |
Symbol 572 MovieClip [__Packages.Card] | ||
Symbol 573 MovieClip [__Packages.NewgroundsAPI] | ||
Symbol 49 Graphic | Used by:59 62 147 208 213 214 240 245 276 282 341 | |
Symbol 50 Graphic | Used by:51 | |
Symbol 51 MovieClip | Uses:50 | Used by:147 |
Symbol 52 Graphic | Used by:53 | |
Symbol 53 MovieClip | Uses:52 | Used by:147 521 |
Symbol 54 Graphic | Used by:147 | |
Symbol 55 Graphic | Used by:59 | |
Symbol 56 Font | Used by:57 58 | |
Symbol 57 Text | Uses:56 | Used by:59 |
Symbol 58 Text | Uses:56 | Used by:59 |
Symbol 59 MovieClip | Uses:55 57 49 58 | Used by:147 |
Symbol 60 ShapeTweening | Used by:62 | |
Symbol 61 ShapeTweening | Used by:62 | |
Symbol 62 MovieClip | Uses:60 61 49 | Used by:147 330 |
Symbol 63 Bitmap | Used by:64 | |
Symbol 64 Graphic | Uses:63 | Used by:127 |
Symbol 65 Bitmap | Used by:66 | |
Symbol 66 Graphic | Uses:65 | Used by:127 |
Symbol 67 Bitmap | Used by:68 | |
Symbol 68 Graphic | Uses:67 | Used by:127 |
Symbol 69 Bitmap | Used by:70 | |
Symbol 70 Graphic | Uses:69 | Used by:127 |
Symbol 71 Bitmap | Used by:72 | |
Symbol 72 Graphic | Uses:71 | Used by:127 |
Symbol 73 Bitmap | Used by:74 | |
Symbol 74 Graphic | Uses:73 | Used by:127 |
Symbol 75 Bitmap | Used by:76 | |
Symbol 76 Graphic | Uses:75 | Used by:127 |
Symbol 77 Bitmap | Used by:78 | |
Symbol 78 Graphic | Uses:77 | Used by:127 |
Symbol 79 Bitmap | Used by:80 | |
Symbol 80 Graphic | Uses:79 | Used by:127 |
Symbol 81 Bitmap | Used by:82 | |
Symbol 82 Graphic | Uses:81 | Used by:127 |
Symbol 83 Bitmap | Used by:84 | |
Symbol 84 Graphic | Uses:83 | Used by:127 |
Symbol 85 Bitmap | Used by:86 | |
Symbol 86 Graphic | Uses:85 | Used by:127 |
Symbol 87 Bitmap | Used by:88 | |
Symbol 88 Graphic | Uses:87 | Used by:127 |
Symbol 89 Bitmap | Used by:90 | |
Symbol 90 Graphic | Uses:89 | Used by:127 |
Symbol 91 Bitmap | Used by:92 | |
Symbol 92 Graphic | Uses:91 | Used by:127 |
Symbol 93 Bitmap | Used by:94 | |
Symbol 94 Graphic | Uses:93 | Used by:127 |
Symbol 95 Bitmap | Used by:96 | |
Symbol 96 Graphic | Uses:95 | Used by:127 |
Symbol 97 Bitmap | Used by:98 | |
Symbol 98 Graphic | Uses:97 | Used by:127 |
Symbol 99 Bitmap | Used by:100 | |
Symbol 100 Graphic | Uses:99 | Used by:127 |
Symbol 101 Bitmap | Used by:102 | |
Symbol 102 Graphic | Uses:101 | Used by:127 |
Symbol 103 Bitmap | Used by:104 | |
Symbol 104 Graphic | Uses:103 | Used by:127 |
Symbol 105 Bitmap | Used by:106 | |
Symbol 106 Graphic | Uses:105 | Used by:127 |
Symbol 107 Bitmap | Used by:108 | |
Symbol 108 Graphic | Uses:107 | Used by:127 |
Symbol 109 Bitmap | Used by:110 | |
Symbol 110 Graphic | Uses:109 | Used by:127 |
Symbol 111 Bitmap | Used by:112 | |
Symbol 112 Graphic | Uses:111 | Used by:127 |
Symbol 113 Bitmap | Used by:114 | |
Symbol 114 Graphic | Uses:113 | Used by:127 |
Symbol 115 Bitmap | Used by:116 | |
Symbol 116 Graphic | Uses:115 | Used by:127 |
Symbol 117 Bitmap | Used by:118 | |
Symbol 118 Graphic | Uses:117 | Used by:127 |
Symbol 119 Bitmap | Used by:120 | |
Symbol 120 Graphic | Uses:119 | Used by:127 |
Symbol 121 Bitmap | Used by:122 | |
Symbol 122 Graphic | Uses:121 | Used by:127 |
Symbol 123 Bitmap | Used by:124 | |
Symbol 124 Graphic | Uses:123 | Used by:127 |
Symbol 125 Bitmap | Used by:126 | |
Symbol 126 Graphic | Uses:125 | Used by:127 |
Symbol 127 MovieClip | Uses:64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 | Used by:147 |
Symbol 128 Graphic | Used by:147 | |
Symbol 129 Graphic | Used by:135 | |
Symbol 130 Graphic | Used by:135 | |
Symbol 131 Graphic | Used by:135 | |
Symbol 132 Graphic | Used by:135 | |
Symbol 133 Graphic | Used by:135 | |
Symbol 134 Graphic | Used by:135 | |
Symbol 135 MovieClip | Uses:129 130 131 132 133 134 | Used by:147 |
Symbol 136 Font | Used by:137 138 250 251 252 253 261 281 414 415 | |
Symbol 137 EditableText | Uses:136 260 | Used by:147 |
Symbol 138 EditableText | Uses:136 260 | Used by:147 |
Symbol 139 Graphic | Used by:142 | |
Symbol 140 Graphic | Used by:142 | |
Symbol 141 Graphic | Used by:142 | |
Symbol 142 MovieClip | Uses:139 140 141 | Used by:147 |
Symbol 143 ShapeTweening | Used by:146 | |
Symbol 144 ShapeTweening | Used by:146 | |
Symbol 145 Graphic | Used by:146 | |
Symbol 146 MovieClip | Uses:143 144 145 | Used by:147 228 |
Symbol 147 MovieClip [card] | Uses:49 51 53 54 59 62 43 127 128 135 137 138 142 146 | Used by:330 442 |
Symbol 148 Graphic | Used by:151 194 237 | |
Symbol 149 Graphic | Used by:150 | |
Symbol 150 MovieClip | Uses:149 | Used by:151 |
Symbol 151 MovieClip [nerve_anim] | Uses:148 150 | Used by:330 |
Symbol 152 Graphic | Used by:156 | |
Symbol 153 Font | Used by:154 155 192 223 | |
Symbol 154 EditableText | Uses:153 247 263 401 | Used by:156 |
Symbol 155 EditableText | Uses:153 247 263 401 | Used by:156 |
Symbol 156 MovieClip [counter] | Uses:152 154 155 | Used by:330 |
Symbol 157 Graphic | Used by:165 | |
Symbol 158 Graphic | Used by:161 164 | |
Symbol 159 Graphic | Used by:160 | |
Symbol 160 MovieClip | Uses:159 | Used by:161 |
Symbol 161 MovieClip | Uses:158 160 | Used by:165 |
Symbol 162 Graphic | Used by:163 | |
Symbol 163 MovieClip | Uses:162 | Used by:164 |
Symbol 164 MovieClip | Uses:158 163 | Used by:165 |
Symbol 165 MovieClip [turn_title] | Uses:157 161 164 | Used by:330 |
Symbol 166 Graphic | Used by:185 | |
Symbol 167 Graphic | Used by:184 | |
Symbol 168 MovieClip | Uses:43 | Used by:184 283 342 496 503 522 570 571 |
Symbol 169 Graphic | Used by:170 | |
Symbol 170 MovieClip | Uses:169 | Used by:184 |
Symbol 171 Graphic | Used by:179 | |
Symbol 172 Graphic | Used by:179 | |
Symbol 173 Graphic | Used by:179 | |
Symbol 174 Graphic | Used by:179 | |
Symbol 175 Graphic | Used by:179 | |
Symbol 176 Graphic | Used by:179 | |
Symbol 177 Graphic | Used by:179 | |
Symbol 178 Graphic | Used by:179 | |
Symbol 179 MovieClip | Uses:171 172 173 174 175 176 177 178 | Used by:184 |
Symbol 180 Sound [ting.wav] | Used by:184 330 571 | |
Symbol 181 Sound [coin1.wav] | Used by:184 330 | |
Symbol 182 Graphic | Used by:183 | |
Symbol 183 MovieClip | Uses:182 | Used by:184 |
Symbol 184 MovieClip | Uses:167 168 170 179 180 181 183 | Used by:185 |
Symbol 185 MovieClip [coin_anim] | Uses:166 184 | Used by:330 |
Symbol 186 Graphic | Used by:191 | |
Symbol 187 Graphic | Used by:188 | |
Symbol 188 MovieClip | Uses:187 | Used by:191 |
Symbol 189 ShapeTweening | Used by:191 | |
Symbol 190 Graphic | Used by:191 | |
Symbol 191 MovieClip [explosion] | Uses:186 188 189 190 | Used by:330 |
Symbol 192 EditableText | Uses:153 | Used by:194 |
Symbol 193 Graphic | Used by:194 | |
Symbol 194 MovieClip [label_box] | Uses:148 192 193 | Used by:330 |
Symbol 195 Graphic | Used by:204 | |
Symbol 196 Graphic | Used by:204 | |
Symbol 197 Graphic | Used by:204 | |
Symbol 198 Graphic | Used by:204 | |
Symbol 199 Graphic | Used by:204 | |
Symbol 200 Graphic | Used by:204 | |
Symbol 201 Graphic | Used by:204 | |
Symbol 202 Graphic | Used by:204 | |
Symbol 203 Graphic | Used by:204 | |
Symbol 204 MovieClip [arrow] | Uses:195 196 197 198 199 200 201 202 203 | Used by:330 |
Symbol 205 ShapeTweening | Used by:208 | |
Symbol 206 Graphic | Used by:208 213 245 297 480 | |
Symbol 207 ShapeTweening | Used by:208 | |
Symbol 208 MovieClip [switcher] | Uses:205 206 207 49 | Used by:330 |
Symbol 209 ShapeTweening | Used by:214 | |
Symbol 210 ShapeTweening | Used by:214 | |
Symbol 211 Graphic | Used by:212 | |
Symbol 212 MovieClip | Uses:211 | Used by:213 |
Symbol 213 MovieClip | Uses:206 49 212 | Used by:214 |
Symbol 214 MovieClip [comboer] | Uses:209 210 213 49 | Used by:330 |
Symbol 215 Graphic | Used by:221 | |
Symbol 216 Font | Used by:217 219 | |
Symbol 217 EditableText | Uses:216 | Used by:218 |
Symbol 218 MovieClip | Uses:217 | Used by:221 |
Symbol 219 Text | Uses:216 | Used by:220 |
Symbol 220 MovieClip | Uses:219 | Used by:221 |
Symbol 221 MovieClip [combo_text] | Uses:215 218 220 | Used by:330 |
Symbol 222 Graphic | Used by:225 | |
Symbol 223 EditableText | Uses:153 247 263 401 | Used by:224 |
Symbol 224 MovieClip | Uses:223 | Used by:225 |
Symbol 225 MovieClip [attack_points] | Uses:222 224 | Used by:330 |
Symbol 226 Graphic | Used by:227 | |
Symbol 227 MovieClip | Uses:226 | Used by:283 330 |
Symbol 228 MovieClip [selector_button] | Uses:146 | Used by:330 |
Symbol 229 Graphic | Used by:236 | |
Symbol 230 Graphic | Used by:236 | |
Symbol 231 Graphic | Used by:236 | |
Symbol 232 Graphic | Used by:236 | |
Symbol 233 Graphic | Used by:236 | |
Symbol 234 Graphic | Used by:236 | |
Symbol 235 Graphic | Used by:236 | |
Symbol 236 MovieClip | Uses:229 230 231 232 233 234 235 | Used by:237 |
Symbol 237 MovieClip [get_ready_anim] | Uses:148 236 | Used by:330 |
Symbol 238 Font | Used by:239 289 290 302 310 333 337 358 380 434 435 436 439 440 506 510 546 555 563 568 | |
Symbol 239 Text | Uses:238 | Used by:240 |
Symbol 240 MovieClip [click_here_button] | Uses:49 239 | Used by:276 283 330 |
Symbol 241 ShapeTweening | Used by:245 | |
Symbol 242 Graphic | Used by:243 | |
Symbol 243 MovieClip | Uses:242 | Used by:245 |
Symbol 244 ShapeTweening | Used by:245 | |
Symbol 245 MovieClip [levelup] | Uses:241 243 206 244 49 | Used by:330 |
Symbol 246 Graphic | Used by:254 | |
Symbol 247 Font | Used by:154 155 223 248 249 | |
Symbol 248 Text | Uses:247 | Used by:254 |
Symbol 249 Text | Uses:247 | Used by:254 |
Symbol 250 EditableText | Uses:136 260 | Used by:254 |
Symbol 251 EditableText | Uses:136 260 | Used by:254 |
Symbol 252 EditableText | Uses:136 260 | Used by:254 |
Symbol 253 EditableText | Uses:136 260 | Used by:254 |
Symbol 254 MovieClip [experience_box] | Uses:246 248 249 250 251 252 253 | Used by:330 |
Symbol 255 Graphic | Used by:256 | |
Symbol 256 MovieClip | Uses:255 | Used by:259 |
Symbol 257 Graphic | Used by:258 | |
Symbol 258 MovieClip | Uses:257 | Used by:259 |
Symbol 259 MovieClip | Uses:256 258 | Used by:283 |
Symbol 260 Font | Used by:137 138 250 251 252 253 261 | |
Symbol 261 EditableText | Uses:136 260 | Used by:276 |
Symbol 262 Graphic | Used by:276 | |
Symbol 263 Font | Used by:154 155 223 264 271 272 274 275 | |
Symbol 264 Text | Uses:263 | Used by:276 |
Symbol 265 Graphic | Used by:269 | |
Symbol 266 Graphic | Used by:269 | |
Symbol 267 Graphic | Used by:269 | |
Symbol 268 Graphic | Used by:269 | |
Symbol 269 MovieClip | Uses:265 266 267 268 | Used by:276 |
Symbol 270 Graphic | Used by:276 | |
Symbol 271 Text | Uses:263 | Used by:276 |
Symbol 272 Text | Uses:263 | Used by:276 |
Symbol 273 Graphic | Used by:276 | |
Symbol 274 Text | Uses:263 | Used by:276 |
Symbol 275 Text | Uses:263 | Used by:276 |
Symbol 276 MovieClip | Uses:49 261 240 262 264 269 270 271 272 273 274 275 | Used by:283 |
Symbol 277 Graphic | Used by:278 | |
Symbol 278 MovieClip | Uses:277 | Used by:283 |
Symbol 279 Graphic | Used by:280 | |
Symbol 280 MovieClip | Uses:279 | Used by:283 |
Symbol 281 Text | Uses:136 | Used by:282 |
Symbol 282 MovieClip | Uses:49 281 | Used by:283 |
Symbol 283 MovieClip [endgame_clip] | Uses:168 259 227 240 276 278 280 282 | Used by:330 |
Symbol 284 Graphic | Used by:304 | |
Symbol 285 Graphic | Used by:286 | |
Symbol 286 MovieClip | Uses:285 | Used by:304 312 452 473 513 571 |
Symbol 287 Graphic | Used by:296 442 | |
Symbol 288 Font | Used by:289 290 295 302 310 361 365 380 386 387 395 411 412 417 418 421 422 424 427 430 435 436 437 438 439 440 445 454 474 506 510 546 | |
Symbol 289 EditableText | Uses:238 288 344 377 379 | Used by:296 |
Symbol 290 EditableText | Uses:238 288 344 377 379 | Used by:296 |
Symbol 291 Font | Used by:292 293 294 376 381 384 385 393 394 423 429 431 433 443 444 453 477 482 484 504 505 507 508 548 554 556 562 567 | |
Symbol 292 Text | Uses:291 | Used by:296 |
Symbol 293 Text | Uses:291 | Used by:296 |
Symbol 294 Text | Uses:291 | Used by:296 |
Symbol 295 Text | Uses:288 | Used by:296 |
Symbol 296 MovieClip | Uses:287 289 290 292 293 294 295 | Used by:304 |
Symbol 297 MovieClip [blank_rectangle] | Uses:206 | Used by:304 309 330 426 442 452 473 513 570 571 |
Symbol 298 Graphic | Used by:300 | |
Symbol 299 Graphic | Used by:300 | |
Symbol 300 MovieClip | Uses:298 299 | Used by:304 442 |
Symbol 301 Graphic | Used by:303 | |
Symbol 302 EditableText | Uses:238 288 344 377 379 | Used by:303 |
Symbol 303 MovieClip | Uses:301 302 | Used by:304 571 |
Symbol 304 MovieClip [side_deck] | Uses:284 286 296 297 300 303 | Used by:330 |
Symbol 305 Graphic | Used by:309 312 | |
Symbol 306 Font | Used by:307 308 498 500 502 504 505 548 | |
Symbol 307 Text | Uses:306 | Used by:309 |
Symbol 308 Text | Uses:306 | Used by:309 |
Symbol 309 MovieClip | Uses:305 307 297 308 | Used by:312 |
Symbol 310 EditableText | Uses:238 288 344 377 379 | Used by:311 |
Symbol 311 MovieClip | Uses:310 | Used by:312 |
Symbol 312 MovieClip [msg_window] | Uses:305 286 309 311 | Used by:330 |
Symbol 313 Sound [menu.wav] | Used by:330 | |
Symbol 314 Sound [boom.wav] | Used by:330 | |
Symbol 315 Sound [npc0.wav] | Used by:330 | |
Symbol 316 Sound [capture.wav] | Used by:330 | |
Symbol 317 Sound [npc1.wav] | Used by:330 | |
Symbol 318 Sound [card.wav] | Used by:330 | |
Symbol 319 Sound [npc2.wav] | Used by:330 | |
Symbol 320 Sound [npc3.wav] | Used by:330 | |
Symbol 321 Sound [npc4.wav] | Used by:330 | |
Symbol 322 Sound [npc5.wav] | Used by:330 | |
Symbol 323 Sound [levelup.wav] | Used by:330 | |
Symbol 324 Sound [wintour.wav] | Used by:330 | |
Symbol 325 Sound [lose.wav] | Used by:330 | |
Symbol 326 Sound [win.wav] | Used by:330 | |
Symbol 327 Sound [getready.wav] | Used by:330 | |
Symbol 328 Sound [pock.wav] | Used by:330 | |
Symbol 329 Sound [click.wav] | Used by:330 | |
Symbol 330 MovieClip | Uses:43 147 151 156 165 185 191 194 204 208 214 221 62 225 227 228 237 240 245 254 283 304 312 297 313 314 315 316 317 318 319 181 320 321 322 323 324 325 326 327 328 180 329 | Used by:Timeline |
Symbol 331 Graphic | Used by:332 400 | |
Symbol 332 MovieClip | Uses:331 | Used by:341 |
Symbol 333 Text | Uses:238 | Used by:334 |
Symbol 334 MovieClip | Uses:333 | Used by:341 |
Symbol 335 Graphic | Used by:336 | |
Symbol 336 MovieClip | Uses:335 | Used by:341 |
Symbol 337 Text | Uses:238 | Used by:340 |
Symbol 338 Font | Used by:339 504 505 548 | |
Symbol 339 Text | Uses:338 | Used by:340 |
Symbol 340 MovieClip | Uses:337 339 | Used by:341 |
Symbol 341 MovieClip | Uses:49 332 334 336 340 SS1 | Used by:342 |
Symbol 342 MovieClip | Uses:168 341 | Used by:Timeline |
Symbol 343 Graphic | Used by:571 | |
Symbol 344 Font | Used by:289 290 302 310 345 380 425 435 436 439 440 447 450 471 506 510 546 | |
Symbol 345 Text | Uses:344 | Used by:571 |
Symbol 346 Graphic | Used by:571 | |
Symbol 347 Graphic | Used by:348 | |
Symbol 348 MovieClip | Uses:347 | Used by:571 |
Symbol 349 Graphic | Used by:350 | |
Symbol 350 MovieClip | Uses:349 | Used by:571 |
Symbol 351 Graphic | Used by:352 | |
Symbol 352 MovieClip | Uses:351 | Used by:571 |
Symbol 353 Graphic | Used by:354 | |
Symbol 354 MovieClip | Uses:353 | Used by:571 |
Symbol 355 Font | Used by:356 362 363 368 370 371 504 505 548 549 | |
Symbol 356 Text | Uses:355 | Used by:360 |
Symbol 357 Graphic | Used by:359 | |
Symbol 358 Text | Uses:238 | Used by:359 |
Symbol 359 MovieClip | Uses:357 358 | Used by:360 |
Symbol 360 MovieClip | Uses:356 359 | Used by:571 |
Symbol 361 Text | Uses:288 | Used by:364 |
Symbol 362 Text | Uses:355 | Used by:364 |
Symbol 363 Text | Uses:355 | Used by:364 |
Symbol 364 MovieClip | Uses:361 362 363 | Used by:571 |
Symbol 365 Text | Uses:288 | Used by:372 |
Symbol 366 Font | Used by:367 369 374 428 | |
Symbol 367 EditableText | Uses:366 | Used by:372 |
Symbol 368 Text | Uses:355 | Used by:372 |
Symbol 369 EditableText | Uses:366 | Used by:372 |
Symbol 370 Text | Uses:355 | Used by:372 |
Symbol 371 Text | Uses:355 | Used by:372 |
Symbol 372 MovieClip | Uses:365 367 368 369 370 371 | Used by:571 |
Symbol 373 Graphic | Used by:375 | |
Symbol 374 EditableText | Uses:366 | Used by:375 |
Symbol 375 MovieClip | Uses:373 374 | Used by:571 |
Symbol 376 Text | Uses:291 | Used by:382 |
Symbol 377 Font | Used by:289 290 302 310 378 380 435 436 439 440 506 510 546 | |
Symbol 378 Text | Uses:377 | Used by:382 |
Symbol 379 Font | Used by:289 290 302 310 380 435 436 439 440 506 510 546 | |
Symbol 380 EditableText | Uses:238 288 344 377 379 | Used by:382 |
Symbol 381 Text | Uses:291 | Used by:382 442 |
Symbol 382 MovieClip | Uses:376 378 380 381 | Used by:571 |
Symbol 383 Graphic | Used by:426 | |
Symbol 384 Text | Uses:291 | Used by:426 |
Symbol 385 Text | Uses:291 | Used by:426 |
Symbol 386 Text | Uses:288 | Used by:426 |
Symbol 387 Text | Uses:288 | Used by:426 |
Symbol 388 Graphic | Used by:389 | |
Symbol 389 MovieClip | Uses:388 | Used by:392 |
Symbol 390 Graphic | Used by:391 | |
Symbol 391 MovieClip | Uses:390 | Used by:392 |
Symbol 392 MovieClip | Uses:389 391 | Used by:426 |
Symbol 393 Text | Uses:291 | Used by:426 |
Symbol 394 Text | Uses:291 | Used by:426 |
Symbol 395 Text | Uses:288 | Used by:426 |
Symbol 396 Graphic | Used by:397 | |
Symbol 397 MovieClip | Uses:396 | Used by:410 |
Symbol 398 Graphic | Used by:399 | |
Symbol 399 MovieClip | Uses:398 | Used by:410 |
Symbol 400 MovieClip | Uses:331 | Used by:410 |
Symbol 401 Font | Used by:154 155 223 402 404 406 | |
Symbol 402 Text | Uses:401 | Used by:403 |
Symbol 403 MovieClip | Uses:402 | Used by:410 |
Symbol 404 Text | Uses:401 | Used by:405 |
Symbol 405 MovieClip | Uses:404 | Used by:410 |
Symbol 406 Text | Uses:401 | Used by:407 |
Symbol 407 MovieClip | Uses:406 | Used by:410 |
Symbol 408 Graphic | Used by:409 | |
Symbol 409 MovieClip | Uses:408 | Used by:410 |
Symbol 410 MovieClip | Uses:397 399 400 403 405 407 409 | Used by:426 |
Symbol 411 Text | Uses:288 | Used by:426 |
Symbol 412 Text | Uses:288 | Used by:426 |
Symbol 413 Graphic | Used by:416 | |
Symbol 414 Text | Uses:136 | Used by:416 |
Symbol 415 Text | Uses:136 | Used by:416 |
Symbol 416 MovieClip | Uses:413 414 415 | Used by:426 |
Symbol 417 Text | Uses:288 | Used by:426 |
Symbol 418 Text | Uses:288 | Used by:426 |
Symbol 419 Graphic | Used by:420 | |
Symbol 420 MovieClip | Uses:419 | Used by:426 |
Symbol 421 Text | Uses:288 | Used by:426 |
Symbol 422 Text | Uses:288 | Used by:426 |
Symbol 423 Text | Uses:291 | Used by:426 |
Symbol 424 Text | Uses:288 | Used by:426 |
Symbol 425 Text | Uses:344 | Used by:426 |
Symbol 426 MovieClip | Uses:383 384 385 386 387 392 393 297 394 395 410 411 412 416 417 418 420 421 422 423 424 425 | Used by:571 |
Symbol 427 Text | Uses:288 | Used by:432 |
Symbol 428 EditableText | Uses:366 | Used by:432 |
Symbol 429 Text | Uses:291 | Used by:432 |
Symbol 430 Text | Uses:288 | Used by:432 |
Symbol 431 Text | Uses:291 | Used by:432 |
Symbol 432 MovieClip | Uses:427 428 429 430 431 | Used by:571 |
Symbol 433 Text | Uses:291 | Used by:442 |
Symbol 434 Text | Uses:238 | Used by:442 |
Symbol 435 EditableText | Uses:238 288 344 377 379 | Used by:442 |
Symbol 436 EditableText | Uses:238 288 344 377 379 | Used by:442 |
Symbol 437 Text | Uses:288 | Used by:442 |
Symbol 438 Text | Uses:288 | Used by:442 |
Symbol 439 EditableText | Uses:238 288 344 377 379 | Used by:442 |
Symbol 440 EditableText | Uses:238 288 344 377 379 | Used by:442 |
Symbol 441 Graphic | Used by:442 | |
Symbol 442 MovieClip | Uses:297 287 433 381 434 435 436 437 438 147 439 440 441 300 | Used by:571 |
Symbol 443 Text | Uses:291 | Used by:452 |
Symbol 444 Text | Uses:291 | Used by:452 473 513 |
Symbol 445 Text | Uses:288 | Used by:452 |
Symbol 446 Graphic | Used by:448 | |
Symbol 447 Text | Uses:344 | Used by:448 |
Symbol 448 MovieClip | Uses:446 447 | Used by:452 |
Symbol 449 Graphic | Used by:451 | |
Symbol 450 Text | Uses:344 | Used by:451 |
Symbol 451 MovieClip | Uses:449 450 | Used by:452 |
Symbol 452 MovieClip | Uses:443 444 445 286 448 297 451 | Used by:571 |
Symbol 453 Text | Uses:291 | Used by:473 |
Symbol 454 Text | Uses:288 | Used by:473 |
Symbol 455 Graphic | Used by:456 | |
Symbol 456 MovieClip | Uses:455 | Used by:473 |
Symbol 457 Graphic | Used by:458 | |
Symbol 458 MovieClip | Uses:457 | Used by:473 |
Symbol 459 Graphic | Used by:461 | |
Symbol 460 Graphic | Used by:461 | |
Symbol 461 MovieClip | Uses:459 460 | Used by:472 |
Symbol 462 Graphic | Used by:464 | |
Symbol 463 Graphic | Used by:464 | |
Symbol 464 MovieClip | Uses:462 463 | Used by:472 |
Symbol 465 Graphic | Used by:467 | |
Symbol 466 Graphic | Used by:467 | |
Symbol 467 MovieClip | Uses:465 466 | Used by:472 |
Symbol 468 Graphic | Used by:469 | |
Symbol 469 MovieClip | Uses:468 | Used by:472 |
Symbol 470 Graphic | Used by:472 | |
Symbol 471 Text | Uses:344 | Used by:472 |
Symbol 472 MovieClip | Uses:461 464 467 469 470 471 | Used by:473 |
Symbol 473 MovieClip | Uses:453 444 454 456 458 286 472 297 | Used by:571 |
Symbol 474 Text | Uses:288 | Used by:513 |
Symbol 475 Graphic | Used by:513 | |
Symbol 476 Graphic | Used by:496 | |
Symbol 477 Text | Uses:291 | Used by:496 |
Symbol 478 ShapeTweening | Used by:480 | |
Symbol 479 ShapeTweening | Used by:480 | |
Symbol 480 MovieClip | Uses:478 479 206 | Used by:496 503 |
Symbol 481 Graphic | Used by:496 | |
Symbol 482 Text | Uses:291 | Used by:496 |
Symbol 483 Graphic | Used by:496 | |
Symbol 484 Text | Uses:291 | Used by:496 |
Symbol 485 Graphic | Used by:496 544 | |
Symbol 486 Graphic | Used by:487 | |
Symbol 487 MovieClip | Uses:486 | Used by:496 |
Symbol 488 Graphic | Used by:489 | |
Symbol 489 MovieClip | Uses:488 | Used by:496 |
Symbol 490 Graphic | Used by:491 | |
Symbol 491 MovieClip | Uses:490 | Used by:496 |
Symbol 492 Graphic | Used by:493 | |
Symbol 493 MovieClip | Uses:492 | Used by:496 |
Symbol 494 Graphic | Used by:495 | |
Symbol 495 MovieClip | Uses:494 | Used by:496 |
Symbol 496 MovieClip | Uses:476 477 480 168 481 482 483 484 485 487 489 491 493 495 | Used by:512 513 |
Symbol 497 Graphic | Used by:503 | |
Symbol 498 Text | Uses:306 | Used by:503 |
Symbol 499 Graphic | Used by:503 | |
Symbol 500 Text | Uses:306 | Used by:503 |
Symbol 501 Graphic | Used by:503 | |
Symbol 502 Text | Uses:306 | Used by:503 |
Symbol 503 MovieClip | Uses:497 498 480 168 499 500 501 502 | Used by:513 |
Symbol 504 EditableText | Uses:291 306 338 355 | Used by:513 |
Symbol 505 EditableText | Uses:291 306 338 355 | Used by:512 |
Symbol 506 EditableText | Uses:238 288 344 377 379 | Used by:512 |
Symbol 507 Text | Uses:291 | Used by:512 |
Symbol 508 Text | Uses:291 | Used by:512 |
Symbol 509 Graphic | Used by:511 | |
Symbol 510 EditableText | Uses:238 288 344 377 379 | Used by:511 |
Symbol 511 MovieClip | Uses:509 510 | Used by:512 |
Symbol 512 MovieClip | Uses:505 506 507 508 511 496 | Used by:513 |
Symbol 513 MovieClip | Uses:444 474 475 496 503 504 512 286 297 | Used by:571 |
Symbol 514 Graphic | Used by:521 | |
Symbol 515 Graphic | Used by:521 | |
Symbol 516 Graphic | Used by:521 | |
Symbol 517 Graphic | Used by:521 | |
Symbol 518 Graphic | Used by:521 | |
Symbol 519 Graphic | Used by:521 | |
Symbol 520 Graphic | Used by:521 | |
Symbol 521 MovieClip | Uses:514 515 53 516 517 518 519 520 | Used by:522 |
Symbol 522 MovieClip | Uses:521 168 | Used by:571 |
Symbol 523 Graphic | Used by:550 | |
Symbol 524 Graphic | Used by:525 | |
Symbol 525 MovieClip | Uses:524 | Used by:544 |
Symbol 526 Graphic | Used by:527 | |
Symbol 527 MovieClip | Uses:526 | Used by:544 |
Symbol 528 Graphic | Used by:529 | |
Symbol 529 MovieClip | Uses:528 | Used by:544 |
Symbol 530 Graphic | Used by:531 | |
Symbol 531 MovieClip | Uses:530 | Used by:544 |
Symbol 532 Graphic | Used by:533 | |
Symbol 533 MovieClip | Uses:532 | Used by:544 |
Symbol 534 Graphic | Used by:535 | |
Symbol 535 MovieClip | Uses:534 | Used by:544 |
Symbol 536 Graphic | Used by:537 | |
Symbol 537 MovieClip | Uses:536 | Used by:544 |
Symbol 538 Graphic | Used by:539 | |
Symbol 539 MovieClip | Uses:538 | Used by:544 |
Symbol 540 Graphic | Used by:541 | |
Symbol 541 MovieClip | Uses:540 | Used by:544 |
Symbol 542 Graphic | Used by:543 | |
Symbol 543 MovieClip | Uses:542 | Used by:544 |
Symbol 544 MovieClip | Uses:485 525 527 529 531 533 535 537 539 541 543 | Used by:550 |
Symbol 545 Graphic | Used by:547 | |
Symbol 546 EditableText | Uses:238 288 344 377 379 | Used by:547 |
Symbol 547 MovieClip | Uses:545 546 | Used by:550 |
Symbol 548 EditableText | Uses:291 306 338 355 | Used by:550 |
Symbol 549 Text | Uses:355 | Used by:550 |
Symbol 550 MovieClip | Uses:523 544 547 548 549 | Used by:571 |
Symbol 551 Graphic | Used by:570 | |
Symbol 552 Graphic | Used by:553 | |
Symbol 553 MovieClip | Uses:552 | Used by:570 |
Symbol 554 Text | Uses:291 | Used by:557 |
Symbol 555 Text | Uses:238 | Used by:557 |
Symbol 556 Text | Uses:291 | Used by:557 564 569 |
Symbol 557 MovieClip | Uses:554 555 556 | Used by:570 |
Symbol 558 Graphic | Used by:559 | |
Symbol 559 MovieClip | Uses:558 | Used by:570 |
Symbol 560 Graphic | Used by:561 | |
Symbol 561 MovieClip | Uses:560 | Used by:570 |
Symbol 562 Text | Uses:291 | Used by:564 |
Symbol 563 Text | Uses:238 | Used by:564 |
Symbol 564 MovieClip | Uses:562 563 556 | Used by:570 |
Symbol 565 Graphic | Used by:566 | |
Symbol 566 MovieClip | Uses:565 | Used by:570 |
Symbol 567 Text | Uses:291 | Used by:569 |
Symbol 568 Text | Uses:238 | Used by:569 |
Symbol 569 MovieClip | Uses:567 568 556 | Used by:570 |
Symbol 570 MovieClip | Uses:551 168 553 557 297 559 561 564 566 569 | Used by:571 |
Symbol 571 MovieClip | Uses:43 343 345 346 348 350 168 352 180 354 360 303 297 286 364 372 375 382 426 432 442 452 473 513 522 550 570 | Used by:Timeline |
Streaming Sound 1 | Used by:Symbol 341 MovieClip |
Instance Names
"ng_ad" | Symbol 48 MovieClip Frame 1 | Symbol 47 MovieClip |
"card_picture" | Symbol 147 MovieClip [card] Frame 6 | Symbol 127 MovieClip |
"attack_element" | Symbol 147 MovieClip [card] Frame 6 | Symbol 135 MovieClip |
"defense_element" | Symbol 147 MovieClip [card] Frame 6 | Symbol 135 MovieClip |
"txtAttack" | Symbol 147 MovieClip [card] Frame 6 | Symbol 137 EditableText |
"txtDefense" | Symbol 147 MovieClip [card] Frame 6 | Symbol 138 EditableText |
"indicator" | Symbol 147 MovieClip [card] Frame 6 | Symbol 142 MovieClip |
"selector" | Symbol 147 MovieClip [card] Frame 6 | Symbol 146 MovieClip |
"txtBlueScore" | Symbol 156 MovieClip [counter] Frame 1 | Symbol 154 EditableText |
"txtRedScore" | Symbol 156 MovieClip [counter] Frame 1 | Symbol 155 EditableText |
"spinning_coin" | Symbol 184 MovieClip Frame 5 | Symbol 179 MovieClip |
"coin_bounce" | Symbol 185 MovieClip [coin_anim] Frame 1 | Symbol 184 MovieClip |
"txtName" | Symbol 194 MovieClip [label_box] Frame 1 | Symbol 192 EditableText |
"txtCombo" | Symbol 218 MovieClip Frame 1 | Symbol 217 EditableText |
"combo_num" | Symbol 221 MovieClip [combo_text] Frame 1 | Symbol 218 MovieClip |
"txtPoints" | Symbol 224 MovieClip Frame 1 | Symbol 223 EditableText |
"points" | Symbol 225 MovieClip [attack_points] Frame 1 | Symbol 224 MovieClip |
"get_ready" | Symbol 237 MovieClip [get_ready_anim] Frame 1 | Symbol 236 MovieClip |
"txtAttackExp" | Symbol 254 MovieClip [experience_box] Frame 1 | Symbol 250 EditableText |
"txtDefenseExp" | Symbol 254 MovieClip [experience_box] Frame 1 | Symbol 251 EditableText |
"txtAttackTotal" | Symbol 254 MovieClip [experience_box] Frame 1 | Symbol 252 EditableText |
"txtDefenseTotal" | Symbol 254 MovieClip [experience_box] Frame 1 | Symbol 253 EditableText |
"txtMessage" | Symbol 276 MovieClip Frame 1 | Symbol 261 EditableText |
"mark0" | Symbol 276 MovieClip Frame 1 | Symbol 269 MovieClip |
"mark1" | Symbol 276 MovieClip Frame 2 | Symbol 269 MovieClip |
"mark2" | Symbol 276 MovieClip Frame 2 | Symbol 269 MovieClip |
"mark4" | Symbol 276 MovieClip Frame 3 | Symbol 269 MovieClip |
"mark3" | Symbol 276 MovieClip Frame 3 | Symbol 269 MovieClip |
"black_screen" | Symbol 283 MovieClip [endgame_clip] Frame 1 | Symbol 168 MovieClip |
"gameres_title" | Symbol 283 MovieClip [endgame_clip] Frame 1 | Symbol 259 MovieClip |
"experience_title" | Symbol 283 MovieClip [endgame_clip] Frame 90 | Symbol 227 MovieClip |
"match_result" | Symbol 283 MovieClip [endgame_clip] Frame 185 | Symbol 276 MovieClip |
"card_obt" | Symbol 283 MovieClip [endgame_clip] Frame 285 | Symbol 282 MovieClip |
"txtSide" | Symbol 296 MovieClip Frame 1 | Symbol 289 EditableText |
"txtPage" | Symbol 296 MovieClip Frame 1 | Symbol 290 EditableText |
"txtHelp" | Symbol 303 MovieClip Frame 1 | Symbol 302 EditableText |
"side_text" | Symbol 304 MovieClip [side_deck] Frame 1 | Symbol 296 MovieClip |
"btn0" | Symbol 304 MovieClip [side_deck] Frame 1 | Symbol 297 MovieClip [blank_rectangle] |
"btn1" | Symbol 304 MovieClip [side_deck] Frame 1 | Symbol 297 MovieClip [blank_rectangle] |
"btn2" | Symbol 304 MovieClip [side_deck] Frame 1 | Symbol 297 MovieClip [blank_rectangle] |
"btn3" | Symbol 304 MovieClip [side_deck] Frame 1 | Symbol 297 MovieClip [blank_rectangle] |
"btn4" | Symbol 304 MovieClip [side_deck] Frame 1 | Symbol 297 MovieClip [blank_rectangle] |
"btn5" | Symbol 304 MovieClip [side_deck] Frame 1 | Symbol 297 MovieClip [blank_rectangle] |
"btn6" | Symbol 304 MovieClip [side_deck] Frame 1 | Symbol 297 MovieClip [blank_rectangle] |
"btn7" | Symbol 304 MovieClip [side_deck] Frame 1 | Symbol 297 MovieClip [blank_rectangle] |
"btn8" | Symbol 304 MovieClip [side_deck] Frame 1 | Symbol 297 MovieClip [blank_rectangle] |
"btn9" | Symbol 304 MovieClip [side_deck] Frame 1 | Symbol 297 MovieClip [blank_rectangle] |
"btn_pick" | Symbol 304 MovieClip [side_deck] Frame 1 | Symbol 297 MovieClip [blank_rectangle] |
"btn_close" | Symbol 304 MovieClip [side_deck] Frame 1 | Symbol 297 MovieClip [blank_rectangle] |
"btn_prev" | Symbol 304 MovieClip [side_deck] Frame 1 | Symbol 297 MovieClip [blank_rectangle] |
"btn_next" | Symbol 304 MovieClip [side_deck] Frame 1 | Symbol 297 MovieClip [blank_rectangle] |
"sel1" | Symbol 304 MovieClip [side_deck] Frame 1 | Symbol 300 MovieClip |
"sel2" | Symbol 304 MovieClip [side_deck] Frame 1 | Symbol 300 MovieClip |
"btn_clear" | Symbol 304 MovieClip [side_deck] Frame 1 | Symbol 297 MovieClip [blank_rectangle] |
"help_bubble" | Symbol 304 MovieClip [side_deck] Frame 10 | Symbol 303 MovieClip |
"txtMessage" | Symbol 311 MovieClip Frame 1 | Symbol 310 EditableText |
"msg_buttons" | Symbol 312 MovieClip [msg_window] Frame 1 | Symbol 309 MovieClip |
"msg_text" | Symbol 312 MovieClip [msg_window] Frame 1 | Symbol 311 MovieClip |
"txtCode" | Symbol 372 MovieClip Frame 1 | Symbol 367 EditableText |
"txtError" | Symbol 372 MovieClip Frame 1 | Symbol 369 EditableText |
"txtHelp" | Symbol 375 MovieClip Frame 1 | Symbol 374 EditableText |
"txtCode" | Symbol 432 MovieClip Frame 1 | Symbol 428 EditableText |
"null_sel" | Symbol 442 MovieClip Frame 1 | Symbol 297 MovieClip [blank_rectangle] |
"txtPlay" | Symbol 442 MovieClip Frame 1 | Symbol 435 EditableText |
"txtSpare" | Symbol 442 MovieClip Frame 1 | Symbol 436 EditableText |
"excard" | Symbol 442 MovieClip Frame 1 | Symbol 147 MovieClip [card] |
"txtExpText" | Symbol 442 MovieClip Frame 1 | Symbol 439 EditableText |
"txtExp" | Symbol 442 MovieClip Frame 1 | Symbol 440 EditableText |
"sel1" | Symbol 442 MovieClip Frame 1 | Symbol 300 MovieClip |
"sel2" | Symbol 442 MovieClip Frame 1 | Symbol 300 MovieClip |
"amateur" | Symbol 472 MovieClip Frame 1 | Symbol 461 MovieClip |
"pro" | Symbol 472 MovieClip Frame 1 | Symbol 464 MovieClip |
"master" | Symbol 472 MovieClip Frame 1 | Symbol 467 MovieClip |
"star1" | Symbol 472 MovieClip Frame 1 | Symbol 469 MovieClip |
"star2" | Symbol 472 MovieClip Frame 1 | Symbol 469 MovieClip |
"star3" | Symbol 472 MovieClip Frame 1 | Symbol 469 MovieClip |
"selector" | Symbol 496 MovieClip Frame 1 | Symbol 480 MovieClip |
"shader" | Symbol 496 MovieClip Frame 1 | Symbol 168 MovieClip |
"selector" | Symbol 503 MovieClip Frame 1 | Symbol 480 MovieClip |
"shader" | Symbol 503 MovieClip Frame 1 | Symbol 168 MovieClip |
"txtBubble" | Symbol 511 MovieClip Frame 1 | Symbol 510 EditableText |
"txtTitle" | Symbol 512 MovieClip Frame 1 | Symbol 505 EditableText |
"txtDesc" | Symbol 512 MovieClip Frame 1 | Symbol 506 EditableText |
"npcbubble" | Symbol 512 MovieClip Frame 1 | Symbol 511 MovieClip |
"npcicon" | Symbol 512 MovieClip Frame 1 | Symbol 496 MovieClip |
"match2" | Symbol 513 MovieClip Frame 1 | Symbol 496 MovieClip |
"match0" | Symbol 513 MovieClip Frame 1 | Symbol 503 MovieClip |
"match1" | Symbol 513 MovieClip Frame 1 | Symbol 503 MovieClip |
"match5" | Symbol 513 MovieClip Frame 1 | Symbol 496 MovieClip |
"match3" | Symbol 513 MovieClip Frame 1 | Symbol 503 MovieClip |
"match4" | Symbol 513 MovieClip Frame 1 | Symbol 503 MovieClip |
"match8" | Symbol 513 MovieClip Frame 1 | Symbol 496 MovieClip |
"match6" | Symbol 513 MovieClip Frame 1 | Symbol 503 MovieClip |
"match7" | Symbol 513 MovieClip Frame 1 | Symbol 503 MovieClip |
"txtCup" | Symbol 513 MovieClip Frame 1 | Symbol 504 EditableText |
"window" | Symbol 513 MovieClip Frame 1 | Symbol 512 MovieClip |
"gamebg" | Symbol 522 MovieClip Frame 1 | Symbol 521 MovieClip |
"txtBubble" | Symbol 547 MovieClip Frame 1 | Symbol 546 EditableText |
"npc" | Symbol 550 MovieClip Frame 1 | Symbol 544 MovieClip |
"bubble" | Symbol 550 MovieClip Frame 1 | Symbol 547 MovieClip |
"txtTitle" | Symbol 550 MovieClip Frame 1 | Symbol 548 EditableText |
"help_bubble" | Symbol 571 MovieClip Frame 82 | Symbol 303 MovieClip |
"mcCode" | Symbol 571 MovieClip Frame 120 | Symbol 364 MovieClip |
"mcCode" | Symbol 571 MovieClip Frame 165 | Symbol 372 MovieClip |
"help_bubble" | Symbol 571 MovieClip Frame 172 | Symbol 375 MovieClip |
"help_bubble" | Symbol 571 MovieClip Frame 217 | Symbol 303 MovieClip |
"help_bubble" | Symbol 571 MovieClip Frame 262 | Symbol 303 MovieClip |
"mcCode" | Symbol 571 MovieClip Frame 300 | Symbol 432 MovieClip |
"help_bubble" | Symbol 571 MovieClip Frame 307 | Symbol 375 MovieClip |
"manager" | Symbol 571 MovieClip Frame 345 | Symbol 442 MovieClip |
"help_bubble" | Symbol 571 MovieClip Frame 352 | Symbol 303 MovieClip |
"help_bubble" | Symbol 571 MovieClip Frame 397 | Symbol 303 MovieClip |
"help_bubble" | Symbol 571 MovieClip Frame 442 | Symbol 303 MovieClip |
"help_bubble" | Symbol 571 MovieClip Frame 487 | Symbol 303 MovieClip |
"tm_game" | Symbol 571 MovieClip Frame 545 | Symbol 522 MovieClip |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access network only, Metadata not present, AS1/AS2. |
Protect (24) | Timeline Frame 1 | 0 bytes "" |
ExportAssets (56) | Timeline Frame 1 | Symbol 572 as "__Packages.Card" |
ExportAssets (56) | Timeline Frame 1 | Symbol 573 as "__Packages.NewgroundsAPI" |
ExportAssets (56) | Timeline Frame 3 | Symbol 147 as "card" |
ExportAssets (56) | Timeline Frame 3 | Symbol 151 as "nerve_anim" |
ExportAssets (56) | Timeline Frame 3 | Symbol 156 as "counter" |
ExportAssets (56) | Timeline Frame 3 | Symbol 165 as "turn_title" |
ExportAssets (56) | Timeline Frame 3 | Symbol 180 as "ting.wav" |
ExportAssets (56) | Timeline Frame 3 | Symbol 181 as "coin1.wav" |
ExportAssets (56) | Timeline Frame 3 | Symbol 185 as "coin_anim" |
ExportAssets (56) | Timeline Frame 3 | Symbol 191 as "explosion" |
ExportAssets (56) | Timeline Frame 3 | Symbol 194 as "label_box" |
ExportAssets (56) | Timeline Frame 3 | Symbol 204 as "arrow" |
ExportAssets (56) | Timeline Frame 3 | Symbol 208 as "switcher" |
ExportAssets (56) | Timeline Frame 3 | Symbol 214 as "comboer" |
ExportAssets (56) | Timeline Frame 3 | Symbol 221 as "combo_text" |
ExportAssets (56) | Timeline Frame 3 | Symbol 225 as "attack_points" |
ExportAssets (56) | Timeline Frame 3 | Symbol 228 as "selector_button" |
ExportAssets (56) | Timeline Frame 3 | Symbol 237 as "get_ready_anim" |
ExportAssets (56) | Timeline Frame 3 | Symbol 240 as "click_here_button" |
ExportAssets (56) | Timeline Frame 3 | Symbol 245 as "levelup" |
ExportAssets (56) | Timeline Frame 3 | Symbol 254 as "experience_box" |
ExportAssets (56) | Timeline Frame 3 | Symbol 283 as "endgame_clip" |
ExportAssets (56) | Timeline Frame 3 | Symbol 297 as "blank_rectangle" |
ExportAssets (56) | Timeline Frame 3 | Symbol 304 as "side_deck" |
ExportAssets (56) | Timeline Frame 3 | Symbol 312 as "msg_window" |
ExportAssets (56) | Timeline Frame 3 | Symbol 313 as "menu.wav" |
ExportAssets (56) | Timeline Frame 3 | Symbol 314 as "boom.wav" |
ExportAssets (56) | Timeline Frame 3 | Symbol 315 as "npc0.wav" |
ExportAssets (56) | Timeline Frame 3 | Symbol 316 as "capture.wav" |
ExportAssets (56) | Timeline Frame 3 | Symbol 317 as "npc1.wav" |
ExportAssets (56) | Timeline Frame 3 | Symbol 318 as "card.wav" |
ExportAssets (56) | Timeline Frame 3 | Symbol 319 as "npc2.wav" |
ExportAssets (56) | Timeline Frame 3 | Symbol 320 as "npc3.wav" |
ExportAssets (56) | Timeline Frame 3 | Symbol 321 as "npc4.wav" |
ExportAssets (56) | Timeline Frame 3 | Symbol 322 as "npc5.wav" |
ExportAssets (56) | Timeline Frame 3 | Symbol 323 as "levelup.wav" |
ExportAssets (56) | Timeline Frame 3 | Symbol 324 as "wintour.wav" |
ExportAssets (56) | Timeline Frame 3 | Symbol 325 as "lose.wav" |
ExportAssets (56) | Timeline Frame 3 | Symbol 326 as "win.wav" |
ExportAssets (56) | Timeline Frame 3 | Symbol 327 as "getready.wav" |
ExportAssets (56) | Timeline Frame 3 | Symbol 328 as "pock.wav" |
ExportAssets (56) | Timeline Frame 3 | Symbol 329 as "click.wav" |
Labels
"splash" | Frame 4 |
"game" | Frame 5 |
"loading" | Symbol 34 MovieClip Frame 1 |
"loaded" | Symbol 34 MovieClip Frame 101 |
"lastframe" | Symbol 34 MovieClip Frame 165 |
"end" | Symbol 34 MovieClip Frame 166 |
"neutral" | Symbol 135 MovieClip Frame 1 |
"fire" | Symbol 135 MovieClip Frame 2 |
"water" | Symbol 135 MovieClip Frame 3 |
"wind" | Symbol 135 MovieClip Frame 4 |
"earth" | Symbol 135 MovieClip Frame 5 |
"holy" | Symbol 135 MovieClip Frame 6 |
"none" | Symbol 147 MovieClip [card] Frame 1 |
"block" | Symbol 147 MovieClip [card] Frame 2 |
"back" | Symbol 147 MovieClip [card] Frame 3 |
"selector" | Symbol 147 MovieClip [card] Frame 4 |
"case_select" | Symbol 147 MovieClip [card] Frame 5 |
"card" | Symbol 147 MovieClip [card] Frame 6 |
"red" | Symbol 179 MovieClip Frame 1 |
"blue" | Symbol 179 MovieClip Frame 9 |
"off" | Symbol 194 MovieClip [label_box] Frame 1 |
"on" | Symbol 194 MovieClip [label_box] Frame 2 |
"winexp" | Symbol 283 MovieClip [endgame_clip] Frame 85 |
"gameend" | Symbol 283 MovieClip [endgame_clip] Frame 180 |
"wincard" | Symbol 283 MovieClip [endgame_clip] Frame 225 |
"clipend" | Symbol 283 MovieClip [endgame_clip] Frame 315 |
"difficulty" | Symbol 452 MovieClip Frame 6 |
"length" | Symbol 452 MovieClip Frame 36 |
"play" | Symbol 452 MovieClip Frame 66 |
"play" | Symbol 473 MovieClip Frame 35 |
"razor" | Symbol 521 MovieClip Frame 2 |
"kate" | Symbol 521 MovieClip Frame 3 |
"lucas" | Symbol 521 MovieClip Frame 4 |
"macseth" | Symbol 521 MovieClip Frame 5 |
"mamhud" | Symbol 521 MovieClip Frame 6 |
"amateur" | Symbol 570 MovieClip Frame 5 |
"pro" | Symbol 570 MovieClip Frame 90 |
"master" | Symbol 570 MovieClip Frame 195 |
"play" | Symbol 571 MovieClip Frame 61 |
"new" | Symbol 571 MovieClip Frame 106 |
"load" | Symbol 571 MovieClip Frame 151 |
"credits" | Symbol 571 MovieClip Frame 196 |
"tutorial" | Symbol 571 MovieClip Frame 241 |
"save" | Symbol 571 MovieClip Frame 286 |
"manage" | Symbol 571 MovieClip Frame 331 |
"quick" | Symbol 571 MovieClip Frame 376 |
"toursel" | Symbol 571 MovieClip Frame 421 |
"tournament" | Symbol 571 MovieClip Frame 466 |
"game" | Symbol 571 MovieClip Frame 511 |
"endnpc" | Symbol 571 MovieClip Frame 581 |
"endtour" | Symbol 571 MovieClip Frame 626 |
|