This script replicates the shadow pokemon system from Pokemon Colesseum and XD. The system allows for you to deam actor and enemies as Shadow Pokemon
What are Shadow Pokémon?
From the Bulbapedia Article on Shadow Pokémon
Shadow Pokémon (Japanese: ダークポケモン Dark Pokémon) are Pokémon that are being used for wrongful acts because they had the doors to their hearts shut artificially, a process created and carried out by Cipher in the Orre region. Collecting Shadow Pokémon through snagging and restoring them to normal is the main goal of Pokémon Colosseum and Pokémon XD: Gale of Darkness.
<shadow> Indicates that the actor/enemy is a Shadow Pokémon
<scent: x> Causes the skill to reduce the heart guage by x
<snag ball> Causes the skill if it is a Pokeball to override the rule about catching trained Pokemon if the target is shadow
<time flute> Causes the skill in instantly purify a Pokemon
<call> Causes the Skill to Snap the User Out of Hyper Mode
purify_ready?(actor_id) Used to check if an actor is ready to be purified
relic_stone(actor_id) Calls purifications if possible for the user
Required: Crystal Engine – Basic Module