PokéRogue
    Preparing search index...
    • Matcher to check the amount of PP consumed by a Pokemon.

      Parameters

      • this: MatcherState
      • received: unknown

        The actual value received. Should be a Pokemon

      • moveId: MoveId

        The MoveId that should have consumed PP

      • ppUsed: number | "all"

        The numerical amount of PP that should have been consumed, or all to indicate the move should be out of PP

      Returns SyncExpectationResult

      Whether the matcher passed

      If the same move appears in the Pokemon's moveset multiple times, this will fail the test!