summaryrefslogtreecommitdiff
path: root/src/wram.asm
diff options
context:
space:
mode:
authorElectroDeoxys <ElectroDeoxys@gmail.com>2019-08-03 00:06:57 +0100
committerElectroDeoxys <ElectroDeoxys@gmail.com>2019-08-07 23:24:59 +0100
commitf28d945360edf5903c92118c2db6bcef83e0fef1 (patch)
tree638951ae09a5947c33822b7c3ae8ac297ed9e10d /src/wram.asm
parentf94a4e39b43e403e8a7286bbb1f2624147583efd (diff)
Document Func_15f4c
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 51ecef3..00d8bb4 100644
--- a/src/wram.asm
+++ b/src/wram.asm
@@ -1240,11 +1240,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
@@ -1252,7 +1257,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