• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • 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.

[Essentials Tutorial] How to add evolutionary stones

sverre712

Ummmmmmm...
  • 14
    Posts
    10
    Years
    Ok, lets do this.
    First you want to add the item at the bottom of the items.txt in pbs
    like this:
    Code:
    600,PIXELSTONE,Pixel Stone,1,2100,A peculiar stone that makes certain species of Pokémon evolve. It has a pink butterfly pattern..,1,0,0,
    It dousnt have to be called pixel stone or use the same desc, but i guess you know how to edit it
    then go into the script editor find PItem_Items and Ctrl + F and look for FIRESTONE
    then you shoud see this:
    Code:
    def pbIsEvolutionStone?(item)
      return true if isConst?(item,PBItems,:FIRESTONE) ||
                     isConst?(item,PBItems,:THUNDERSTONE) ||
                     isConst?(item,PBItems,:WATERSTONE) ||
                     isConst?(item,PBItems,:LEAFSTONE) ||
                     isConst?(item,PBItems,:MOONSTONE) ||
                     isConst?(item,PBItems,:SUNSTONE) ||
                     isConst?(item,PBItems,:DUSKSTONE) ||
                     isConst?(item,PBItems,:DAWNSTONE) ||
                     isConst?(item,PBItems,:SHINYSTONE)
      return false
    Then add this:
    Code:
    isConst?(item,PBItems,:PIXELSTONE)
    where PIXELSTONE is, name it what your item is.
    then go to PItem_ItemEffects, right under the previus script part
    and do Ctrl + F FIRESTONE twice
    then this shoud pop up
    Code:
    ItemHandlers::UseOnPokemon.copy(:FIRESTONE,
       :THUNDERSTONE,:WATERSTONE,:LEAFSTONE,:MOONSTONE,
       :SUNSTONE,:DUSKSTONE,:DAWNSTONE,:SHINYSTONE)
    Then add on
    Code:
    ,:PIXELSTONE
    again, where pixelstone is, put whatever your item is.
    Then add the evolution to your pokemon, and your got your evolutionary stone!
     
    Back
    Top