My mp: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
ZammyWarrior (talk | contribs) No edit summary |
||
| Line 4: | Line 4: | ||
[[Category:Ash Functions |My mp()]] | [[Category:Ash Functions |My mp()]] | ||
[[Category:Needs Code Samples | My mp()]] | [[Category:Needs Code Samples | My mp()]] | ||
<pre>if(my_mp() == 0){ | |||
restore_mp(mymax_mp()); | |||
} </pre> | |||
Revision as of 03:25, 31 August 2007
int my_mp()
Returns your current and highest available HP and MP levels
if(my_mp() == 0){
restore_mp(mymax_mp());
}