summaryrefslogtreecommitdiff
path: root/battle/effect_commands.asm
diff options
context:
space:
mode:
authorsurskitty <surskitty@gmail.com>2017-12-13 19:55:03 -0500
committersurskitty <surskitty@gmail.com>2017-12-13 19:55:03 -0500
commit4b36a9d2e1d6b6ac823fbb14e8f0ba750b0eecc2 (patch)
treefcbbd0247503a200c4c1d8df690a676b49a09efd /battle/effect_commands.asm
parente3ee39f3344107f666099448401d28b04c983cd6 (diff)
parenta6656a986bf9dde51561cab090648e0117b173ad (diff)
Merge branch 'master' of github.com:pret/pokecrystal
Diffstat (limited to 'battle/effect_commands.asm')
-rw-r--r--battle/effect_commands.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/battle/effect_commands.asm b/battle/effect_commands.asm
index fdb078645..bcebbb6ca 100644
--- a/battle/effect_commands.asm
+++ b/battle/effect_commands.asm
@@ -9810,7 +9810,7 @@ GetItemHeldEffect: ; 37dd0
dec a
ld c, a
ld b, 0
- ld a, Item2Attributes - Item1Attributes
+ ld a, ITEMATTR_STRUCT_LENGTH
call AddNTimes
ld a, BANK(ItemAttributes)
call GetFarHalfword