diff --git a/src/battle.ts b/src/battle.ts index b132533c5..fd001094f 100644 --- a/src/battle.ts +++ b/src/battle.ts @@ -129,7 +129,7 @@ export default class Battle { } addPostBattleLoot(enemyPokemon: EnemyPokemon): void { - this.postBattleLoot.push(...enemyPokemon.scene.findModifiers(m => m instanceof PokemonHeldItemModifier && m.pokemonId === enemyPokemon.id, false).map(i => { + this.postBattleLoot.push(...enemyPokemon.scene.findModifiers(m => m instanceof PokemonHeldItemModifier && m.pokemonId === enemyPokemon.id && m.getTransferrable(false), false).map(i => { const ret = i as PokemonHeldItemModifier; ret.pokemonId = null; return ret;