summaryrefslogtreecommitdiff
path: root/src/engine/home.asm
diff options
context:
space:
mode:
authorxCrystal <rgr.crystal@gmail.com>2016-03-08 00:02:21 +0100
committerxCrystal <rgr.crystal@gmail.com>2016-03-08 00:02:21 +0100
commit5893de563f5d8395770eadd0b86a03f52cc384a1 (patch)
tree19db9582c4e0bc7b31151b3f09cf781d9600baef /src/engine/home.asm
parent21999824e7ac492c8f8f689b56fcfd6cf2c98eb4 (diff)
disassemble 488f to 4918 (check if enough energies)
Diffstat (limited to 'src/engine/home.asm')
-rwxr-xr-xsrc/engine/home.asm5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/engine/home.asm b/src/engine/home.asm
index cab1232..b336a9e 100755
--- a/src/engine/home.asm
+++ b/src/engine/home.asm
@@ -2456,10 +2456,11 @@ LoadDeckCardToBuffer2: ; 138c (0:138c)
INCBIN "baserom.gbc",$13a2,$159f - $13a2
-; this function iterates through the card locations array to find out which and how many
+; This function iterates through the card locations array to find out which and how many
; energy cards are in arena (i.e. attached to the active pokemon).
-; one or more location constants (so long as they don't clash with the arena location constant)
+; One or more location constants (so long as they don't clash with the arena location constant)
; can be specified in register e; if so, energies found in that location will be counted too.
+; Feedback is returned in wAttachedEnergies and wTotalAttachedEnergies.
GetAttachedEnergies: ; 159f (0:159f)
push hl
push de