• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

How to change and display a Pokemon's nickname mid battle?

Changing the name is simple enough, the wiki even says to use the .name="" extension to change the nickname of a pokemon, however the battle screen does not want to reflect this change.

quick notes: The party screen and summary screen does show the nickname change.
I am using Pokemon Essentials v17.2
and the latest version of the Elite Battle System

Example:
Code:
# Zen Mode
    if isConst?(self.species,PBSpecies,:DARMANITAN)
      if self.hasWorkingAbility(:ZENMODE) && @hp<=((@totalhp/2).floor)
        if self.form!=1
          pokemon.name="Zen"
          self.form=1; transformed=true
        end
      else
        if self.form!=0
          self.form=0; transformed=true
        end
      end
    end

Edit: I have figured it out.
use: @name="Zen"
not:pokemon.name="Zen"
 

Attachments

  • [PokeCommunity.com] How to change and display a Pokemon's nickname mid battle?
    namechange.png
    67.3 KB · Views: 20
Last edited:
Back
Top