• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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?

277
Posts
15
Years
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

  • namechange.png
    namechange.png
    67.3 KB · Views: 19
Last edited:
Back
Top