diff options
Diffstat (limited to 'src/wram.asm')
-rw-r--r-- | src/wram.asm | 98 |
1 files changed, 85 insertions, 13 deletions
diff --git a/src/wram.asm b/src/wram.asm index 40388ec..75e1e66 100644 --- a/src/wram.asm +++ b/src/wram.asm @@ -443,6 +443,8 @@ wNameBuffer:: ; c500 wDuelTempList:: ; c510 ds $80 +UNION + ; this is kept updated with some default text that is used ; when the text printing functions are called with text id $0000 wDefaultText:: ; c590 @@ -451,7 +453,24 @@ wDefaultText:: ; c590 wc592:: ; c592 ds $3 - ds $55 + ds $15 + +wc5aa:: ; c5aa + ds $1 + + ds $21 + +NEXTU + +wc590:: ; c590 + ds DECK_SIZE + +ENDU + +wc5cc:: ; c5cc + ds $1 + + ds $1d wc5ea:: ; c5ea ds $1 @@ -1698,7 +1717,7 @@ wPrizeCardCursorPosition:: ; ce52 ds $1 ; pointer to the table which contains information for each key-press. -wInPlayAreaInputTablePointer:: ; ce53 +wMenuInputTablePointer:: ; ce53 wce53:: ; ce53 ds $2 @@ -1932,25 +1951,62 @@ wOnesAndTensPlace:: ; ceb6 ds $3 wcebb:: ; cebb - ds $1 + ds $9 - ds $10 +wcec4:: ; cec4 + ds $7 + +wcecb:: ; cecb + ds $1 wcecc:: ; cecc ds $1 +wcecd:: ; cecd ds $1 wcece:: ; cece ds $2 - ds $a +wced0:: ; ced0 + ds $2 + +wced2:: ; ced2 + ds $1 + +wced3:: ; ced3 + ds $1 + +wced4:: ; ced4 + ds $1 + +wced5:: ; ced5 + ds $1 + +wced6:: ; ced6 + ds $1 + +wced7:: ; ced7 + ds $1 + +wced8:: ; ced8 + ds $1 -; pointer to memory to store AI temporary hand card list +wced9:: ; ced9 + ds $1 + +; stores the list of all card IDs that filtered by its card type +; (Fire, Water, ..., Energy card, Trainer card) +wFilteredCardList:: ; ceda + +; stores AI temporary hand card list wHandTempList:: ; ceda - ds $2 - ds $3b +wceda:: ; ceda + ds DECK_SIZE + +wcf16:: ; cf16 + ds $1 ; used in bank2, probably related to wTempHandCardList (another temp list?) wcf17:: ; cf17 @@ -1958,6 +2014,11 @@ wcf17:: ; cf17 ds $15 +; stores the count number of cards owned +; can be 0 in the case that a card is not available +; i.e. already inside a built deck +wOwnedCardsCountList:: ; cf68 + ; used by _AIProcessHandTrainerCards, AI related wTempHandCardList:: ; cf68 ds DECK_SIZE @@ -1965,19 +2026,30 @@ wTempHandCardList:: ; cf68 ds $15 wcfb9:: ; cfb9 - ds $1 + ds $14 - ds $17 + ds $4 wcfd1:: ; cfd1 - ds $1 + ds $7 - ds $8 +wcfd8:: ; cfd8 + ds $2 wcfda:: ; cfda ds $2 - ds $7 + ds $2 + +; the tile to draw in place of the cursor, in case +; the cursor is not to be drawn +wCursorAlternateTile:: ; cfde + ds $1 + +wcfdf:: ; cfdf + ds $1 + + ds $3 ; a flag indicating whether sfx should be played. wPlaysSfx:: ; cfe3 |