With this script you can limit your characters to only 4 moves at any given time. However, I added a few twists.
- Your limit between you and your enemies can be different
- For actors this limit is affecting each skill type (you can have 4 moves in each skill type)
- When the notetag to set the skills for an enemy there is no limit
- This is optional for actors
How do moves work in the Pokémon Games?
From the Wikipedia page on the Gameplay of Pokémon
“Like the characters in many role-playing video games, Pokémon are able to learn a wide variety of moves. These moves may inflict damage, induce status problems, restore health, or perform actions that in some way affect the overall battle. All moves have a Type, Power, Accuracy, and amount of Power Points. The moves that one Pokémon may learn are different from another depending on the species of Pokémon; even those that evolve from others do not necessarily learn all the same moves that their predecessors learn. Each Pokémon may only know a total of four moves at any one time. Moves may be learned through leveling up, using TMs and HMs, breeding, and move tutors (NPCs that teach moves).”
<no delete> Makes it so that skills cannot be deleted by normal means
<moves: x, y> Every skill id placed in the notetag is usable by the enemy
hard_delete(actor_id, skill_id) Forcibly removes the skill from the actor
Script Download and Requirements
Required: Enemy Classes and Levels
Required: Basic Module