summaryrefslogtreecommitdiff
path: root/src/wram.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/wram.asm')
-rw-r--r--src/wram.asm19
1 files changed, 15 insertions, 4 deletions
diff --git a/src/wram.asm b/src/wram.asm
index d8fcfbb..29b2421 100644
--- a/src/wram.asm
+++ b/src/wram.asm
@@ -1232,11 +1232,16 @@ wcddc:: ; cddc
ds $1
ds $14
-
-wcdf1:: ; cdf1
+
+; a PLAY_AREA_* constant (0: arena card, 1-5: bench card)
+; used by the AI to temporarily store card location
+wCurCardPlayAreaLocation:: ; cdf1
ds $1
-wcdf2:: ; cdf2
+; used for AI to store whether this card can use any attack
+; $00 = can't attack
+; $01 = can attack
+wCurCardCanAttack:: ; cdf2
ds $1
; used to temporarily store the evolution card deck index
@@ -1244,7 +1249,13 @@ wcdf2:: ; cdf2
wTempEvolutionCard:: ; cdf3
ds $1
- ds $c
+; used for AI to store whether this card can KO defending Pokémon
+; $00 = can't KO
+; $01 = can KO
+wCurCardCanKO:: ; cdf4
+ ds $1
+
+ ds $b
wce00:: ; ce00
ds $1