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

Alternate Forms

1,224
Posts
10
Years
  • I'm having a bit of trouble understanding how/what can make a pokemon change its form for good. i.e. I'm trying to incorporate a crystal Onix into my game, but as an alternate form instead of a new pokemon. I added his the coding for his alternate form, but I don't really understand how to make him become that form (or start as that form, since it will be an event encounter). I read the wiki and everything, I just am a little confused.
     

    Radical Raptr

    #BAMFPokemonNerd
    1,124
    Posts
    13
    Years
  • so you make the alternate form of the onix and get it all squared away, I assume it will be it's first and only other form

    if it is it's only other form then use this, if not change the red to coincide properly
    Code:
    p=PokeBattle_Pokemon.new(PBSpecies::ONIX,[COLOR="Lime"]5[/COLOR],$Trainer)
    p.form=[COLOR="Red"]1[/COLOR]
    Kernel.pbAddPokemon(p)

    red = the correct form
    green = the level you want it to be at
     
    1,224
    Posts
    10
    Years
  • so you make the alternate form of the onix and get it all squared away, I assume it will be it's first and only other form

    if it is it's only other form then use this, if not change the red to coincide properly
    Code:
    p=PokeBattle_Pokemon.new(PBSpecies::ONIX,[COLOR="Lime"]5[/COLOR],$Trainer)
    p.form=[COLOR="Red"]1[/COLOR]
    Kernel.pbAddPokemon(p)

    red = the correct form
    green = the level you want it to be at

    I meant that I want to battle the onix, not just give it to the player. Sorry, wasn't clear about that. Also, I would like for it to evolve into a crystal steelix, do I have to add anything for that?
     
    Last edited:

    Maruno

    Lead Dev of Pokémon Essentials
    5,286
    Posts
    16
    Years
    • Seen May 3, 2024
    Have a look at the event Mew encounter in the example maps. Mew is forced to be shiny and a fateful encounter. Do something similar to that, but with making the Pokémon's form 1 instead.

    So long as the Crystal Steelix is also form 1 of Steelix, then there's nothing to worry about with evolution.
     
    378
    Posts
    11
    Years
    • Seen Oct 18, 2017
    How would one make it so the alternate forme has a different moveset, but nothing else changed?
     
    Back
    Top