• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Scripting Question] Error with different Pokémon forms

  • 7
    Posts
    10
    Years
    • Seen Aug 24, 2020
    Hey,

    I'm working on my game, and I tried to add Genesect to a trainer and got the below error. I've tried to add other Pokémon with forms (like Arceus) and get the same problem.

    Spoiler:


    I've Googled and can't find anything. Does anyone have any advice how to fix or any work arounds? I don't want to have to remove all forms from my game.
     
    When I try Maruno's method, I get a different error

    Spoiler:
     
    Can you show the event in which you have the trainer being created? Also are you using EBS? If you could download a clean version of essentials and try adding a (form) pokemon to a trainer on that it might help narrow down your problem, most likely a formatting error of some sort.

    The main thing I'm seeing is that maybe the pokemon you're trying to create aren't holding the required item and so when you are forcing a form without the item required it's pulling an error. Genesects require DRIVES and Arceus require PLATES, I think this might be the case even on enemy pokemon.
     
    Last edited:
    Thanks for your response! I've downloaded a clean version, copy and pasted an existing trainer, changed the name and tried to add a Pokémon. I've tried lots of Pokémon with different forms (not just hold items) such as Shellos, Unown, etc and none of them work.

    Here's the event I've just tried: https://ibb.co/tzWztHB

    I've never used EBS, could that help?
     
    Sorry for the confusion! I meant to ask for a picture/c&p of the text where you are giving a trainer the formed pokemon.

    Anyways, this exact problem has been solved before courtesy of Maruno.

    I'm not totally sure but with the error you get in PTrainer_NPCTrainers; it looks like you could have made a mistake while trying his method

    I run into the same exact error when I download a clean version of essentials and try to encounter a person with a forme mon, but after applying the fix Maruno provides it works perfectly (as seen below), maybe this will help you more as it's a bit more of a spoonfeed:

    step one:
    Spoiler:


    step two:
    Spoiler:


    And then you should be all good to have something like this:

    [PokeCommunity.com] Error with different Pokémon forms


    (given you've entered the correct PBS trainer data, my example from above looks like this in text format)
    Spoiler:


    Hopefully this fixes your problem, if not, hopefully somebody else can step in and show you da wae.

    Good luck!
     
    Last edited:
    Back
    Top