From 91509ed1d00ec1e645b037a96fa1790b26e3f75b Mon Sep 17 00:00:00 2001 From: rglezg Date: Thu, 12 Nov 2020 20:51:46 +0100 Subject: [PATCH] Restore mon on catch. --- src/pokemon.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pokemon.c b/src/pokemon.c index 8767207d7beb..0c8b6c822280 100644 --- a/src/pokemon.c +++ b/src/pokemon.c @@ -4353,6 +4353,8 @@ u8 GiveMonToPlayer(struct Pokemon *mon) return SendMonToPC(mon); CopyMon(&gPlayerParty[i], mon, sizeof(*mon)); + PokemonUseItemEffects(&gPlayerParty[i], ITEM_MAX_ELIXIR, i, 0, 0); + PokemonUseItemEffects(&gPlayerParty[i], ITEM_FULL_RESTORE, i, 0, 0); gPlayerPartyCount = i + 1; return MON_GIVEN_TO_PARTY; }