restore items in wild battles (#3031)

This commit is contained in:
ghoulslash 2023-05-28 08:52:58 -04:00 committed by GitHub
commit 4cef99101b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5404,7 +5404,6 @@ static void HandleEndTurn_FinishBattle(void)
BeginFastPaletteFade(3);
FadeOutMapMusic(5);
#if B_TRAINERS_KNOCK_OFF_ITEMS == TRUE || B_RESTORE_HELD_BATTLE_ITEMS == TRUE
if (gBattleTypeFlags & BATTLE_TYPE_TRAINER)
TryRestoreHeldItems();
#endif
for (i = 0; i < PARTY_SIZE; i++)