@pkmn/mods 0.7.29 → 0.7.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1971,7 +1971,7 @@ var Items = {
1971
1971
  inherit: true,
1972
1972
  isNonstandard: "Unobtainable",
1973
1973
  onAfterMoveSecondary(target, source, move) {
1974
- if (source && source !== target && target.hp && move && move.category !== "Status" && !move.isFutureMove) {
1974
+ if (source && source !== target && target.hp && move && move.category !== "Status" && !move.flags["futuremove"]) {
1975
1975
  if (!this.canSwitch(target.side) || target.forceSwitchFlag || target.beingCalledBack || target.isSkyDropped())
1976
1976
  return;
1977
1977
  for (const pokemon of this.getAllActive()) {