summaryrefslogtreecommitdiff
path: root/battle/effect_commands.asm
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2017-12-14 12:19:26 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2017-12-14 12:19:26 -0500
commit7350c3708fc2463e1eb6024c03de5c85b50aa38f (patch)
treeb62e7470d1a61148570639910835a9e196ffdcb9 /battle/effect_commands.asm
parent2ff7f50584e31c097ca4aa509d9dfe9d9c252465 (diff)
Replace two numbers with constants (found by pfero)
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 bcebbb6ca..e261cbe81 100644
--- a/battle/effect_commands.asm
+++ b/battle/effect_commands.asm
@@ -9806,7 +9806,7 @@ GetItemHeldEffect: ; 37dd0
ret z
push hl
- ld hl, ItemAttributes + 2
+ ld hl, ItemAttributes + ITEMATTR_EFFECT
dec a
ld c, a
ld b, 0