Thread: [Question] Script that heals only HP?
View Single Post
  #3    
Old March 18th, 2013 (06:42 AM).
Luka S.J.'s Avatar
Luka S.J. Luka S.J. is offline
@LukaSJ0
 
Join Date: Dec 2008
Location: Croatia
Age: 21
Gender: Male
Nature: Adamant
Posts: 873
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.
__________________
Reply With Quote