• Hi, Guest!
    Some images might be missing as we move away from using embedded images, sorry for the mess!
    From now on, you'll be required to use a third party to host images. You can learn how to add images here, and if your thread is missing images you can request them here.
    Do not use Discord to host any images you post, these links expire quickly!
Clone trainer (v18+)

v20 Clone trainer (v18+) 1.0

This resource pertains to version 20 of Pokémon Essentials.
Pokémon Essentials Version
v20 ➖
A simple way to turn a trainer into your clone.

For v19 and v20

Installation
Download the Clone trainer folder corresponding to your essentials version. Unzip the folder into the plugins folder of your game.

To make this script work, you need to create a trainer with 6 Pokémons. (they will be erased so it can be anything.)
By default the script is active if switch 63 is on.

Parameters

Open the clone.rb file in an editor like Notepad++.

Instead of triggering by a switch, you can make the script trigger when you face a trainer class (in my game, I created a ghost trainer class). Comment the if $game_switches[63] line and uncomment the line below (change the trainer class to what you want)

By default, the clone is an exact copy of yourself, hp bars and status excluded. You can remove the healing by commenting the #trainer[0].party[ i].heal line.

If you want to customize something trainer[0].party[ i] can be edited as any other pokémon.
You can add trainer[0].party.makeShadow just below for example if you want every of the clone's pokémon to be shadow for example.

For v18
(and probably previous versions)

paste this code in a script section above main (or if you are a maniac, in PField_EncounterModifiers):




To make this script work, you need to create a trainer with 6 Pokémons. (they will be erased so it can be anything.)
By default the script is active if switch 63 is on. You can change it to your personal preference.

Parameters

By default, the clone is an exact copy of yourself, hp bars and status excluded. You can remove the healing by commenting the #trainer[0][2][ i].heal line.

If you want to customize something trainer[0][2][ i] can be edited as any other pokémon.
You can add trainer[0][2].makeShadow just below for example if you want every of the clone's pokémon to be shadow for example.
Credits
Grogro
Thanks to Golisopod User and ThatWelshOne_ for their suggestions.
inspired by Maruno's answer to this thread https://www.pokecommunity.com/showthread.php?t=355257
  • Like
Reactions: Zelo
Author
grogro
Downloads
771
Views
3,595
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from grogro

Latest updates

  1. v20 version

    The v20 version of the script is out. Don't forget to use the version corresponding to your...
Back
Top