• 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.

Change Name from the party

180
Posts
6
Years
  • Age 20
  • Seen Apr 15, 2024
My original post: Cambiar Mote desde el Equipo
¡Alola!
Do you remember the practic Let´s Go Pikachu & Eevee's Nickname change from the Party? Well, You can add it to your Essentials 17.2 game!
pokemon-lets-go-change-name.jpg

First, we're going to the "PScreen_Party" Script, and search for:
Code:
      break if pkmnid<0 # Canceled
      cmdEntry   = -1
      cmdNoEntry = -1
      cmdSummary = -1
      commands = []
And under cmdSummary = -1 we add:
Code:
      cmdApodo   = -1
Then, search pkmn = @party[pkmnid] and under:
Code:
commands[cmdSummary = commands.length]   = _INTL("Summary")
We add:
Code:
      commands[cmdApodo = commands.length]     = _INTL("Change Name")
In the same Script, we search:
Code:
      if cmdSummary>=0 && command==cmdSummary
        @scene.pbSummary(pkmnid)
And we paste under it: (show printable version to avoid errors)
Code:
      elsif cmdApodo>=0 && command==cmdApodo
        if pkmn.isForeign?($Trainer) #checks if the pokemon isnt yours, if is that the case, shows text
          @scene.pbDisplay(_INTL("This Pokémon isn't yours.\nIts in memory of it's Original Trainer."))
        else
          @scene.pbDisplay(_INTL("Choose the Nickname that you want."))
          speciesname = PBSpecies.getName(pkmn.species)
          oldname = (pkmn.name && pkmn.name!=speciesname) ? pkmn.name : ""
            newname = pbEnterPokemonName(_INTL("{1}'s nickname?",speciesname),
                0,PokeBattle_Pokemon::NAMELIMIT,oldname,pkmn)
            if newname && newname!=""
              pkmn.name = newname
              pbRefreshSingle(pkmnid)
            elsif newname="" #if the name is null, will...
              pkmn.name = speciesname #...change its name from the species name
              pbRefreshSingle(pkmnid)
            end
        end
Will look like this: (the photos are in spanish, because are from the original post made by me)
If its from othe Trainer:
1oldcIN.png
F9GhOvt.png

SV4tpwh.png

If is yours:
86umJxy.png
fHkF85B.png

xBlDOYG.png
ldQQtNP.png


This is the end of the post, I hope that you enjoy it.
If is there an error, let me know it.
See you later!
 
Last edited:
180
Posts
6
Years
  • Age 20
  • Seen Apr 15, 2024
If you want to put it under the switch option like in the games, just put the last script under this:
Code:
      elsif cmdSwitch>=0 && command==cmdSwitch
        @scene.pbSetHelpText(_INTL("Move to where?"))
        oldpkmnid = pkmnid
        pkmnid = @scene.pbChoosePokemon(true)
        if pkmnid>=0 && pkmnid!=oldpkmnid
          pbSwitch(oldpkmnid,pkmnid)
        end
 
2
Posts
5
Years
  • Age 24
  • Seen Jan 13, 2019
For some reason, that doesn't work. I did everything that you wrote, but nothing shows up.
 
Last edited:

WolfPP

Spriter/ Pixel Artist
1,309
Posts
5
Years
For some reason, that doesn't work. I did everything that you wrote, but nothing shows up.

In 'PScreen_Party' find
Code:
cmdSwitch  = -1
inside 'def pbPokemonScreen'. Under, paste:
Code:
cmdName    = -1

Then, inside
Spoiler:

paste
Code:
      commands[cmdName = commands.length]         = _INTL("Change Name")

Finally, search to:
Spoiler:


And paste below:
Spoiler:
 
Last edited:
Back
Top