Class Submerged


public class Submerged extends StatusBase
Prevents most moves from hitting the Pokémon. Used while executing Dive.
  • Constructor Details

    • Submerged

      public Submerged()
      Initializes the status.
  • 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.
    • stopsIncomingAttack

      public boolean stopsIncomingAttack(PixelmonWrapper pokemon, PixelmonWrapper user)
      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:
      pokemon - The statused Pokémon.
      user - The attack's user.
      Returns:
      Whether the attack is stopped.
    • 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.