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

[Question] How to show pokemon form name in evolve scene?

4
Posts
4
Years
  • Age 22
  • Seen Nov 23, 2019
Anyone know how to make the evolve scene show the pokemon name AND formname together?
 
Last edited:

WolfPP

Spriter/ Pixel Artist
1,309
Posts
5
Years
Well, you need to edit 'def pbEvolutionSuccess'. this code:
Code:
    Kernel.pbMessageDisplay(@sprites["msgwindow"],
       _INTL("\\se[]Congratulations! Your {1} evolved into {2}!\\wt[80]",
       @pokemon.name,newspeciesname)) { pbUpdate }

To (I think):
Code:
    if @pokemon.form!=0
      Kernel.pbMessageDisplay(@sprites["msgwindow"],
         _INTL("\\se[]Congratulations! Your {1} evolved into {2} {3}!\\wt[80]",
         @pokemon.name,newspeciesname,@pokemon.form)) { pbUpdate }
    else
      Kernel.pbMessageDisplay(@sprites["msgwindow"],
         _INTL("\\se[]Congratulations! Your {1} evolved into {2}!\\wt[80]",
         @pokemon.name,newspeciesname)) { pbUpdate }
    end
Or something like that.
 
Last edited:
1,681
Posts
8
Years
  • Age 24
  • Seen today
Wolf, your code makes it so it says, "Your pokemon evolved into a Charmander 2!", where 2 is the form number.
Code:
fSpecies = pbGetFSpeciesFromForm(species,form)
formname = pbGetMessage(MessageTypes::FormNames,fSpecies)
This is how you can get the form name.
so the block would be
Code:
newspeciesname = PBSpecies.getName(@newspecies)
    oldspeciesname = PBSpecies.getName(@pokemon.species)
    fSpecies = pbGetFSpeciesFromForm(@newspecies,@pokemon.form)
    formname = pbGetMessage(MessageTypes::FormNames,fSpecies)
     if @pokemon.form!=0 && formname && formname!=""
      Kernel.pbMessageDisplay(@sprites["msgwindow"],
         _INTL("\\se[]Congratulations! Your {1} evolved into {2} {3}!\\wt[80]",
         @pokemon.name,formname,newspeciesname)) { pbUpdate }
    else
      Kernel.pbMessageDisplay(@sprites["msgwindow"],
         _INTL("\\se[]Congratulations! Your {1} evolved into {2}!\\wt[80]",
         @pokemon.name,newspeciesname)) { pbUpdate }
    end
 
Back
Top