summaryrefslogtreecommitdiff
path: root/battle/effect_commands.asm
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2017-12-12 20:15:07 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2017-12-12 20:15:07 -0500
commit93c32e35806af6c0a8b731c5322ee5df58c797f9 (patch)
tree96bf9f46a4dcba56c40710c4a72361f26eb9be6e /battle/effect_commands.asm
parentf0ab09125493f91d66af836e0abb977459a0d801 (diff)
Document bugs and glitches
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