summaryrefslogtreecommitdiff
path: root/battle/effect_commands.asm
diff options
context:
space:
mode:
Diffstat (limited to 'battle/effect_commands.asm')
-rw-r--r--battle/effect_commands.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/battle/effect_commands.asm b/battle/effect_commands.asm
index 0e77dd2ad..68cb86dde 100644
--- a/battle/effect_commands.asm
+++ b/battle/effect_commands.asm
@@ -10943,13 +10943,13 @@ GetItem: ; 37dd0
ret z
push hl
- ld hl, $67c3 ; Items
+ ld hl, ItemAttributes + 2
dec a
ld c, a
ld b, 0
- ld a, 7
+ ld a, Item2Attributes - Item1Attributes
call AddNTimes
- ld a, $1 ; BANK(Items)
+ ld a, BANK(ItemAttributes)
call GetFarHalfword
ld b, l
ld c, h