summaryrefslogtreecommitdiff
path: root/src/wram.asm
diff options
context:
space:
mode:
authorElectroDeoxys <ElectroDeoxys@gmail.com>2019-07-25 13:06:08 +0100
committerElectroDeoxys <ElectroDeoxys@gmail.com>2019-08-07 23:24:59 +0100
commit11a1df484afd366c7934f5cbbfd62cdc656f6f7d (patch)
treeb51daa7907fb8e2cdc6f678e1e198c9ccab9ef18 /src/wram.asm
parente1702ca1b0d7b5ef4b9721170fdc3072c9725d19 (diff)
Label StoreDefendingPokemonColorWRAndPrizeCards
Diffstat (limited to 'src/wram.asm')
-rw-r--r--src/wram.asm14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/wram.asm b/src/wram.asm
index d1ca05e..cc7129c 100644
--- a/src/wram.asm
+++ b/src/wram.asm
@@ -1206,7 +1206,19 @@ wTempLoadedMoveEnergyNeededAmount:: ; cdb7
wcdbe:: ; cdbe
ds $1
- ds $1c
+ ds $10
+
+; stores information about the defending Pokémon
+; and about the prize card count on both sides for AI
+; byte 0: player's active Pokémon color
+; byte 1: player's active Pokémon weakness
+; byte 2: player's active Pokémon resistance
+; byte 3: player's prize count
+; byte 4: opponent's prize count
+wcdcf:: ; cdcf
+ ds $5
+
+ ds $7
wcddb:: ; cddb
ds $1