summaryrefslogtreecommitdiff
path: root/src/engine/home.asm
diff options
context:
space:
mode:
authorxCrystal <rgr.crystal@gmail.com>2018-02-07 21:13:52 +0100
committerxCrystal <rgr.crystal@gmail.com>2018-02-07 21:13:52 +0100
commitbfeeb34666e8a9d91317f285e078c73d498351f7 (patch)
tree20c22f2520d1fc26e5979f0f23a7d97bc004a0d3 /src/engine/home.asm
parentb9f2f4ee8e9218436b7ce36804bf404901f87d0f (diff)
More accurate card type constants
Diffstat (limited to 'src/engine/home.asm')
-rwxr-xr-xsrc/engine/home.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/home.asm b/src/engine/home.asm
index 01a66d0..16927de 100755
--- a/src/engine/home.asm
+++ b/src/engine/home.asm
@@ -2926,7 +2926,7 @@ GetAttachedEnergies: ; 159f (0:159f)
ld a, l
call LoadDeckCardToBuffer2
ld a, [wLoadedCard2Type]
- bit ENERGY_CARD_F, a
+ bit TYPE_ENERGY_F, a
jr z, .not_an_energy_card
and $7 ; zero bit 3 to extract the type
ld e, a