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
callab GetOpponentItem
ld a, b
cp $1
cp HELD_BERRY
ret nz
ld de, EnemyMonHP + 1
ld hl, EnemyMonMaxHP

View File

@ -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