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

How do I add New Abilities in the script editor

Chrisario

Friend code :0018 2912 2366 let me know
108
Posts
10
Years
  • I have this problem I want to add Protean but in battle Froakie is not the same type of the move when it uses that type of move.
    And I have another question.
    How do add new types of evolutions like Pancham evolves when a Dark type is in party at Lv32,because I really don't know that good about it.

    Oh I got an error at the 6th gen pokemon I did put everything right but it showed an error like this:
    Exception: RuntimeError
    Message: Bad line syntax (expected syntax like XXX=YYY)
    File PBS/pokemon.txt, section 700, key WildItemRare


    Compiler:1672:in `pbEachFileSectionEx'
    Compiler:1655:in `each_line'
    Compiler:1655:in `pbEachFileSectionEx'
    Compiler:1693:in `pbEachFileSection'
    Compiler:2281:in `pbCompilePokemonData'
    Compiler:2279:in `open'
    Compiler:2279:in `pbCompilePokemonData'
    Compiler:3971:in `pbCompileAllData'
    Compiler:4095
     
    Last edited:

    FL

    Pokémon Island Creator
    2,453
    Posts
    13
    Years
    • Seen May 10, 2024
    1. I didn't understand. Did you coded this Ability correctly?

    2. Add the below code in one of custom evolution slots (Custom 1, Custom 2, etc...) with the 32 as parameter (in PBS).
    Code:
        typeRequested=PBTypes::DARK
        if pokemon.level>=level
          for i in $Trainer.pokemonParty
            return poke if i.type1==typeRequested || i.type2==typeRequested
          end
        end

    3. You probably done something wrong at PBS near at the WildItemRare field of the pokémon number 700. Post the data of the pokémon that you added.
     

    Chrisario

    Friend code :0018 2912 2366 let me know
    108
    Posts
    10
    Years
  • 1. I didn't understand. Did you coded this Ability correctly?

    2. Add the below code in one of custom evolution slots (Custom 1, Custom 2, etc...) with the 32 as parameter (in PBS).
    Code:
        typeRequested=PBTypes::DARK
        if pokemon.level>=level
          for i in $Trainer.pokemonParty
            return poke if i.type1==typeRequested || i.type2==typeRequested
          end
        end

    3. You probably done something wrong at PBS near at the WildItemRare field of the pokémon number 700. Post the data of the pokémon that you added.
    It's only Sylveon that said that and that removed all my 6th gen Pokemon and that was frustrating
     
    Back
    Top