< >
Hello, guest! Please log in or register.

The PokéCommunity

Go Back     The PokéCommunity Forums > Create & Discover > Game Development > Pokémon Essentials Question Script that heals only HP?


Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.

Reply Post Reply
Thread Tools
Old March 17th, 2013 (4:03 PM).
MC50 MC50 is offline
Join Date: Aug 2006
Nature: Adamant
Posts: 21
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.
Reply With Quote
Old March 18th, 2013 (5:50 AM).
Derxwna Kapsyla's Avatar
Derxwna Kapsyla Derxwna Kapsyla is offline
X-Class Project, Derxwna, #003
Join Date: Jun 2011
Location: Margate, FL
Age: 22
Gender: Male
Nature: Lax
Posts: 334
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.
Development Blog:
For more information future news and updates to any projects, the following blogs are where I post information. You can usually hit me with a message there when it comes to bug reports or feedback, or general conversation about something.
Game Projects:
In Progress:
Reply With Quote
Old March 18th, 2013 (6:42 AM).
Luka S.J.'s Avatar
Luka S.J. Luka S.J. is offline
Jealous Croatian
Join Date: Dec 2008
Location: Croatia
Age: 22
Gender: Male
Nature: Adamant
Posts: 959
Where X would be your Pokemon slot number (from 0 to 5)

def pbHealPartyHP
  for i in 0...$Trainer.party.length
Or use the example code I just wrote above.
Reply With Quote
Old March 20th, 2013 (7:04 PM).
Nickalooose Nickalooose is offline
Join Date: Mar 2008
Gender: Female
Posts: 1,225

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

See a pattern here, all pretty much works the same way
Reply With Quote
Reply Post Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

  All times are GMT -8. The time now is 5:13 AM.

Contact Us Archive Privacy Statement Terms of Service Top