diff options
author | xCrystal <rgr.crystal@gmail.com> | 2016-03-07 21:44:32 +0100 |
---|---|---|
committer | xCrystal <rgr.crystal@gmail.com> | 2016-03-07 22:16:50 +0100 |
commit | 390500b3f1cf30bf2369721392d6ab2ef6f5a73b (patch) | |
tree | 822823ac1b491da0218fc8467233dad4499d4d14 /src/wram.asm | |
parent | 8289a369312c524ff6dd9ef81e4be989335a9696 (diff) |
disassemble GetAttachedEnergies and HandleEnergyBurn
Diffstat (limited to 'src/wram.asm')
-rwxr-xr-x | src/wram.asm | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/wram.asm b/src/wram.asm index 7458dbe..69c95cb 100755 --- a/src/wram.asm +++ b/src/wram.asm @@ -398,7 +398,7 @@ wBenchSelectedPokemon:: ; $cbcb ds $1 ds $3 -; When you're in a duel menu like your hand and you press a, +; When you're in a duel submenu like the cards in your hand and you press A, ; the following two addresses keep track of which item was selected by the cursor wSelectedDuelSubMenuItem:: ; $cbcf ds $1 @@ -446,7 +446,15 @@ wIsPracticeDuel:: ; cc13 wDuelTheme:: ; cc1a ds $1 - ds $9 + +; holds the energies attached to a given pokemon card. 1 byte for each of the +; 8 energy types (including the unused one that shares byte with the colorless energy) +wAttachedEnergies:: ; cc1b + ds NUM_TYPES + +; holds the total amount of energies attached to a given pokemon card +wTotalAttachedEnergies:: ; cc23 + ds $1 ; Used as temporary storage for a loaded card's data wCardBuffer1:: ; cc24 |