How do I make an NPC heal the hero?
From OHRRPGCE-Wiki
					
										
					
					That's easy! First include the following lines in your code.
#----------------------------------------------------------------------
plotscript, heal hero, begin
  suspend player
  show text box (23) #Your life points have been restored
  wait for text box
  variable(i)
  for(i,0,3) do, begin
    set hero stat(i,stat:hp, get hero stat(i,stat:hp,maximum stat), current stat)
    set hero stat(i,stat:mp, get hero stat(i,stat:mp,maximum stat), current stat)
  end
resume player
end
#----------------------------------------------------------------------
Replace stat:hp with the real name of your HP stat, and make sure you're including the .HSI file for your game. When you're ready, compile it.
Next, launch Custom and import the script. Then, on the map with the NPC, choose Edit NPCs.... Edit the NPC, or make a new one if you haven't already. Set up the appearance and all that, and then set the Run Script option to heal hero. Finally, place the NPC somewhere, and you're done!
You can customize the script more, to add other effects. In fact, you could also turn it into a save point by asking if the player wanted to save, and using save menu.