summaryrefslogtreecommitdiff
path: root/battle/effect_commands.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-04-30 02:01:54 -0400
committeryenatch <yenatch@gmail.com>2013-04-30 02:04:36 -0400
commit45343b07c7658040fda01f8eb2b7eb93f1efcda6 (patch)
tree0306f75c8287b4a611f4787df9254beed7d49432 /battle/effect_commands.asm
parent6b960f3e15d25d3ec1ceec386c0f5e40a27c7c92 (diff)
dump item attributes
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