summaryrefslogtreecommitdiff
path: root/src/wram.asm
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2016-02-24 08:52:11 -0600
committerdannye <corrnondacqb@yahoo.com>2016-02-24 08:52:11 -0600
commit7f094ac28af099256cbbd8769f9d4f5672c8eaec (patch)
tree6c7754a868634626177b2dba65be4ac4e6bc1f4b /src/wram.asm
parentcf80f04ee7365d72b0347c9cdae201e9c1d01724 (diff)
parent798a5c1a7d7cc8e02cd649241b357f00871d1290 (diff)
Merge branch 'master' of https://github.com/anmart/poketcg
Diffstat (limited to 'src/wram.asm')
-rwxr-xr-xsrc/wram.asm13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/wram.asm b/src/wram.asm
index db424fe..7c7c774 100755
--- a/src/wram.asm
+++ b/src/wram.asm
@@ -1,4 +1,5 @@
INCLUDE "constants.asm"
+INCLUDE "macros.asm"
;----------------------------------------------------------
;--- Bank 0: $Cxxx ----------------------------------------
@@ -167,7 +168,13 @@ wPlayerDeck:: ; c400
wOpponentDeck:: ; c480
ds $80
- ds $500
+ ds $10
+
+; when the attack menu opens, it stores
+; each move in the order of
+; cardNumber, moveNumber, ...
+DuelAttackPointerTable:: ; c510
+ ds $4f0
;--- Engine -----------------------------------------------
@@ -407,10 +414,10 @@ wDuelTheme:: ; cc1a
; 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.
wCardBuffer1:: ; cc24
- ds CARD_DATA_LENGTH
+ card_data_struct wCardBuffer1
wCardBuffer2:: ; cc65
- ds CARD_DATA_LENGTH
+ card_data_struct wCardBuffer2
ds $4