• 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!
Resource icon

Tutorial Trainer modifier (part 1) 1.0

grogro

Cooltrainer
Member
Joined
Mar 6, 2021
Posts
112
grogro submitted a new 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...
 
Back
Top