• 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!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • 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.

[Scripting Question] How to give Shiny Pokémon unique evolutions?

OK, this is simpler than you might think
It is a combination of Galarian evolutions and shinies

First we change the form of your species, (where POKEMON is the species id) to 1 if it is shiny
(If it already has a form 1, then make 1 the lowest number not used!)

MultipleForms.register(:POKEMON, {
"getForm" => proc { |pkmn|
next pkmn.shiny ? 1 : 0 # 1 if shiny, else 0
}
})

You DO NOT have to change any graphics

Next we go to the PBS files and basically copy the pokemon_forms entry for Cubone, and make the changes, but keep the fact that it is form 1
Your evolution will be form 1 upon evolving, but if youre not planning on having multiple forms for the evolution, it won't be a problem

This sounds like a cool concept! Hope this helps!
Swdfm
 
Back
Top