Chaos Project

RPG Maker => RPG Maker Scripts => Script Requests => Topic started by: lecospn on April 03, 2021, 04:05:16 pm

Title: [RMXP] PP System like Pokemon
Post by: lecospn on April 03, 2021, 04:05:16 pm
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 (https://pastebin.com/raw/qrNuUFBS) that has everything that I wanted, but is in RGSS3 and not RGSS. If someone could convert it, would be nice.

Thanks in advanced!