The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

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
 
Thread Tools
  #1    
Old March 17th, 2013, 04:03 PM
MC50
 
Join Date: Aug 2006
Gender:
Nature: Adamant
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
  #2    
Old March 18th, 2013, 05:50 AM
Derxwna Kapsyla's Avatar
Derxwna Kapsyla
X-Class Project, Derxwna, #003
 
Join Date: Jun 2011
Location: Margate, FL
Age: 21
Gender: Male
Nature: Lax
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:
  • Touhoumon Essentials Development Starter Kit for RMXP - Version 1 finished and released.
    The following version is outdated a great deal. Do not bother downloading it. I will have a new, revised version up eventually. If you really want the engine, I can provide you with the current engine Faith & Prayer version uses.
  • Touhoumon: Faith and Prayer Version - Demo 3.1 Released
Reply With Quote
  #3    
Old March 18th, 2013, 06:42 AM
Luka S.J.'s Avatar
Luka S.J.
S.J.Ware HD
 
Join Date: Dec 2008
Age: 20
Gender: Male
Nature: Adamant
Code:
$Trainer.party[x].hp=$Trainer.party[x].totalhp
Where X would be your Pokemon slot number (from 0 to 5)

Code:
def pbHealPartyHP
  for i in 0...$Trainer.party.length
    $Trainer.party[i].hp=$Trainer.party[i].totalhp
  end
end
Or use the example code I just wrote above.
__________________
[STOPPED] Pokemon Blue Chrome
[DEVELOPING] S.J.Ware
[DEVELOPING] Tykanite
Reply With Quote
  #4    
Old March 20th, 2013, 07:04 PM
Nickalooose
--------------------
 
Join Date: Mar 2008
Gender: Female
$Trainer.party[x].hp+=20
$Trainer.party[x].hp-=20
$Trainer.party[x].hp=$game_variables[999]
$Trainer.party[x].hp+=$game_variables[999]
$Trainer.party[x].hp-=$game_variables[999]

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

See a pattern here, all pretty much works the same way
Reply With Quote
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 11:26 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
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éCommunity.com.
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.