mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
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
Block a user