- Joined
- Mar 6, 2021
- Posts
- 120
grogro submitted a new resource:
Trainer modifier (part 1) - How to modify a trainer's team before a fight
Read more about this resource...
Trainer modifier (part 1) - How to modify a trainer's team before a fight
With a trainer modifier script, you can change the attributes of any trainer in your game. A trainer modifier script looks like this:
Code:EventHandlers.add(:on_trainer_load, :nameofthemodifier, proc { |trainer| if trainer # check if you are facing a trainer if Condition do what you want end end } )
The Condition is here to determine which trainer will be affected. If you don't put anything, it applies to every trainer in your game.
It can be...
Read more about this resource...