• 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!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - which Pokémon protagonist is your favorite? Let us know by voting in our 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.

Pokemon

Lightey

The Night Owl
  • 145
    Posts
    16
    Years
    • Seen Feb 28, 2016
    In the game I'm making, Professor Elm gives you a Cubone, and later, you have to pick between Cyndaquil, Todidile, and Bulbasaur, but I need the script for Pokemon.. What is it?
     
    Kernel.pbAddPokemon(PBSpecies::X,XX)

    Put it in a conditional branch.

    Replace X with the Pokemon name in capitals e.g PIKACHU.

    And replace XX with a number e.g 17
    The number makes it a certain level, so if you want a level 100 arceus the code would be:

    Kernel.pbAddPokemon(PBSpecies::ARCEUS,100).

    hope it helped.
     
    If you go on Pokemon Essentials, just copey an event from there.

    i don't know the proper code, sorry.
     
    Read the notes!!!!!!!!!!!!!!!!!
     
    If you mean in Essentials, then you just need to use a pbWildBattle or a pbTrainerBattle script command. You really should read the notes file through carefully before starting a game...
     
    Back
    Top