• Hi, Guest!
    Some images might be missing as we move away from using embedded images, sorry for the mess!
    From now on, you'll be required to use a third party to host images. You can learn how to add images here, and if your thread is missing images you can request them here.
    Do not use Discord to host any images you post, these links expire quickly!
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:
      break if pkmnid<0 # Canceled
      cmdEntry   = -1
      cmdNoEntry = -1
      cmdSummary = -1
      commands = []
And under cmdSummary = -1 we add:
Ruby:
      cmdApodo   = -1
Then, search pkmn = @party[pkmnid] and under:
Ruby:
commands[cmdSummary = commands.length]   = _INTL("Summary")
We add:
Ruby:
      commands[cmdApodo = commands.length]     = _INTL("Change Name")
In the same Script, we search:
Ruby:
      if cmdSummary>=0 && command==cmdSummary
        @scene.pbSummary(pkmnid)
And we paste under it: (show printable version to avoid errors)
Ruby:
      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,711
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from Diego Mertens

Back
Top