public class InMouth extends StatusBase
  • Constructor Details

  • Method Details

    • stopsSwitching

      public boolean stopsSwitching()
      Description copied from class: StatusBase
      Determines whether the status stops switching.
      Overrides:
      stopsSwitching in class StatusBase
      Returns:
      Whether the status stops switching.
    • stopsForcedSwitches

      public boolean stopsForcedSwitches(PixelmonWrapper cause)
      Description copied from class: StatusBase
      Determines whether the status prevents another Pokémon from switching them.
      Overrides:
      stopsForcedSwitches in class StatusBase
      Parameters:
      cause - The Pokémon triggering the switch.
      Returns:
      Whether the status stops the forced switch.
    • canAttackThisTurn

      public boolean canAttackThisTurn(PixelmonWrapper pw, Attack a)
      Description copied from class: StatusBase
      Determines whether the statused Pokémon can attack.
      Overrides:
      canAttackThisTurn in class StatusBase
      Parameters:
      pw - The statused Pokémon.
      a - The attack to be used by the Pokémon.
      Returns:
      Whether the Pokémon can attack.
    • stopsIncomingAttack

      public boolean stopsIncomingAttack(PixelmonWrapper pw, PixelmonWrapper attacker)
      Description copied from class: StatusBase
      Determines whether the status stops an attack about to hit the statused Pokémon.
      Overrides:
      stopsIncomingAttack in class StatusBase
      Parameters:
      pw - The statused Pokémon.
      attacker - The attack's user.
      Returns:
      Whether the attack is stopped.
    • skipsTurn

      public boolean skipsTurn()
      Description copied from class: StatusBase
      Determines whether the user skips their turn due to this status. Skips all actions.
      Overrides:
      skipsTurn in class StatusBase
      Returns:
      Whether the turn is skipped
    • stopsIncomingAttackMessage

      public void stopsIncomingAttackMessage(PixelmonWrapper pokemon, PixelmonWrapper user)
      Description copied from class: StatusBase
      Displays a battle message when the status stops an attack.
      Overrides:
      stopsIncomingAttackMessage in class StatusBase
      Parameters:
      pokemon - The statused Pokémon.
      user - The attack's user.
    • isPartnerDondozo

      public boolean isPartnerDondozo(PixelmonWrapper pw)