Skill PP Cost 1.01 + Add-Ons

How do you set up the PP restore event script?
Just call the script call using the script event command..
How to make a item like  PP Up and PP Max in pokemon game by using this Scripts?


PP Up:Raises the PP of a selected move by 1/5 of the move's base PP, until 3 PP Ups or one PP Max have been used on the Pokémon's move.


PP Max: Raises the PP of a selected move to 8/5 of the move's base PP, but can only be used once per move on a given Pokémon.

Original thread: https://forums.rpgmakerweb.com/threads/skill-pp-cost-1-01-add-ons.21757/