- Pokémon Essentials Version
- v21.1 ✅
This script was originally part of a utility library I'm creating, but since it has no dependencies, I decided to release it as a standalone script. It allows you to create custom Pokémon and Eggs using a hash format.
It changes the creation process from this:
To this much simpler format:
In addition to this change, my script allows you to modify aspects that you couldn't in vanilla Essentials. Among them, you can modify:
I've also included
And I also added the ability to add a Move Pool to which you can assign moves. Through "lottery", you can make the Pokémon able to learn the amount you assign. These moves also have their own weight (probability).
If you're wondering if you need to edit the PBS files, the answer is no. That's precisely why I created this script—to avoid having to create new forms for certain events.
The plugin folder includes a file (002_Events) with examples of how to use it.
Things to implement in the future:
So far, it hasn't caused any issues for me, so it shouldn't conflict with other scripts. As always, you can report any issues that may arise.
It changes the creation process from this:
Ruby:
pkmn = Pokemon.new(:EEVEE, 10)
pkmn.name = "Hope"
pkmn.shiny = true
pkmn.poke_ball = :PREMIERBALL
pkmn.nature = :TIMID
pkmn.item = :SOOTHEBELL
pkmn.iv[:HP] = 31
pkmn.iv[:ATTACK] = 31
pkmn.iv[:DEFENSE] = 31
pkmn.iv[:SPECIAL_ATTACK] = 31
pkmn.iv[:SPECIAL_DEFENSE] = 31
pkmn.iv[:SPEED] = 31
pkmn.learn_move(:SWIFT)
pkmn.learn_move(:CHARM)
pkmn.learn_move(:BITE)
pkmn.calc_stats
pbAddPokemonWithNickname(pkmn)
To this much simpler format:
Ruby:
eevee_data = {
species: :EEVEE,
level: 10,
nickname: "Hope",
shiny: true,
nature: :TIMID,
item: :SOOTHEBELL,
poke_ball: :PREMIERBALL,
ivs: :perfect,
moves: [:SWIFT, :CHARM, :BITE]
}
pkmn = PokemonFactory.create(eevee_data)
pbAddPokemonWithNickname(pkmn)
In addition to this change, my script allows you to modify aspects that you couldn't in vanilla Essentials. Among them, you can modify:
- The Pokémon's base stats.
- The Pokémon's types.
- Assign a specific Hidden Power type, regardless of IVs.
- Prevent the created Pokémon from being able to evolve.
- Assign any cry you want, as long as it's in the SE folder.
I've also included
pbAddPokemonWithNickname
, a function that does everything a normal pbAddPokemon
does but skips the step of asking for a nickname. This is ideal for when you're giving a Pokémon that already has a name.And I also added the ability to add a Move Pool to which you can assign moves. Through "lottery", you can make the Pokémon able to learn the amount you assign. These moves also have their own weight (probability).
If you're wondering if you need to edit the PBS files, the answer is no. That's precisely why I created this script—to avoid having to create new forms for certain events.
The plugin folder includes a file (002_Events) with examples of how to use it.
Things to implement in the future:
- "Signature" moves. For example, a Pikachu with a Thunder Shock that has the power of Thunder.
- Its own type chart.
- Custom sprites.
- An HTML tool to make creating Pokémon even easier.
- Whatever else comes to mind, ha ha ha...
So far, it hasn't caused any issues for me, so it shouldn't conflict with other scripts. As always, you can report any issues that may arise.
- Credits
- Zik