Replace two numbers with constants (found by pfero)

This commit is contained in:
Remy Oukaour 2017-12-14 12:19:26 -05:00
parent 2ff7f50584
commit 7350c3708f
2 changed files with 2 additions and 2 deletions

View File

@ -4454,7 +4454,7 @@ HandleHealingItems: ; 3dcf9
HandleHPHealingItem: ; 3dd2f HandleHPHealingItem: ; 3dd2f
callab GetOpponentItem callab GetOpponentItem
ld a, b ld a, b
cp $1 cp HELD_BERRY
ret nz ret nz
ld de, EnemyMonHP + 1 ld de, EnemyMonHP + 1
ld hl, EnemyMonMaxHP ld hl, EnemyMonMaxHP

View File

@ -9806,7 +9806,7 @@ GetItemHeldEffect: ; 37dd0
ret z ret z
push hl push hl
ld hl, ItemAttributes + 2 ld hl, ItemAttributes + ITEMATTR_EFFECT
dec a dec a
ld c, a ld c, a
ld b, 0 ld b, 0