We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80f634b commit ecf9327Copy full SHA for ecf9327
data/items.ts
@@ -3065,14 +3065,14 @@ export const Items: import('../sim/dex-items').ItemDataTable = {
3065
}
3066
},
3067
onAnySwitchIn() {
3068
- const pokemon = (this.effectState.target as Pokemon);
+ const pokemon = this.effectState.target as Pokemon;
3069
if (!pokemon.hp) return;
3070
if (pokemon.moveSlots.some(move => move.pp === 0)) {
3071
pokemon.eatItem();
3072
3073
3074
onAnyAfterMove() {
3075
3076
3077
3078
0 commit comments