- Pokémon Essentials Version
 - v19.1 ➖
 
Hey, first time posting anything like this.
When I was looking for this I only found it as an answered question at www.pokecommunity.com. Thinking that someone could find it helpful I decided to post this here.
In the script "Item_Effects". I put it just above the EV vitamins. I put a bunch of comments so I can find where I put things faster. And so I don't forget what I was doing.
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
IVHPITEM is the internal name of the item. This is for the HP IV, you need to repeat the code for each of the IVs (ATTACK, SPECIAL_ATTACK, DEF, SPECIAL_DEF, SPEED).
Don't forget to actually add the items to the items PBS file. I added mine to the bottom and used the EV vitamin as a base.
That should be all. In case anyone is interested here is also my placeholder image for these.
					
					
	
		
			When I was looking for this I only found it as an answered question at www.pokecommunity.com. Thinking that someone could find it helpful I decided to post this here.
In the script "Item_Effects". I put it just above the EV vitamins. I put a bunch of comments so I can find where I put things faster. And so I don't forget what I was doing.
			
				Item_Effects:
			
		
		
		## Item that change IVs ########################################
## Credits to James Davy for the code and TheGary2346 for asking the question at pokecommunity.com
## Option1: Changes to max -->> pkmn.iv[:HP]=31
## Option2: Changes in +2 points -->> pkmn.iv[:HP]=(pkmn.iv[:HP]==30) ? 31 : pkmn.iv[:HP]+2
ItemHandlers::UseOnPokemon.add(:IVHPITEM,proc{|item,pkmn,scene|
   if pkmn.iv[:HP]>=31
     scene.pbDisplay(_INTL("It won't have any effect."))
     next false
   else
     pkmn.iv[:HP]=(pkmn.iv[:HP]==30) ? 31 : pkmn.iv[:HP]+2
     scene.pbRefresh
     scene.pbDisplay(_INTL("{1}'s HP increased.",pkmn.name))
     pkmn.changeHappiness("groom")
     next true
   end
})
	IVHPITEM is the internal name of the item. This is for the HP IV, you need to repeat the code for each of the IVs (ATTACK, SPECIAL_ATTACK, DEF, SPECIAL_DEF, SPEED).
Don't forget to actually add the items to the items PBS file. I added mine to the bottom and used the EV vitamin as a base.
That should be all. In case anyone is interested here is also my placeholder image for these.
- Credits
 - I only posted this here.
Credits to James Davy for the code and TheGary2346 for asking the question at www.pokecommunity.com
I'll take down this post if they don't want this here. 
	