• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
Change Name from Party Menu

Change Name from Party Menu 2018-12-03

Pokémon Essentials Version
v17.2 ➖
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:
Ruby:
Expand Collapse Copy
      break if pkmnid<0 # Canceled
      cmdEntry   = -1
      cmdNoEntry = -1
      cmdSummary = -1
      commands = []
And under cmdSummary = -1 we add:
Ruby:
Expand Collapse Copy
      cmdApodo   = -1
Then, search pkmn = @party[pkmnid] and under:
Ruby:
Expand Collapse Copy
commands[cmdSummary = commands.length]   = _INTL("Summary")
We add:
Ruby:
Expand Collapse Copy
      commands[cmdApodo = commands.length]     = _INTL("Change Name")
In the same Script, we search:
Ruby:
Expand Collapse Copy
      if cmdSummary>=0 && command==cmdSummary
        @scene.pbSummary(pkmnid)
And we paste under it: (show printable version to avoid errors)
Ruby:
Expand Collapse Copy
      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!
Credits
@Diego Mertens
  • Like
Reactions: TechSkylander1518
Author
Diego Mertens
Views
1,770
First release
Last update

Ratings

5.00 star(s) 1 ratings

More resources from Diego Mertens

Back
Top