mirror of https://github.com/pret/pokecrystal.git
Replace two numbers with constants (found by pfero)
This commit is contained in:
parent
2ff7f50584
commit
7350c3708f
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue