My mp: Difference between revisions
Jump to navigation
Jump to search
imported>ZammyWarrior No edit summary |
imported>ZammyWarrior No edit summary |
||
Line 3: | Line 3: | ||
[[Category:Your Character | My mp()]] | [[Category:Your Character | My mp()]] | ||
[[Category:Ash Functions |My mp()]] | [[Category:Ash Functions |My mp()]] | ||
<pre>if(my_mp() == 0){ | <pre>if(my_mp() == 0){ | ||
restore_mp(mymax_mp()); | restore_mp(mymax_mp()); | ||
} </pre> | } </pre> |
Revision as of 23:59, 16 November 2007
int my_mp()
Returns your current and highest available HP and MP levels
if(my_mp() == 0){ restore_mp(mymax_mp()); }