summaryrefslogtreecommitdiff
path: root/battle/effect_commands.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-12-12 23:37:31 -0500
committerGitHub <noreply@github.com>2017-12-12 23:37:31 -0500
commit0dd914e5f9d3fd41ad9d440d9f2c2baa20b42aee (patch)
tree297be833265b586cdaeace1d6065b402bc3ff030 /battle/effect_commands.asm
parent05ac706f6052ade04a0d258862a705d3f41283bf (diff)
parentcd88196b7fab887c41c73c448da05add9b036b79 (diff)
Merge pull request #416 from roukaour/master
Document bugs in docs/bugs.md
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