Skip to content

Commit

Permalink
Ensure the Room Service holder is the source of the stat change
Browse files Browse the repository at this point in the history
This matters for Clear Body, etc.
  • Loading branch information
Marty-D authored Dec 10, 2019
1 parent b3a20bf commit 8f48b30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/items.js
Original file line number Diff line number Diff line change
Expand Up @@ -5183,7 +5183,7 @@ let BattleItems = {
},
onUpdate(pokemon) {
if (this.field.getPseudoWeather('trickroom') && pokemon.useItem()) {
this.boost({spe: -1});
this.boost({spe: -1}, pokemon);
}
},
num: 1122,
Expand Down

0 comments on commit 8f48b30

Please sign in to comment.