pokemon-rogue-battle
    Preparing search index...

    Function getPokemonNameWithAffix

    • Retrieves the Pokemon's name, potentially with an affix indicating its role (wild or foe) in the current battle context, translated

      Parameters

      • pokemon: undefined | default

        Pokemon name and battle context will be retrieved from this instance

      • useIllusion: boolean = true

        Whether we want the name of the illusion or not. Default value : true

      Returns string

      ex: "Wild Gengar", "Ectoplasma sauvage"