summaryrefslogtreecommitdiff
path: root/src/wram.asm
diff options
context:
space:
mode:
authorElectroDeoxys <ElectroDeoxys@gmail.com>2020-05-07 15:42:13 +0100
committerElectroDeoxys <ElectroDeoxys@gmail.com>2020-05-07 15:42:13 +0100
commitc4183f69cd8cb0fe1482cac8487efaf68160a411 (patch)
tree645a667d66a8f9f9227bbf35567528b0215d0bd8 /src/wram.asm
parent17b8a2fdc29ff221b18533f06966b02ad0883fb2 (diff)
Deck AI macros and tidying
Diffstat (limited to 'src/wram.asm')
-rw-r--r--src/wram.asm9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/wram.asm b/src/wram.asm
index 5614b54..e4bf0b2 100644
--- a/src/wram.asm
+++ b/src/wram.asm
@@ -1290,7 +1290,9 @@ wAIOpponentPrizeCount:: ; cdd3
wTempCardIDToLook:: ; cdd4
ds $1
-wcdd5:: ; cdd5
+; when AI decides which Bench Pokemon to switch to
+; it stores it Play Area location here.
+wAIPlayAreaCardToSwitch:: ; cdd5
ds $1
; the index of attack chosen by AI
@@ -1391,7 +1393,10 @@ wce01:: ; ce01
wAIMoveIsNonDamaging:: ; ce02
ds $1
-wce03:: ; ce03
+; whether AI already retreated this turn or not.
+; - $0 has not retreated;
+; - $1 has retreated.
+wAIRetreatedThisTurn:: ; ce03
ds $1
; used by AI to store information of Venusaur2