pokemon-rogue-battle
    Preparing search index...

    Class SpeciesFormChangeRevertWeatherFormTrigger

    Class used for reverting to the original form when the weather runs out or when the user loses the ability/is suppressed. Used by Castform and Cherrim.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    ability: Abilities

    The ability that triggers the form change

    description: string = ""
    weathers: WeatherType[]

    The list of weathers that will also trigger a form change to original form

    Methods

    • Checks if the Pokemon has the required ability and the weather is one that will revert the Pokemon to its original form or the weather or ability is suppressed

      Parameters

      • pokemon: default

        the pokemon that is trying to do the form change

      Returns boolean

      true if the Pokemon will revert to its original form, false otherwise