The PokéCommunity Forums

The PokéCommunity Forums (
-   Pokémon Essentials (
-   -   Question Script that heals only HP? (

MC50 March 17th, 2013 4:03 PM

Script that heals only HP?
I'm sure it's not too complex, but I'm looking to see if there is a way to make a new script that heals only your health, and not PP or status effects. Thanks.

Derxwna Kapsyla March 18th, 2013 5:50 AM

If I was doing it, I would look up the code to see how Potions work, and examine it to see what determines their ability to heal only HP. Then, apply that method to an individual event by having it call the script function I suppose. I have no idea if this will work, and someone else would probably know. It doesn't hurt to try, though.

Luka S.J. March 18th, 2013 6:42 AM


Where X would be your Pokemon slot number (from 0 to 5)


def pbHealPartyHP
  for i in 0...$

Or use the example code I just wrote above.

Nickalooose March 20th, 2013 7:04 PM


x = 0,1,2,3,4 or 5

See a pattern here, all pretty much works the same way

All times are GMT -8. The time now is 4:41 PM.

Like our Facebook Page Follow us on Twitter © 2002 - 2015 The PokéCommunity™,
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / Poké
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2015.