• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • 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
    5
    Years
    • Seen Nov 23, 2019
    Anyone know how to make the evolve scene show the pokemon name AND formname together?
     
    Last edited:
    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:
    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