Make form change items non-stealable and fix Recover AI

This commit is contained in:
Flashfyre committed 2024-03-27 13:13:37 -04:00
1 parent b94215e3f6
commit 75c9c9cc2c
2 files changed
+6 -1

No files matched your search

+4
View File
@@ -1465,6 +1465,10 @@ export class PokemonFormChangeItemModifier extends PokemonHeldItemModifier {
return ret;
}
getTransferrable(withinParty: boolean) {
return withinParty;
}
getMaxHeldItemCount(pokemon: Pokemon): integer {
return 1;
}