• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Pokémon Factory

Resource Pokémon Factory 1.3.0

ok
 
Very useful script, this will certainly allow for some interesting giftmons without the need to define extra forms or bloating the Pokedex.
Just a couple of questions:
1) Can the generated Pokemon be used by opposing trainers? It would make for great bosses.
2) Can the generated Pokemon be forbidden from changing forms? (Including Megas/Gmax/Tera)
3) Could you add support for "Custom Innates"
 
Very useful script, this will certainly allow for some interesting giftmons without the need to define extra forms or bloating the Pokedex.
Just a couple of questions:
1) Can the generated Pokemon be used by opposing trainers? It would make for great bosses.
2) Can the generated Pokemon be forbidden from changing forms? (Including Megas/Gmax/Tera)
3) Could you add support for "Custom Innates"
1-Yes. In fact, the next update will feature examples of how to use the factory for WildBattles and, especially, TrainerBattles.

Example:
Ruby:
Expand Collapse Copy
def self.brock_figth
      trainer_party = []

      brock_onix_data = {
        species: :ONIX,
        level: 14,
        nickname: "Goliath",
        item: :BERRYJUICE,
        moves: [:ROCKTOMB, :BIND, :ROCKTHROW, :HARDEN],
        types: [:STEEL, :GHOST],
        base_stats: { defense: 200, attack: 60 }
      }

    # geodude_data= {}
   
      # The Onix is created and added to the team.
      trainer_party.push(ZBox::PokemonFactory.create(brock_onix_data))

      # More Pokémon can be added if needed.
      # trainer_party.push(ZBox::PokemonFactory.create(geodude_data))
   
      trainer = pbLoadTrainer(:LEADER_Brock, "Brock")

      # The team we just created is assigned.
      trainer.party = trainer_party

      # The battle is started using the Trainer object we have prepared.
      TrainerBattle.start(trainer)
    end

I'll probably create a method for inserting Pokémon into already defined teams, because this way the trainer's entire team is eliminated.

2-Not yet at the moment.

3-I don't have plans to add support for other scripts of this style yet. But rest assured, it will be implemented in the future.
 
Last edited:
Back
Top