STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228075
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2560 · P5120

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/90583069?noj=FRM90583069-30DC" width="1" height="1"></div>

ethereal-masters.swf

This is the info page for
Flash #114902

(Click the ID number above for more basic data on this flash file.)


Text
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&apos;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 &quot;DieJay&quot; Jalbert</font></p><p align="left"><font face="Calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"> &nbsp;( <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 &quot;Rtil&quot; Miller</font></p><p align="left"><font face="Calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"> &nbsp;( <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"> &nbsp;Danubius</font></p><p align="left"><font face="Calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"> &nbsp;Dj-Svenzo</font></p><p align="left"><font face="Calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"> &nbsp;EternalXIII</font></p><p align="left"><font face="Calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"> &nbsp;Mattopia</font></p><p align="left"><font face="Calibri" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"> &nbsp;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"> &nbsp;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"> &nbsp;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"> &nbsp;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&apos;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&apos;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&apos;ll have to beat ME first, and that&apos;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 1
function 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 2
gotoAndPlay ("splash");
Symbol 18 MovieClip Frame 40
stop();
Symbol 32 Button
on (press) { tellTarget (_root) { nextFrame(); }; }
Symbol 33 Button
on (press) { gotoAndStop ("end"); _root.play(); }
Instance of Symbol 8 MovieClip in Symbol 34 MovieClip Frame 1
onClipEvent (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 101
play();
Symbol 34 MovieClip Frame 165
stop();
Symbol 40 Button
on (release) { NewgroundsAPI.loadNewgrounds(); }
Symbol 46 Button
on (release) { NewgroundsAPI.loadNewgrounds(); }
Symbol 48 MovieClip Frame 1
function 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 0
class 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 0
class 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 1
stop();
Symbol 147 MovieClip [card] Frame 1
stop();
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 55
stop();
Symbol 185 MovieClip [coin_anim] Frame 1
stop();
Symbol 194 MovieClip [label_box] Frame 1
stop();
Symbol 208 MovieClip [switcher] Frame 1
this.pos = 0;
Symbol 208 MovieClip [switcher] Frame 5
this.pos = 1;
Symbol 208 MovieClip [switcher] Frame 6
this.pos = 2;
Symbol 208 MovieClip [switcher] Frame 14
this.pos = 3;
Symbol 213 MovieClip Frame 1
stop(); 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 1
this.pos = 0;
Symbol 214 MovieClip [comboer] Frame 5
stop(); this.pos = 1;
Symbol 214 MovieClip [comboer] Frame 6
this.pos = 2;
Symbol 214 MovieClip [comboer] Frame 9
stop();
Symbol 245 MovieClip [levelup] Frame 1
this.pos = 0; _root.playSound("levelup.wav");
Symbol 245 MovieClip [levelup] Frame 5
this.pos = 1;
Symbol 245 MovieClip [levelup] Frame 6
this.pos = 2;
Symbol 245 MovieClip [levelup] Frame 14
this.pos = 3;
Instance of Symbol 240 MovieClip [click_here_button] in Symbol 276 MovieClip Frame 1
on (press) { _parent._parent.play(); }
Symbol 283 MovieClip [endgame_clip] Frame 1
this.pos = 0;
Symbol 283 MovieClip [endgame_clip] Frame 10
if (_root.winner == 1) { _root.playSound("win.wav"); } else { _root.playSound("lose.wav"); }
Symbol 283 MovieClip [endgame_clip] Frame 80
this.pos = 1;
Symbol 283 MovieClip [endgame_clip] Frame 89
this.pos = 2;
Symbol 283 MovieClip [endgame_clip] Frame 155
stop();
Instance of Symbol 240 MovieClip [click_here_button] in Symbol 283 MovieClip [endgame_clip] Frame 155
on (press) { _parent.play(); }
Symbol 283 MovieClip [endgame_clip] Frame 159
this.pos = 3;
Instance of Symbol 240 MovieClip [click_here_button] in Symbol 283 MovieClip [endgame_clip] Frame 160
on (press) { _parent.pos = 3; }
Symbol 283 MovieClip [endgame_clip] Frame 185
this.pos = 4;
Symbol 283 MovieClip [endgame_clip] Frame 200
stop();
Symbol 283 MovieClip [endgame_clip] Frame 220
this.pos = 5;
Symbol 283 MovieClip [endgame_clip] Frame 229
this.pos = 6;
Symbol 283 MovieClip [endgame_clip] Frame 285
this.pos = 7;
Symbol 283 MovieClip [endgame_clip] Frame 290
stop();
Symbol 283 MovieClip [endgame_clip] Frame 315
stop(); this.pos = 8;
Symbol 300 MovieClip Frame 1
stop();
Symbol 304 MovieClip [side_deck] Frame 15
this.cancheck = true; stop();
Symbol 309 MovieClip Frame 1
stop();
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 309 MovieClip Frame 1
on (press) { with (_parent._parent) { res = 1; play(); } }
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 309 MovieClip Frame 1
on (press) { with (_parent._parent) { play(); } }
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 309 MovieClip Frame 2
on (press) { with (_parent._parent) { play(); } }
Symbol 312 MovieClip [msg_window] Frame 15
stop();
Symbol 330 MovieClip Frame 1
stop();
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 1
if (!_parent.firsttime) { stop(); } _parent.firsttime = false;
Symbol 360 MovieClip Frame 20
stop();
Instance of Symbol 359 MovieClip in Symbol 360 MovieClip Frame 20
on (press) { _parent.play(); }
Symbol 360 MovieClip Frame 31
stop();
Symbol 372 MovieClip Frame 1
txtCode.text = "";
Symbol 426 MovieClip Frame 1
stop();
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 426 MovieClip Frame 1
on (press) { _root.playSound("click.wav"); with (_parent) { gotoAndStop(_currentframe + 1); } }
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 426 MovieClip Frame 2
on (press) { _root.playSound("click.wav"); with (_parent) { gotoAndStop(_currentframe - 1); } }
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 426 MovieClip Frame 2
on (press) { _root.playSound("click.wav"); with (_parent) { gotoAndStop(_currentframe + 1); } }
Symbol 432 MovieClip Frame 1
txtCode.text = _root.saveCode();
Symbol 442 MovieClip Frame 1
_root.deployManager(this);
Symbol 452 MovieClip Frame 1
goto = ""; _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 20
stop(); _parent.cancheck = true;
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 452 MovieClip Frame 20
on (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 20
on (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 20
on (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 35
gotoAndPlay(goto);
Symbol 452 MovieClip Frame 50
stop(); _parent.cancheck = true;
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 452 MovieClip Frame 50
on (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 50
on (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 50
on (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 50
on (press) { _root.playSound("click.wav"); _parent.goto = "difficulty"; _parent.play(); }
Symbol 452 MovieClip Frame 51
_parent.cancheck = false;
Symbol 452 MovieClip Frame 65
gotoAndPlay(goto);
Symbol 452 MovieClip Frame 66
stop(); with (_parent) { cancheck = true; goto = "game"; gotonext = "quick"; play(); }
Symbol 461 MovieClip Frame 1
stop();
Symbol 464 MovieClip Frame 1
stop();
Symbol 467 MovieClip Frame 1
stop();
Symbol 472 MovieClip Frame 1
if (_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 20
stop(); _parent.cancheck = true;
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 473 MovieClip Frame 20
on (press) { _root.playSound("click.wav"); _parent.play(); _root.tournum = 1; }
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 473 MovieClip Frame 20
on (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 20
on (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 35
stop(); with (_parent) { cancheck = true; goto = "tournament"; play(); }
Symbol 513 MovieClip Frame 1
cancheck = true; challenge = false; _root.canwinexp = true; _root.canwincard = true; _root.setTournament(_root.tournum, this); stop();
Symbol 513 MovieClip Frame 17
stop();
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 513 MovieClip Frame 17
on (press) { _root.playSound("click.wav"); _parent._parent.cancheck = true; _parent.play(); }
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 513 MovieClip Frame 17
on (press) { _root.playSound("click.wav"); _parent.challenge = true; _parent.play(); }
Symbol 513 MovieClip Frame 33
if (challenge) { stop(); _parent.cancheck = true; _parent.goto = "game"; _parent.gotonext = "tournament"; _parent.play(); }
Symbol 521 MovieClip Frame 1
stop();
Symbol 522 MovieClip Frame 20
stop(); _root.initGame(this);
Symbol 522 MovieClip Frame 40
for (mc in this) { this[mc].removeMovieClip(); } if (!_root.matchres) { gotoAndPlay (1); } else { _parent.play(); }
Symbol 550 MovieClip Frame 1
actlevel = ((_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 1
switch (_parent.endtour) { case 1 : gotoAndPlay ("amateur"); break; case 2 : gotoAndPlay ("pro"); break; case 3 : gotoAndPlay ("master"); }
Symbol 570 MovieClip Frame 60
stop();
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 570 MovieClip Frame 60
on (press) { _root.playSound("click.wav"); _parent.play(); }
Symbol 570 MovieClip Frame 86
_parent.play();
Symbol 570 MovieClip Frame 165
stop();
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 570 MovieClip Frame 165
on (press) { _root.playSound("click.wav"); _parent.play(); }
Symbol 570 MovieClip Frame 191
_parent.play();
Symbol 570 MovieClip Frame 280
stop();
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 570 MovieClip Frame 280
on (press) { _root.playSound("click.wav"); _parent.play(); }
Symbol 570 MovieClip Frame 306
_parent.play();
Symbol 571 MovieClip Frame 1
var goto; var gotonext; var cancheck = true; var endtour = 0; var firsttime = true; _root.playMusic("menu.wav", 100); _root.resetGame();
Symbol 571 MovieClip Frame 82
stop();
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 82
on (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 82
on (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 82
on (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 82
on (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 82
on (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 82
on (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 82
on (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 82
on (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 105
gotoAndPlay(goto);
Symbol 571 MovieClip Frame 127
stop();
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 127
on (press) { _root.playSound("click.wav"); _root.resetGame(); with (_parent) { goto = "play"; play(); } }
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 127
on (press) { _root.playSound("click.wav"); with (_parent) { goto = "play"; play(); } }
Symbol 571 MovieClip Frame 150
gotoAndPlay(goto);
Symbol 571 MovieClip Frame 172
stop();
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 172
on (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 172
on (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 195
gotoAndPlay(goto);
Symbol 571 MovieClip Frame 217
stop();
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 217
on (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 240
gotoAndPlay(goto);
Symbol 571 MovieClip Frame 262
stop();
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 262
on (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 285
gotoAndPlay(goto);
Symbol 571 MovieClip Frame 307
stop();
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 307
on (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 330
gotoAndPlay(goto);
Symbol 571 MovieClip Frame 352
stop();
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 352
on (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 375
gotoAndPlay(goto);
Symbol 571 MovieClip Frame 397
stop();
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 397
on (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 420
gotoAndPlay(goto);
Symbol 571 MovieClip Frame 442
stop();
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 442
on (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 465
gotoAndPlay(goto);
Symbol 571 MovieClip Frame 487
stop();
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 487
on (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 510
gotoAndPlay(goto);
Symbol 571 MovieClip Frame 511
_root.fadeMusic(25);
Symbol 571 MovieClip Frame 545
stop(); 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 580
if (_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 602
stop();
Instance of Symbol 297 MovieClip [blank_rectangle] in Symbol 571 MovieClip Frame 602
on (press) { _root.playSound("click.wav"); _parent.play(); }
Symbol 571 MovieClip Frame 625
if (endtour) { gotoAndPlay ("endtour"); } else { _root.playMusic("menu.wav", 100); gotoAndPlay(gotonext); }
Symbol 571 MovieClip Frame 627
stop(); 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 GraphicUsed by:Timeline
Symbol 2 GraphicUsed by:4
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:2 3Used by:34
Symbol 5 GraphicUsed by:34
Symbol 6 GraphicUsed by:34
Symbol 7 GraphicUsed by:34
Symbol 8 MovieClipUsed by:34
Symbol 9 GraphicUsed by:34
Symbol 10 GraphicUsed by:18
Symbol 11 GraphicUsed by:18
Symbol 12 GraphicUsed by:18
Symbol 13 GraphicUsed by:18
Symbol 14 GraphicUsed by:18
Symbol 15 GraphicUsed by:18
Symbol 16 GraphicUsed by:18
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:10 11 12 13 14 15 16 17Used by:34
Symbol 19 ShapeTweeningUsed by:34
Symbol 20 ShapeTweeningUsed by:34
Symbol 21 GraphicUsed by:34
Symbol 22 GraphicUsed by:34
Symbol 23 GraphicUsed by:34
Symbol 24 GraphicUsed by:32 33
Symbol 25 GraphicUsed by:32 33 34
Symbol 26 GraphicUsed by:32 33
Symbol 27 GraphicUsed by:32 33 34
Symbol 28 GraphicUsed by:32 33 34
Symbol 29 GraphicUsed by:31 32 33
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:29 30Used by:32 33 34
Symbol 32 ButtonUses:24 25 26 27 28 31 29Used by:34
Symbol 33 ButtonUses:24 25 26 27 28 31 29Used by:34
Symbol 34 MovieClipUses:4 5 6 7 8 9 18 19 20 21 22 23 32 33 28 25 31 27Used by:48
Symbol 35 GraphicUsed by:48
Symbol 36 GraphicUsed by:40
Symbol 37 GraphicUsed by:40
Symbol 38 GraphicUsed by:40
Symbol 39 GraphicUsed by:40
Symbol 40 ButtonUses:36 37 38 39Used by:48
Symbol 41 GraphicUsed by:48
Symbol 42 GraphicUsed by:48
Symbol 43 GraphicUsed by:47 147 168 330 571
Symbol 44 GraphicUsed by:46
Symbol 45 GraphicUsed by:46
Symbol 46 ButtonUses:44 45Used by:47
Symbol 47 MovieClipUses:43 46Used by:48
Symbol 48 MovieClipUses:34 35 40 41 42 47Used by:Timeline
Symbol 572 MovieClip [__Packages.Card]
Symbol 573 MovieClip [__Packages.NewgroundsAPI]
Symbol 49 GraphicUsed by:59 62 147 208 213 214 240 245 276 282 341
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClipUses:50Used by:147
Symbol 52 GraphicUsed by:53
Symbol 53 MovieClipUses:52Used by:147 521
Symbol 54 GraphicUsed by:147
Symbol 55 GraphicUsed by:59
Symbol 56 FontUsed by:57 58
Symbol 57 TextUses:56Used by:59
Symbol 58 TextUses:56Used by:59
Symbol 59 MovieClipUses:55 57 49 58Used by:147
Symbol 60 ShapeTweeningUsed by:62
Symbol 61 ShapeTweeningUsed by:62
Symbol 62 MovieClipUses:60 61 49Used by:147 330
Symbol 63 BitmapUsed by:64
Symbol 64 GraphicUses:63Used by:127
Symbol 65 BitmapUsed by:66
Symbol 66 GraphicUses:65Used by:127
Symbol 67 BitmapUsed by:68
Symbol 68 GraphicUses:67Used by:127
Symbol 69 BitmapUsed by:70
Symbol 70 GraphicUses:69Used by:127
Symbol 71 BitmapUsed by:72
Symbol 72 GraphicUses:71Used by:127
Symbol 73 BitmapUsed by:74
Symbol 74 GraphicUses:73Used by:127
Symbol 75 BitmapUsed by:76
Symbol 76 GraphicUses:75Used by:127
Symbol 77 BitmapUsed by:78
Symbol 78 GraphicUses:77Used by:127
Symbol 79 BitmapUsed by:80
Symbol 80 GraphicUses:79Used by:127
Symbol 81 BitmapUsed by:82
Symbol 82 GraphicUses:81Used by:127
Symbol 83 BitmapUsed by:84
Symbol 84 GraphicUses:83Used by:127
Symbol 85 BitmapUsed by:86
Symbol 86 GraphicUses:85Used by:127
Symbol 87 BitmapUsed by:88
Symbol 88 GraphicUses:87Used by:127
Symbol 89 BitmapUsed by:90
Symbol 90 GraphicUses:89Used by:127
Symbol 91 BitmapUsed by:92
Symbol 92 GraphicUses:91Used by:127
Symbol 93 BitmapUsed by:94
Symbol 94 GraphicUses:93Used by:127
Symbol 95 BitmapUsed by:96
Symbol 96 GraphicUses:95Used by:127
Symbol 97 BitmapUsed by:98
Symbol 98 GraphicUses:97Used by:127
Symbol 99 BitmapUsed by:100
Symbol 100 GraphicUses:99Used by:127
Symbol 101 BitmapUsed by:102
Symbol 102 GraphicUses:101Used by:127
Symbol 103 BitmapUsed by:104
Symbol 104 GraphicUses:103Used by:127
Symbol 105 BitmapUsed by:106
Symbol 106 GraphicUses:105Used by:127
Symbol 107 BitmapUsed by:108
Symbol 108 GraphicUses:107Used by:127
Symbol 109 BitmapUsed by:110
Symbol 110 GraphicUses:109Used by:127
Symbol 111 BitmapUsed by:112
Symbol 112 GraphicUses:111Used by:127
Symbol 113 BitmapUsed by:114
Symbol 114 GraphicUses:113Used by:127
Symbol 115 BitmapUsed by:116
Symbol 116 GraphicUses:115Used by:127
Symbol 117 BitmapUsed by:118
Symbol 118 GraphicUses:117Used by:127
Symbol 119 BitmapUsed by:120
Symbol 120 GraphicUses:119Used by:127
Symbol 121 BitmapUsed by:122
Symbol 122 GraphicUses:121Used by:127
Symbol 123 BitmapUsed by:124
Symbol 124 GraphicUses:123Used by:127
Symbol 125 BitmapUsed by:126
Symbol 126 GraphicUses:125Used by:127
Symbol 127 MovieClipUses: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 126Used by:147
Symbol 128 GraphicUsed by:147
Symbol 129 GraphicUsed by:135
Symbol 130 GraphicUsed by:135
Symbol 131 GraphicUsed by:135
Symbol 132 GraphicUsed by:135
Symbol 133 GraphicUsed by:135
Symbol 134 GraphicUsed by:135
Symbol 135 MovieClipUses:129 130 131 132 133 134Used by:147
Symbol 136 FontUsed by:137 138 250 251 252 253 261 281 414 415
Symbol 137 EditableTextUses:136 260Used by:147
Symbol 138 EditableTextUses:136 260Used by:147
Symbol 139 GraphicUsed by:142
Symbol 140 GraphicUsed by:142
Symbol 141 GraphicUsed by:142
Symbol 142 MovieClipUses:139 140 141Used by:147
Symbol 143 ShapeTweeningUsed by:146
Symbol 144 ShapeTweeningUsed by:146
Symbol 145 GraphicUsed by:146
Symbol 146 MovieClipUses:143 144 145Used by:147 228
Symbol 147 MovieClip [card]Uses:49 51 53 54 59 62 43 127 128 135 137 138 142 146Used by:330 442
Symbol 148 GraphicUsed by:151 194 237
Symbol 149 GraphicUsed by:150
Symbol 150 MovieClipUses:149Used by:151
Symbol 151 MovieClip [nerve_anim]Uses:148 150Used by:330
Symbol 152 GraphicUsed by:156
Symbol 153 FontUsed by:154 155 192 223
Symbol 154 EditableTextUses:153 247 263 401Used by:156
Symbol 155 EditableTextUses:153 247 263 401Used by:156
Symbol 156 MovieClip [counter]Uses:152 154 155Used by:330
Symbol 157 GraphicUsed by:165
Symbol 158 GraphicUsed by:161 164
Symbol 159 GraphicUsed by:160
Symbol 160 MovieClipUses:159Used by:161
Symbol 161 MovieClipUses:158 160Used by:165
Symbol 162 GraphicUsed by:163
Symbol 163 MovieClipUses:162Used by:164
Symbol 164 MovieClipUses:158 163Used by:165
Symbol 165 MovieClip [turn_title]Uses:157 161 164Used by:330
Symbol 166 GraphicUsed by:185
Symbol 167 GraphicUsed by:184
Symbol 168 MovieClipUses:43Used by:184 283 342 496 503 522 570 571
Symbol 169 GraphicUsed by:170
Symbol 170 MovieClipUses:169Used by:184
Symbol 171 GraphicUsed by:179
Symbol 172 GraphicUsed by:179
Symbol 173 GraphicUsed by:179
Symbol 174 GraphicUsed by:179
Symbol 175 GraphicUsed by:179
Symbol 176 GraphicUsed by:179
Symbol 177 GraphicUsed by:179
Symbol 178 GraphicUsed by:179
Symbol 179 MovieClipUses:171 172 173 174 175 176 177 178Used by:184
Symbol 180 Sound [ting.wav]Used by:184 330 571
Symbol 181 Sound [coin1.wav]Used by:184 330
Symbol 182 GraphicUsed by:183
Symbol 183 MovieClipUses:182Used by:184
Symbol 184 MovieClipUses:167 168 170 179 180 181 183Used by:185
Symbol 185 MovieClip [coin_anim]Uses:166 184Used by:330
Symbol 186 GraphicUsed by:191
Symbol 187 GraphicUsed by:188
Symbol 188 MovieClipUses:187Used by:191
Symbol 189 ShapeTweeningUsed by:191
Symbol 190 GraphicUsed by:191
Symbol 191 MovieClip [explosion]Uses:186 188 189 190Used by:330
Symbol 192 EditableTextUses:153Used by:194
Symbol 193 GraphicUsed by:194
Symbol 194 MovieClip [label_box]Uses:148 192 193Used by:330
Symbol 195 GraphicUsed by:204
Symbol 196 GraphicUsed by:204
Symbol 197 GraphicUsed by:204
Symbol 198 GraphicUsed by:204
Symbol 199 GraphicUsed by:204
Symbol 200 GraphicUsed by:204
Symbol 201 GraphicUsed by:204
Symbol 202 GraphicUsed by:204
Symbol 203 GraphicUsed by:204
Symbol 204 MovieClip [arrow]Uses:195 196 197 198 199 200 201 202 203Used by:330
Symbol 205 ShapeTweeningUsed by:208
Symbol 206 GraphicUsed by:208 213 245 297 480
Symbol 207 ShapeTweeningUsed by:208
Symbol 208 MovieClip [switcher]Uses:205 206 207 49Used by:330
Symbol 209 ShapeTweeningUsed by:214
Symbol 210 ShapeTweeningUsed by:214
Symbol 211 GraphicUsed by:212
Symbol 212 MovieClipUses:211Used by:213
Symbol 213 MovieClipUses:206 49 212Used by:214
Symbol 214 MovieClip [comboer]Uses:209 210 213 49Used by:330
Symbol 215 GraphicUsed by:221
Symbol 216 FontUsed by:217 219
Symbol 217 EditableTextUses:216Used by:218
Symbol 218 MovieClipUses:217Used by:221
Symbol 219 TextUses:216Used by:220
Symbol 220 MovieClipUses:219Used by:221
Symbol 221 MovieClip [combo_text]Uses:215 218 220Used by:330
Symbol 222 GraphicUsed by:225
Symbol 223 EditableTextUses:153 247 263 401Used by:224
Symbol 224 MovieClipUses:223Used by:225
Symbol 225 MovieClip [attack_points]Uses:222 224Used by:330
Symbol 226 GraphicUsed by:227
Symbol 227 MovieClipUses:226Used by:283 330
Symbol 228 MovieClip [selector_button]Uses:146Used by:330
Symbol 229 GraphicUsed by:236
Symbol 230 GraphicUsed by:236
Symbol 231 GraphicUsed by:236
Symbol 232 GraphicUsed by:236
Symbol 233 GraphicUsed by:236
Symbol 234 GraphicUsed by:236
Symbol 235 GraphicUsed by:236
Symbol 236 MovieClipUses:229 230 231 232 233 234 235Used by:237
Symbol 237 MovieClip [get_ready_anim]Uses:148 236Used by:330
Symbol 238 FontUsed by:239 289 290 302 310 333 337 358 380 434 435 436 439 440 506 510 546 555 563 568
Symbol 239 TextUses:238Used by:240
Symbol 240 MovieClip [click_here_button]Uses:49 239Used by:276 283 330
Symbol 241 ShapeTweeningUsed by:245
Symbol 242 GraphicUsed by:243
Symbol 243 MovieClipUses:242Used by:245
Symbol 244 ShapeTweeningUsed by:245
Symbol 245 MovieClip [levelup]Uses:241 243 206 244 49Used by:330
Symbol 246 GraphicUsed by:254
Symbol 247 FontUsed by:154 155 223 248 249
Symbol 248 TextUses:247Used by:254
Symbol 249 TextUses:247Used by:254
Symbol 250 EditableTextUses:136 260Used by:254
Symbol 251 EditableTextUses:136 260Used by:254
Symbol 252 EditableTextUses:136 260Used by:254
Symbol 253 EditableTextUses:136 260Used by:254
Symbol 254 MovieClip [experience_box]Uses:246 248 249 250 251 252 253Used by:330
Symbol 255 GraphicUsed by:256
Symbol 256 MovieClipUses:255Used by:259
Symbol 257 GraphicUsed by:258
Symbol 258 MovieClipUses:257Used by:259
Symbol 259 MovieClipUses:256 258Used by:283
Symbol 260 FontUsed by:137 138 250 251 252 253 261
Symbol 261 EditableTextUses:136 260Used by:276
Symbol 262 GraphicUsed by:276
Symbol 263 FontUsed by:154 155 223 264 271 272 274 275
Symbol 264 TextUses:263Used by:276
Symbol 265 GraphicUsed by:269
Symbol 266 GraphicUsed by:269
Symbol 267 GraphicUsed by:269
Symbol 268 GraphicUsed by:269
Symbol 269 MovieClipUses:265 266 267 268Used by:276
Symbol 270 GraphicUsed by:276
Symbol 271 TextUses:263Used by:276
Symbol 272 TextUses:263Used by:276
Symbol 273 GraphicUsed by:276
Symbol 274 TextUses:263Used by:276
Symbol 275 TextUses:263Used by:276
Symbol 276 MovieClipUses:49 261 240 262 264 269 270 271 272 273 274 275Used by:283
Symbol 277 GraphicUsed by:278
Symbol 278 MovieClipUses:277Used by:283
Symbol 279 GraphicUsed by:280
Symbol 280 MovieClipUses:279Used by:283
Symbol 281 TextUses:136Used by:282
Symbol 282 MovieClipUses:49 281Used by:283
Symbol 283 MovieClip [endgame_clip]Uses:168 259 227 240 276 278 280 282Used by:330
Symbol 284 GraphicUsed by:304
Symbol 285 GraphicUsed by:286
Symbol 286 MovieClipUses:285Used by:304 312 452 473 513 571
Symbol 287 GraphicUsed by:296 442
Symbol 288 FontUsed 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 EditableTextUses:238 288 344 377 379Used by:296
Symbol 290 EditableTextUses:238 288 344 377 379Used by:296
Symbol 291 FontUsed 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 TextUses:291Used by:296
Symbol 293 TextUses:291Used by:296
Symbol 294 TextUses:291Used by:296
Symbol 295 TextUses:288Used by:296
Symbol 296 MovieClipUses:287 289 290 292 293 294 295Used by:304
Symbol 297 MovieClip [blank_rectangle]Uses:206Used by:304 309 330 426 442 452 473 513 570 571
Symbol 298 GraphicUsed by:300
Symbol 299 GraphicUsed by:300
Symbol 300 MovieClipUses:298 299Used by:304 442
Symbol 301 GraphicUsed by:303
Symbol 302 EditableTextUses:238 288 344 377 379Used by:303
Symbol 303 MovieClipUses:301 302Used by:304 571
Symbol 304 MovieClip [side_deck]Uses:284 286 296 297 300 303Used by:330
Symbol 305 GraphicUsed by:309 312
Symbol 306 FontUsed by:307 308 498 500 502 504 505 548
Symbol 307 TextUses:306Used by:309
Symbol 308 TextUses:306Used by:309
Symbol 309 MovieClipUses:305 307 297 308Used by:312
Symbol 310 EditableTextUses:238 288 344 377 379Used by:311
Symbol 311 MovieClipUses:310Used by:312
Symbol 312 MovieClip [msg_window]Uses:305 286 309 311Used 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 MovieClipUses: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 329Used by:Timeline
Symbol 331 GraphicUsed by:332 400
Symbol 332 MovieClipUses:331Used by:341
Symbol 333 TextUses:238Used by:334
Symbol 334 MovieClipUses:333Used by:341
Symbol 335 GraphicUsed by:336
Symbol 336 MovieClipUses:335Used by:341
Symbol 337 TextUses:238Used by:340
Symbol 338 FontUsed by:339 504 505 548
Symbol 339 TextUses:338Used by:340
Symbol 340 MovieClipUses:337 339Used by:341
Symbol 341 MovieClipUses:49 332 334 336 340 SS1Used by:342
Symbol 342 MovieClipUses:168 341Used by:Timeline
Symbol 343 GraphicUsed by:571
Symbol 344 FontUsed by:289 290 302 310 345 380 425 435 436 439 440 447 450 471 506 510 546
Symbol 345 TextUses:344Used by:571
Symbol 346 GraphicUsed by:571
Symbol 347 GraphicUsed by:348
Symbol 348 MovieClipUses:347Used by:571
Symbol 349 GraphicUsed by:350
Symbol 350 MovieClipUses:349Used by:571
Symbol 351 GraphicUsed by:352
Symbol 352 MovieClipUses:351Used by:571
Symbol 353 GraphicUsed by:354
Symbol 354 MovieClipUses:353Used by:571
Symbol 355 FontUsed by:356 362 363 368 370 371 504 505 548 549
Symbol 356 TextUses:355Used by:360
Symbol 357 GraphicUsed by:359
Symbol 358 TextUses:238Used by:359
Symbol 359 MovieClipUses:357 358Used by:360
Symbol 360 MovieClipUses:356 359Used by:571
Symbol 361 TextUses:288Used by:364
Symbol 362 TextUses:355Used by:364
Symbol 363 TextUses:355Used by:364
Symbol 364 MovieClipUses:361 362 363Used by:571
Symbol 365 TextUses:288Used by:372
Symbol 366 FontUsed by:367 369 374 428
Symbol 367 EditableTextUses:366Used by:372
Symbol 368 TextUses:355Used by:372
Symbol 369 EditableTextUses:366Used by:372
Symbol 370 TextUses:355Used by:372
Symbol 371 TextUses:355Used by:372
Symbol 372 MovieClipUses:365 367 368 369 370 371Used by:571
Symbol 373 GraphicUsed by:375
Symbol 374 EditableTextUses:366Used by:375
Symbol 375 MovieClipUses:373 374Used by:571
Symbol 376 TextUses:291Used by:382
Symbol 377 FontUsed by:289 290 302 310 378 380 435 436 439 440 506 510 546
Symbol 378 TextUses:377Used by:382
Symbol 379 FontUsed by:289 290 302 310 380 435 436 439 440 506 510 546
Symbol 380 EditableTextUses:238 288 344 377 379Used by:382
Symbol 381 TextUses:291Used by:382 442
Symbol 382 MovieClipUses:376 378 380 381Used by:571
Symbol 383 GraphicUsed by:426
Symbol 384 TextUses:291Used by:426
Symbol 385 TextUses:291Used by:426
Symbol 386 TextUses:288Used by:426
Symbol 387 TextUses:288Used by:426
Symbol 388 GraphicUsed by:389
Symbol 389 MovieClipUses:388Used by:392
Symbol 390 GraphicUsed by:391
Symbol 391 MovieClipUses:390Used by:392
Symbol 392 MovieClipUses:389 391Used by:426
Symbol 393 TextUses:291Used by:426
Symbol 394 TextUses:291Used by:426
Symbol 395 TextUses:288Used by:426
Symbol 396 GraphicUsed by:397
Symbol 397 MovieClipUses:396Used by:410
Symbol 398 GraphicUsed by:399
Symbol 399 MovieClipUses:398Used by:410
Symbol 400 MovieClipUses:331Used by:410
Symbol 401 FontUsed by:154 155 223 402 404 406
Symbol 402 TextUses:401Used by:403
Symbol 403 MovieClipUses:402Used by:410
Symbol 404 TextUses:401Used by:405
Symbol 405 MovieClipUses:404Used by:410
Symbol 406 TextUses:401Used by:407
Symbol 407 MovieClipUses:406Used by:410
Symbol 408 GraphicUsed by:409
Symbol 409 MovieClipUses:408Used by:410
Symbol 410 MovieClipUses:397 399 400 403 405 407 409Used by:426
Symbol 411 TextUses:288Used by:426
Symbol 412 TextUses:288Used by:426
Symbol 413 GraphicUsed by:416
Symbol 414 TextUses:136Used by:416
Symbol 415 TextUses:136Used by:416
Symbol 416 MovieClipUses:413 414 415Used by:426
Symbol 417 TextUses:288Used by:426
Symbol 418 TextUses:288Used by:426
Symbol 419 GraphicUsed by:420
Symbol 420 MovieClipUses:419Used by:426
Symbol 421 TextUses:288Used by:426
Symbol 422 TextUses:288Used by:426
Symbol 423 TextUses:291Used by:426
Symbol 424 TextUses:288Used by:426
Symbol 425 TextUses:344Used by:426
Symbol 426 MovieClipUses:383 384 385 386 387 392 393 297 394 395 410 411 412 416 417 418 420 421 422 423 424 425Used by:571
Symbol 427 TextUses:288Used by:432
Symbol 428 EditableTextUses:366Used by:432
Symbol 429 TextUses:291Used by:432
Symbol 430 TextUses:288Used by:432
Symbol 431 TextUses:291Used by:432
Symbol 432 MovieClipUses:427 428 429 430 431Used by:571
Symbol 433 TextUses:291Used by:442
Symbol 434 TextUses:238Used by:442
Symbol 435 EditableTextUses:238 288 344 377 379Used by:442
Symbol 436 EditableTextUses:238 288 344 377 379Used by:442
Symbol 437 TextUses:288Used by:442
Symbol 438 TextUses:288Used by:442
Symbol 439 EditableTextUses:238 288 344 377 379Used by:442
Symbol 440 EditableTextUses:238 288 344 377 379Used by:442
Symbol 441 GraphicUsed by:442
Symbol 442 MovieClipUses:297 287 433 381 434 435 436 437 438 147 439 440 441 300Used by:571
Symbol 443 TextUses:291Used by:452
Symbol 444 TextUses:291Used by:452 473 513
Symbol 445 TextUses:288Used by:452
Symbol 446 GraphicUsed by:448
Symbol 447 TextUses:344Used by:448
Symbol 448 MovieClipUses:446 447Used by:452
Symbol 449 GraphicUsed by:451
Symbol 450 TextUses:344Used by:451
Symbol 451 MovieClipUses:449 450Used by:452
Symbol 452 MovieClipUses:443 444 445 286 448 297 451Used by:571
Symbol 453 TextUses:291Used by:473
Symbol 454 TextUses:288Used by:473
Symbol 455 GraphicUsed by:456
Symbol 456 MovieClipUses:455Used by:473
Symbol 457 GraphicUsed by:458
Symbol 458 MovieClipUses:457Used by:473
Symbol 459 GraphicUsed by:461
Symbol 460 GraphicUsed by:461
Symbol 461 MovieClipUses:459 460Used by:472
Symbol 462 GraphicUsed by:464
Symbol 463 GraphicUsed by:464
Symbol 464 MovieClipUses:462 463Used by:472
Symbol 465 GraphicUsed by:467
Symbol 466 GraphicUsed by:467
Symbol 467 MovieClipUses:465 466Used by:472
Symbol 468 GraphicUsed by:469
Symbol 469 MovieClipUses:468Used by:472
Symbol 470 GraphicUsed by:472
Symbol 471 TextUses:344Used by:472
Symbol 472 MovieClipUses:461 464 467 469 470 471Used by:473
Symbol 473 MovieClipUses:453 444 454 456 458 286 472 297Used by:571
Symbol 474 TextUses:288Used by:513
Symbol 475 GraphicUsed by:513
Symbol 476 GraphicUsed by:496
Symbol 477 TextUses:291Used by:496
Symbol 478 ShapeTweeningUsed by:480
Symbol 479 ShapeTweeningUsed by:480
Symbol 480 MovieClipUses:478 479 206Used by:496 503
Symbol 481 GraphicUsed by:496
Symbol 482 TextUses:291Used by:496
Symbol 483 GraphicUsed by:496
Symbol 484 TextUses:291Used by:496
Symbol 485 GraphicUsed by:496 544
Symbol 486 GraphicUsed by:487
Symbol 487 MovieClipUses:486Used by:496
Symbol 488 GraphicUsed by:489
Symbol 489 MovieClipUses:488Used by:496
Symbol 490 GraphicUsed by:491
Symbol 491 MovieClipUses:490Used by:496
Symbol 492 GraphicUsed by:493
Symbol 493 MovieClipUses:492Used by:496
Symbol 494 GraphicUsed by:495
Symbol 495 MovieClipUses:494Used by:496
Symbol 496 MovieClipUses:476 477 480 168 481 482 483 484 485 487 489 491 493 495Used by:512 513
Symbol 497 GraphicUsed by:503
Symbol 498 TextUses:306Used by:503
Symbol 499 GraphicUsed by:503
Symbol 500 TextUses:306Used by:503
Symbol 501 GraphicUsed by:503
Symbol 502 TextUses:306Used by:503
Symbol 503 MovieClipUses:497 498 480 168 499 500 501 502Used by:513
Symbol 504 EditableTextUses:291 306 338 355Used by:513
Symbol 505 EditableTextUses:291 306 338 355Used by:512
Symbol 506 EditableTextUses:238 288 344 377 379Used by:512
Symbol 507 TextUses:291Used by:512
Symbol 508 TextUses:291Used by:512
Symbol 509 GraphicUsed by:511
Symbol 510 EditableTextUses:238 288 344 377 379Used by:511
Symbol 511 MovieClipUses:509 510Used by:512
Symbol 512 MovieClipUses:505 506 507 508 511 496Used by:513
Symbol 513 MovieClipUses:444 474 475 496 503 504 512 286 297Used by:571
Symbol 514 GraphicUsed by:521
Symbol 515 GraphicUsed by:521
Symbol 516 GraphicUsed by:521
Symbol 517 GraphicUsed by:521
Symbol 518 GraphicUsed by:521
Symbol 519 GraphicUsed by:521
Symbol 520 GraphicUsed by:521
Symbol 521 MovieClipUses:514 515 53 516 517 518 519 520Used by:522
Symbol 522 MovieClipUses:521 168Used by:571
Symbol 523 GraphicUsed by:550
Symbol 524 GraphicUsed by:525
Symbol 525 MovieClipUses:524Used by:544
Symbol 526 GraphicUsed by:527
Symbol 527 MovieClipUses:526Used by:544
Symbol 528 GraphicUsed by:529
Symbol 529 MovieClipUses:528Used by:544
Symbol 530 GraphicUsed by:531
Symbol 531 MovieClipUses:530Used by:544
Symbol 532 GraphicUsed by:533
Symbol 533 MovieClipUses:532Used by:544
Symbol 534 GraphicUsed by:535
Symbol 535 MovieClipUses:534Used by:544
Symbol 536 GraphicUsed by:537
Symbol 537 MovieClipUses:536Used by:544
Symbol 538 GraphicUsed by:539
Symbol 539 MovieClipUses:538Used by:544
Symbol 540 GraphicUsed by:541
Symbol 541 MovieClipUses:540Used by:544
Symbol 542 GraphicUsed by:543
Symbol 543 MovieClipUses:542Used by:544
Symbol 544 MovieClipUses:485 525 527 529 531 533 535 537 539 541 543Used by:550
Symbol 545 GraphicUsed by:547
Symbol 546 EditableTextUses:238 288 344 377 379Used by:547
Symbol 547 MovieClipUses:545 546Used by:550
Symbol 548 EditableTextUses:291 306 338 355Used by:550
Symbol 549 TextUses:355Used by:550
Symbol 550 MovieClipUses:523 544 547 548 549Used by:571
Symbol 551 GraphicUsed by:570
Symbol 552 GraphicUsed by:553
Symbol 553 MovieClipUses:552Used by:570
Symbol 554 TextUses:291Used by:557
Symbol 555 TextUses:238Used by:557
Symbol 556 TextUses:291Used by:557 564 569
Symbol 557 MovieClipUses:554 555 556Used by:570
Symbol 558 GraphicUsed by:559
Symbol 559 MovieClipUses:558Used by:570
Symbol 560 GraphicUsed by:561
Symbol 561 MovieClipUses:560Used by:570
Symbol 562 TextUses:291Used by:564
Symbol 563 TextUses:238Used by:564
Symbol 564 MovieClipUses:562 563 556Used by:570
Symbol 565 GraphicUsed by:566
Symbol 566 MovieClipUses:565Used by:570
Symbol 567 TextUses:291Used by:569
Symbol 568 TextUses:238Used by:569
Symbol 569 MovieClipUses:567 568 556Used by:570
Symbol 570 MovieClipUses:551 168 553 557 297 559 561 564 566 569Used by:571
Symbol 571 MovieClipUses: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 570Used by:Timeline
Streaming Sound 1Used by:Symbol 341 MovieClip

Instance Names

"ng_ad"Symbol 48 MovieClip Frame 1Symbol 47 MovieClip
"card_picture"Symbol 147 MovieClip [card] Frame 6Symbol 127 MovieClip
"attack_element"Symbol 147 MovieClip [card] Frame 6Symbol 135 MovieClip
"defense_element"Symbol 147 MovieClip [card] Frame 6Symbol 135 MovieClip
"txtAttack"Symbol 147 MovieClip [card] Frame 6Symbol 137 EditableText
"txtDefense"Symbol 147 MovieClip [card] Frame 6Symbol 138 EditableText
"indicator"Symbol 147 MovieClip [card] Frame 6Symbol 142 MovieClip
"selector"Symbol 147 MovieClip [card] Frame 6Symbol 146 MovieClip
"txtBlueScore"Symbol 156 MovieClip [counter] Frame 1Symbol 154 EditableText
"txtRedScore"Symbol 156 MovieClip [counter] Frame 1Symbol 155 EditableText
"spinning_coin"Symbol 184 MovieClip Frame 5Symbol 179 MovieClip
"coin_bounce"Symbol 185 MovieClip [coin_anim] Frame 1Symbol 184 MovieClip
"txtName"Symbol 194 MovieClip [label_box] Frame 1Symbol 192 EditableText
"txtCombo"Symbol 218 MovieClip Frame 1Symbol 217 EditableText
"combo_num"Symbol 221 MovieClip [combo_text] Frame 1Symbol 218 MovieClip
"txtPoints"Symbol 224 MovieClip Frame 1Symbol 223 EditableText
"points"Symbol 225 MovieClip [attack_points] Frame 1Symbol 224 MovieClip
"get_ready"Symbol 237 MovieClip [get_ready_anim] Frame 1Symbol 236 MovieClip
"txtAttackExp"Symbol 254 MovieClip [experience_box] Frame 1Symbol 250 EditableText
"txtDefenseExp"Symbol 254 MovieClip [experience_box] Frame 1Symbol 251 EditableText
"txtAttackTotal"Symbol 254 MovieClip [experience_box] Frame 1Symbol 252 EditableText
"txtDefenseTotal"Symbol 254 MovieClip [experience_box] Frame 1Symbol 253 EditableText
"txtMessage"Symbol 276 MovieClip Frame 1Symbol 261 EditableText
"mark0"Symbol 276 MovieClip Frame 1Symbol 269 MovieClip
"mark1"Symbol 276 MovieClip Frame 2Symbol 269 MovieClip
"mark2"Symbol 276 MovieClip Frame 2Symbol 269 MovieClip
"mark4"Symbol 276 MovieClip Frame 3Symbol 269 MovieClip
"mark3"Symbol 276 MovieClip Frame 3Symbol 269 MovieClip
"black_screen"Symbol 283 MovieClip [endgame_clip] Frame 1Symbol 168 MovieClip
"gameres_title"Symbol 283 MovieClip [endgame_clip] Frame 1Symbol 259 MovieClip
"experience_title"Symbol 283 MovieClip [endgame_clip] Frame 90Symbol 227 MovieClip
"match_result"Symbol 283 MovieClip [endgame_clip] Frame 185Symbol 276 MovieClip
"card_obt"Symbol 283 MovieClip [endgame_clip] Frame 285Symbol 282 MovieClip
"txtSide"Symbol 296 MovieClip Frame 1Symbol 289 EditableText
"txtPage"Symbol 296 MovieClip Frame 1Symbol 290 EditableText
"txtHelp"Symbol 303 MovieClip Frame 1Symbol 302 EditableText
"side_text"Symbol 304 MovieClip [side_deck] Frame 1Symbol 296 MovieClip
"btn0"Symbol 304 MovieClip [side_deck] Frame 1Symbol 297 MovieClip [blank_rectangle]
"btn1"Symbol 304 MovieClip [side_deck] Frame 1Symbol 297 MovieClip [blank_rectangle]
"btn2"Symbol 304 MovieClip [side_deck] Frame 1Symbol 297 MovieClip [blank_rectangle]
"btn3"Symbol 304 MovieClip [side_deck] Frame 1Symbol 297 MovieClip [blank_rectangle]
"btn4"Symbol 304 MovieClip [side_deck] Frame 1Symbol 297 MovieClip [blank_rectangle]
"btn5"Symbol 304 MovieClip [side_deck] Frame 1Symbol 297 MovieClip [blank_rectangle]
"btn6"Symbol 304 MovieClip [side_deck] Frame 1Symbol 297 MovieClip [blank_rectangle]
"btn7"Symbol 304 MovieClip [side_deck] Frame 1Symbol 297 MovieClip [blank_rectangle]
"btn8"Symbol 304 MovieClip [side_deck] Frame 1Symbol 297 MovieClip [blank_rectangle]
"btn9"Symbol 304 MovieClip [side_deck] Frame 1Symbol 297 MovieClip [blank_rectangle]
"btn_pick"Symbol 304 MovieClip [side_deck] Frame 1Symbol 297 MovieClip [blank_rectangle]
"btn_close"Symbol 304 MovieClip [side_deck] Frame 1Symbol 297 MovieClip [blank_rectangle]
"btn_prev"Symbol 304 MovieClip [side_deck] Frame 1Symbol 297 MovieClip [blank_rectangle]
"btn_next"Symbol 304 MovieClip [side_deck] Frame 1Symbol 297 MovieClip [blank_rectangle]
"sel1"Symbol 304 MovieClip [side_deck] Frame 1Symbol 300 MovieClip
"sel2"Symbol 304 MovieClip [side_deck] Frame 1Symbol 300 MovieClip
"btn_clear"Symbol 304 MovieClip [side_deck] Frame 1Symbol 297 MovieClip [blank_rectangle]
"help_bubble"Symbol 304 MovieClip [side_deck] Frame 10Symbol 303 MovieClip
"txtMessage"Symbol 311 MovieClip Frame 1Symbol 310 EditableText
"msg_buttons"Symbol 312 MovieClip [msg_window] Frame 1Symbol 309 MovieClip
"msg_text"Symbol 312 MovieClip [msg_window] Frame 1Symbol 311 MovieClip
"txtCode"Symbol 372 MovieClip Frame 1Symbol 367 EditableText
"txtError"Symbol 372 MovieClip Frame 1Symbol 369 EditableText
"txtHelp"Symbol 375 MovieClip Frame 1Symbol 374 EditableText
"txtCode"Symbol 432 MovieClip Frame 1Symbol 428 EditableText
"null_sel"Symbol 442 MovieClip Frame 1Symbol 297 MovieClip [blank_rectangle]
"txtPlay"Symbol 442 MovieClip Frame 1Symbol 435 EditableText
"txtSpare"Symbol 442 MovieClip Frame 1Symbol 436 EditableText
"excard"Symbol 442 MovieClip Frame 1Symbol 147 MovieClip [card]
"txtExpText"Symbol 442 MovieClip Frame 1Symbol 439 EditableText
"txtExp"Symbol 442 MovieClip Frame 1Symbol 440 EditableText
"sel1"Symbol 442 MovieClip Frame 1Symbol 300 MovieClip
"sel2"Symbol 442 MovieClip Frame 1Symbol 300 MovieClip
"amateur"Symbol 472 MovieClip Frame 1Symbol 461 MovieClip
"pro"Symbol 472 MovieClip Frame 1Symbol 464 MovieClip
"master"Symbol 472 MovieClip Frame 1Symbol 467 MovieClip
"star1"Symbol 472 MovieClip Frame 1Symbol 469 MovieClip
"star2"Symbol 472 MovieClip Frame 1Symbol 469 MovieClip
"star3"Symbol 472 MovieClip Frame 1Symbol 469 MovieClip
"selector"Symbol 496 MovieClip Frame 1Symbol 480 MovieClip
"shader"Symbol 496 MovieClip Frame 1Symbol 168 MovieClip
"selector"Symbol 503 MovieClip Frame 1Symbol 480 MovieClip
"shader"Symbol 503 MovieClip Frame 1Symbol 168 MovieClip
"txtBubble"Symbol 511 MovieClip Frame 1Symbol 510 EditableText
"txtTitle"Symbol 512 MovieClip Frame 1Symbol 505 EditableText
"txtDesc"Symbol 512 MovieClip Frame 1Symbol 506 EditableText
"npcbubble"Symbol 512 MovieClip Frame 1Symbol 511 MovieClip
"npcicon"Symbol 512 MovieClip Frame 1Symbol 496 MovieClip
"match2"Symbol 513 MovieClip Frame 1Symbol 496 MovieClip
"match0"Symbol 513 MovieClip Frame 1Symbol 503 MovieClip
"match1"Symbol 513 MovieClip Frame 1Symbol 503 MovieClip
"match5"Symbol 513 MovieClip Frame 1Symbol 496 MovieClip
"match3"Symbol 513 MovieClip Frame 1Symbol 503 MovieClip
"match4"Symbol 513 MovieClip Frame 1Symbol 503 MovieClip
"match8"Symbol 513 MovieClip Frame 1Symbol 496 MovieClip
"match6"Symbol 513 MovieClip Frame 1Symbol 503 MovieClip
"match7"Symbol 513 MovieClip Frame 1Symbol 503 MovieClip
"txtCup"Symbol 513 MovieClip Frame 1Symbol 504 EditableText
"window"Symbol 513 MovieClip Frame 1Symbol 512 MovieClip
"gamebg"Symbol 522 MovieClip Frame 1Symbol 521 MovieClip
"txtBubble"Symbol 547 MovieClip Frame 1Symbol 546 EditableText
"npc"Symbol 550 MovieClip Frame 1Symbol 544 MovieClip
"bubble"Symbol 550 MovieClip Frame 1Symbol 547 MovieClip
"txtTitle"Symbol 550 MovieClip Frame 1Symbol 548 EditableText
"help_bubble"Symbol 571 MovieClip Frame 82Symbol 303 MovieClip
"mcCode"Symbol 571 MovieClip Frame 120Symbol 364 MovieClip
"mcCode"Symbol 571 MovieClip Frame 165Symbol 372 MovieClip
"help_bubble"Symbol 571 MovieClip Frame 172Symbol 375 MovieClip
"help_bubble"Symbol 571 MovieClip Frame 217Symbol 303 MovieClip
"help_bubble"Symbol 571 MovieClip Frame 262Symbol 303 MovieClip
"mcCode"Symbol 571 MovieClip Frame 300Symbol 432 MovieClip
"help_bubble"Symbol 571 MovieClip Frame 307Symbol 375 MovieClip
"manager"Symbol 571 MovieClip Frame 345Symbol 442 MovieClip
"help_bubble"Symbol 571 MovieClip Frame 352Symbol 303 MovieClip
"help_bubble"Symbol 571 MovieClip Frame 397Symbol 303 MovieClip
"help_bubble"Symbol 571 MovieClip Frame 442Symbol 303 MovieClip
"help_bubble"Symbol 571 MovieClip Frame 487Symbol 303 MovieClip
"tm_game"Symbol 571 MovieClip Frame 545Symbol 522 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS1/AS2.
Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 572 as "__Packages.Card"
ExportAssets (56)Timeline Frame 1Symbol 573 as "__Packages.NewgroundsAPI"
ExportAssets (56)Timeline Frame 3Symbol 147 as "card"
ExportAssets (56)Timeline Frame 3Symbol 151 as "nerve_anim"
ExportAssets (56)Timeline Frame 3Symbol 156 as "counter"
ExportAssets (56)Timeline Frame 3Symbol 165 as "turn_title"
ExportAssets (56)Timeline Frame 3Symbol 180 as "ting.wav"
ExportAssets (56)Timeline Frame 3Symbol 181 as "coin1.wav"
ExportAssets (56)Timeline Frame 3Symbol 185 as "coin_anim"
ExportAssets (56)Timeline Frame 3Symbol 191 as "explosion"
ExportAssets (56)Timeline Frame 3Symbol 194 as "label_box"
ExportAssets (56)Timeline Frame 3Symbol 204 as "arrow"
ExportAssets (56)Timeline Frame 3Symbol 208 as "switcher"
ExportAssets (56)Timeline Frame 3Symbol 214 as "comboer"
ExportAssets (56)Timeline Frame 3Symbol 221 as "combo_text"
ExportAssets (56)Timeline Frame 3Symbol 225 as "attack_points"
ExportAssets (56)Timeline Frame 3Symbol 228 as "selector_button"
ExportAssets (56)Timeline Frame 3Symbol 237 as "get_ready_anim"
ExportAssets (56)Timeline Frame 3Symbol 240 as "click_here_button"
ExportAssets (56)Timeline Frame 3Symbol 245 as "levelup"
ExportAssets (56)Timeline Frame 3Symbol 254 as "experience_box"
ExportAssets (56)Timeline Frame 3Symbol 283 as "endgame_clip"
ExportAssets (56)Timeline Frame 3Symbol 297 as "blank_rectangle"
ExportAssets (56)Timeline Frame 3Symbol 304 as "side_deck"
ExportAssets (56)Timeline Frame 3Symbol 312 as "msg_window"
ExportAssets (56)Timeline Frame 3Symbol 313 as "menu.wav"
ExportAssets (56)Timeline Frame 3Symbol 314 as "boom.wav"
ExportAssets (56)Timeline Frame 3Symbol 315 as "npc0.wav"
ExportAssets (56)Timeline Frame 3Symbol 316 as "capture.wav"
ExportAssets (56)Timeline Frame 3Symbol 317 as "npc1.wav"
ExportAssets (56)Timeline Frame 3Symbol 318 as "card.wav"
ExportAssets (56)Timeline Frame 3Symbol 319 as "npc2.wav"
ExportAssets (56)Timeline Frame 3Symbol 320 as "npc3.wav"
ExportAssets (56)Timeline Frame 3Symbol 321 as "npc4.wav"
ExportAssets (56)Timeline Frame 3Symbol 322 as "npc5.wav"
ExportAssets (56)Timeline Frame 3Symbol 323 as "levelup.wav"
ExportAssets (56)Timeline Frame 3Symbol 324 as "wintour.wav"
ExportAssets (56)Timeline Frame 3Symbol 325 as "lose.wav"
ExportAssets (56)Timeline Frame 3Symbol 326 as "win.wav"
ExportAssets (56)Timeline Frame 3Symbol 327 as "getready.wav"
ExportAssets (56)Timeline Frame 3Symbol 328 as "pock.wav"
ExportAssets (56)Timeline Frame 3Symbol 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




http://swfchan.com/23/114902/info.shtml
Created: 10/3 -2019 06:18:09 Last modified: 10/3 -2019 06:18:09 Server time: 30/04 -2024 15:23:45