My maxhp: Difference between revisions
Jump to navigation
Jump to search
ZammyWarrior (talk | contribs) No edit summary |
ZammyWarrior (talk | contribs) No edit summary |
||
| Line 3: | Line 3: | ||
[[Category:Your Character | My maxhp()]] | [[Category:Your Character | My maxhp()]] | ||
[[Category:Ash Functions |My maxhp()]] | [[Category:Ash Functions |My maxhp()]] | ||
<pre>if(my_hp() == 0){ | <pre>if(my_hp() == 0){ | ||
restore_hp(mymax_hp()); | restore_hp(mymax_hp()); | ||
} </pre> | } </pre> | ||
Revision as of 23:59, 16 November 2007
int my_maxhp()
Returns your highest available HP level
if(my_hp() == 0){
restore_hp(mymax_hp());
}