diff options
author | xCrystal <rgr.crystal@gmail.com> | 2016-03-06 19:07:12 +0100 |
---|---|---|
committer | xCrystal <rgr.crystal@gmail.com> | 2016-03-06 19:07:12 +0100 |
commit | c586a533e696cb6c9493d8077c9d6a52c043a844 (patch) | |
tree | 59cb495d77a6c768465bc9055ad665c0a760536e /src/wram.asm | |
parent | 102fa38ab095c26b49a23a1e75e3b2087d131541 (diff) |
allocate text engine ram addresses
Diffstat (limited to 'src/wram.asm')
-rwxr-xr-x | src/wram.asm | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/src/wram.asm b/src/wram.asm index 54c62eb..bdfe262 100755 --- a/src/wram.asm +++ b/src/wram.asm @@ -191,11 +191,28 @@ wOpponentDeck:: ; c480 ds $80 ds $10 -; when the attack menu opens, it stores -; each move in the order of -; cardNumber, moveNumber, ... -DuelAttackPointerTable:: ; c510 - ds $4f0 +; this holds a list of cards (e.g. in hand or in bench) or the attack list of a pokemon card +wDuelCardOrAttackList:: ; c510 + ds $80 + +; this appears to be kept updated with some default text that is used +; when the text printing functions are called with text id $0000 +wc590:: ; c590 + ds $70 + +;--- Text engine ------------------------------------------ + +wc600:: ; c600 + ds $100 + +wc700:: ; c700 + ds $100 + +wc800:: ; c800 + ds $100 + +wc900:: ; c900 + ds $100 ;--- Engine ----------------------------------------------- @@ -431,9 +448,7 @@ wDuelTheme:: ; cc1a ds $1 ds $9 -; wCardBuffer1 and wCardBuffer2 hold the data of a player's or opponent's card. -; Can be data from a card on either side of the field or hand, or from a card in the bench, depending on the duel state. -; Sometimes the two buffers even hold the same card's data. +; Used as temporary storage for a loaded card's data wCardBuffer1:: ; cc24 card_data_struct wCardBuffer1 |