Introducing: The Clear Disk!
Called that way because it's basically an empty TR. Useless on it's own... but with potential to become any move you want! Assuming you have it defined first
The way it works it's very simple:
While equiped to a pokemon, after the user uses a move, it has a 10% chance to "record" the move, and turn itself into the TR that would teach that same move!
As we see here: Crawdant uses Dragon Dance.
I have the TR94 set to teach the move Dragon Dance, so, the clear disk becomes that same TR! And I can remove it from Crawdaunt and use it as normal
It will remain equipped to the pokemon after this so remember to remove it afterwards!... and be carefull to not loose it in a wild battle.
Metronome, Assist, Sketch
Of course, for this to work, you need an item defined as a TR that has the "Move" property to be the same as the move you are using, which, if you want be possible to use on any move, means you need ALL moves to be TR.
Worry not, the rar file includes 3 item.txt files that go into the PBS:
One for the disk itself, and the other 2 for all posible TRs.
The first one it's pre-gen 9, which includes all moves from base essentials, meaining moves from gens 1 to 8.
The second one includes all moves from the gen 9 plugin, so if you don't have it, just don't use it.
For all your custom moves, you'll need to make the items yourself.
All TRs are set with a price of 4500, a bp cost of 32, and a fling power of 90.
This has absolutely no reason nor significance whatsowever. It was the value of the item I took as an example and I was too lazy to modify per move-base, so I'll leave that to you and to your game's economy or what monetary value you give to each move.
As for the clear disk itself: It goes into the regular item's pocket of the bag and has a value of 10,000 because... getting any move as a TR it's a bit broken, even if it breaks after 1 use. But you do you.
If you wan't to modify the chance of succes: On the file Clear Disk.rb, you'll see:
Modify the rand to be any number of you choice... or remove the
Since the items are TRs, regular TRs after all, you might want to spice up each pokemon's possible tutor moves. After all, you now have all possible moves as TR at will, make use of it! Go crazy! Go wild!... if you want, of course.
It's a simple script so it shouldn't cause any issues. But please, report any if you ever find one.
Called that way because it's basically an empty TR. Useless on it's own... but with potential to become any move you want! Assuming you have it defined first
The way it works it's very simple:
While equiped to a pokemon, after the user uses a move, it has a 10% chance to "record" the move, and turn itself into the TR that would teach that same move!
Basically after you use a move with the Clear Disk equipped, the game stores the ID of the move you last used and searches through every item that is a TR (Meaning the FIeldUse = TR), and checks each one to see if the "Move" parameter of it corresponds with the same ID of your last move.
If it founds one, it returns that item's ID and replaces the disk with the ID of the item, meaning the TR.
If it founds nothing... it does nothing, you get to keep your disk untill you use a move that is defined.
If it founds one, it returns that item's ID and replaces the disk with the ID of the item, meaning the TR.
If it founds nothing... it does nothing, you get to keep your disk untill you use a move that is defined.
As we see here: Crawdant uses Dragon Dance.
I have the TR94 set to teach the move Dragon Dance, so, the clear disk becomes that same TR! And I can remove it from Crawdaunt and use it as normal
It will remain equipped to the pokemon after this so remember to remove it afterwards!... and be carefull to not loose it in a wild battle.
Metronome, Assist, Sketch
I'm giving this moves it's own segment since they are rather unique:
Sketch works like any other move. Even if it becomes other move, the disk turns into the TR that cotains Sketch
Metronome and Assis on the other hand, behave diferently: The disk will turn into the move they became. So for example, if you use Metronome and it turns into Sword Dance, the disk will turn into the TR that contains Sword Dance. Keep this in mind while using them and make sure to let the player know that.
Sketch works like any other move. Even if it becomes other move, the disk turns into the TR that cotains Sketch
Metronome and Assis on the other hand, behave diferently: The disk will turn into the move they became. So for example, if you use Metronome and it turns into Sword Dance, the disk will turn into the TR that contains Sword Dance. Keep this in mind while using them and make sure to let the player know that.
Of course, for this to work, you need an item defined as a TR that has the "Move" property to be the same as the move you are using, which, if you want be possible to use on any move, means you need ALL moves to be TR.
Worry not, the rar file includes 3 item.txt files that go into the PBS:
One for the disk itself, and the other 2 for all posible TRs.
The first one it's pre-gen 9, which includes all moves from base essentials, meaining moves from gens 1 to 8.
The second one includes all moves from the gen 9 plugin, so if you don't have it, just don't use it.
For all your custom moves, you'll need to make the items yourself.
All TRs are set with a price of 4500, a bp cost of 32, and a fling power of 90.
This has absolutely no reason nor significance whatsowever. It was the value of the item I took as an example and I was too lazy to modify per move-base, so I'll leave that to you and to your game's economy or what monetary value you give to each move.
As for the clear disk itself: It goes into the regular item's pocket of the bag and has a value of 10,000 because... getting any move as a TR it's a bit broken, even if it breaks after 1 use. But you do you.
If you wan't to modify the chance of succes: On the file Clear Disk.rb, you'll see:
if user.hasActiveItem?(:CLEARDISK) && rand(10) == 0
Modify the rand to be any number of you choice... or remove the
&& rand(10) == 0
if you want it to always activate first try.Since the items are TRs, regular TRs after all, you might want to spice up each pokemon's possible tutor moves. After all, you now have all possible moves as TR at will, make use of it! Go crazy! Go wild!... if you want, of course.
It's a simple script so it shouldn't cause any issues. But please, report any if you ever find one.
- Credits
- Sonicover
Pokemon Reloaded - For the original idea... or at least the first one I saw using it.