mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07: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
|
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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user