• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • 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 a Pokemon form?

  • 14
    Posts
    5
    Years
    • Seen Jun 5, 2021
    I´m trying to give to the player a Pokemon who have various forms. Most exactly, a Lycanroc Dusk form. I have been loking for how to do it, but i haven´t find nothing. Must i to use a script or can i do that with the Vanilla Essentials?
     
    You can create a gift Pokemon with various defined attributes (Nature, IV, form #, moveset, etc...) based on the example event 008 on example map 026 that comes with default Essentials

    p=pbNewPkmn(:LYCANROC,25)
    p.form=2
    p.calcStats
    pbAddPokemon(p)

    Not sure if the pkmn.calcStats is necessary if you aren't adjusting its nature or IV's, but I'd put it in there to be safe.
     
    Last edited:
    You can create a gift Pokemon with various defined attributes (Nature, IV, form #, moveset, etc...) based on the example event 008 on example map 026 that comes with default Essentials

    p=pbNewPkmn(:LYCANROC,25)
    p.form=2
    p.calcStats
    pbAddPokemon(p)

    Not sure if the pkmn.calcStats is necessary if you aren't adjusting its nature or IV's, but I'd put it in there to be safe.

    Thank you so much for the help!
     
    Back
    Top