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

[Essentials Tutorial] How to add evolutionary stones

sverre712

Ummmmmmm...
14
Posts
8
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