Skip to content

Fix Imprison effect

Zøzo requested to merge Zodiarche/pokemonsdk:fix/imprison into development

MR Description

  • The Imprison effect no longer existed

Tests to realize

  • As long as the user remains in battle, opponents cannot use any move which is also known by the user.
  • This includes opponents switched in after the move was used.
  • Imprison applies only to the user's current moveset, including any new moves learned when leveling up in battle, or any moves acquired in battle by using Mimic, Sketch, or Transform.
  • A Pokémon will use Struggle if it has no other available moves with PP remaining besides moves blocked by Imprison.
  • Similarly, it will use Struggle if it is forced to use a single move by Encore or a held choice item but that move is blocked by Imprison.
  • On the turn that Imprison is used, if an opposing Pokémon would move after Imprison is used and it selected a move the user knows that turn, it will be unable to use that move and will make no action that turn. In this case, the affected Pokémon will not use Struggle.

Imprison fails if no opponent possesses a move the user knows at the time Imprison is used. (only in gen 3 and 4)

https://bulbapedia.bulbagarden.net/wiki/Imprison_(move)

Edited by Lexio

Merge request reports