Update src/data/items.h

Co-authored-by: ultima-soul <33333039+ultima-soul@users.noreply.github.com>
This commit is contained in:
Eduardo Quezada D'Ottone 2021-10-04 19:05:47 -03:00 committed by GitHub
parent ff24b15241
commit fd9b2eddbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1852,7 +1852,7 @@ const struct Item gItems[] =
.name = _("Sitrus Berry"),
.itemId = ITEM_SITRUS_BERRY,
.price = 20,
#if I_SITRUS_BERRY_HEAL >= GEN_4
#if defined(BATTLE_ENGINE) && I_SITRUS_BERRY_HEAL >= GEN_4
.holdEffect = HOLD_EFFECT_RESTORE_PCT_HP,
.holdEffectParam = 25,
#else