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

Pokemon

Lightey

The Night Owl
145
Posts
15
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?
     
    35
    Posts
    15
    Years
    • UK
    • Seen May 2, 2009
    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.
     
    35
    Posts
    15
    Years
    • UK
    • Seen May 2, 2009
    If you go on Pokemon Essentials, just copey an event from there.

    i don't know the proper code, sorry.
     
    2,048
    Posts
    16
    Years
    • Seen Sep 7, 2023
    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