[RMXP] PP System like Pokemon

Started by lecospn, April 03, 2021, 04:05:16 pm

Previous topic - Next topic

lecospn

Hi guys, how are you?

I need a script to create a PP System, like the one in Pokemon games. Basically, every skill in the game has a PP, a number of times it can be used. After the player use the skill that number of times, the skill become unavailable until the player resets it.

So, what I need is:

- determine the number of times a skill can be used (like 10, 15, 50, etc);
- show that number to player + the current usage of the skill (like 10/15, meaning the skill has 10 more uses);
- a way to recover that number, like recover HP.

I found this script by Engr. Adiktuzmiko that has everything that I wanted, but is in RGSS3 and not RGSS. If someone could convert it, would be nice.

Thanks in advanced!