diff options
author | xCrystal <rgr.crystal@gmail.com> | 2016-01-26 18:25:20 +0100 |
---|---|---|
committer | xCrystal <rgr.crystal@gmail.com> | 2016-01-26 18:25:20 +0100 |
commit | 51827f0bf6b4f7230bdbfc210b0060b66b73c7ae (patch) | |
tree | 51d72c3f18f23239940300216dd4a4f2c0272052 /src/wram.asm | |
parent | 5a33e213bf35bfb535443e078669877ca4c567f3 (diff) |
more home incbins
Diffstat (limited to 'src/wram.asm')
-rwxr-xr-x | src/wram.asm | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/wram.asm b/src/wram.asm index ffcc81b..fa8beff 100755 --- a/src/wram.asm +++ b/src/wram.asm @@ -26,11 +26,12 @@ wPlayerCardLocations:: ; c200 wPlayerHand:: ; c242 ds DECK_SIZE -; 60-byte array that indicates in which order the cards are in the deck. -; initially numbers 0 to 59 in order, until deck is shuffled. -; the earlier a card appears in the array, the closer to the top of the deck it is. +; 60-byte array that maps each card to its position in the deck. +; During a duel, each card of the deck is assigned a number between 0 and 59, following the index number order. +; This array is initialized to 00, 01, 02, ..., 59, until deck is shuffled. +; The earlier a card appears in the array, the closer to the top of the deck it is. wPlayerDeckCards:: ; c27e - ds $3c + ds DECK_SIZE ; stores x = (60 - deck remaining cards) ; the first x cards in the wPlayerDeckCards array are ignored (e.g. when drawing a card) @@ -87,7 +88,7 @@ wOpponentHand:: ; c342 ds DECK_SIZE wOpponentDeckCards:: ; c37e - ds $3c + ds DECK_SIZE wOpponentNumberOfCardsNotInDeck:: ; c3ba ds $1 |