• 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.
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • 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] Issue with Pokemon_Forms

  • 11
    Posts
    7
    Years
    • Seen May 14, 2023
    Well, I know this sounds stupid, but my project ceased to work properly for Pokémons whose forms are set on creation. They are always showing in their default form now.

    The strange thing is that I compared my scripts with a clean essential and found that there's no alteration to the methods and modules involved, and Pokémons with form decided upon entering battle works fine. I tried starting a new save but things didn't improve.

    I tried my best to debug myself and the only conclusion I could make is that there should be something wrong with the class PokeBattle_Pokemon. But actually I have no idea because the code seems to be essentially the same with original.

    Anyways, here's my PokeBattle_Pokemon and Pokemon_Forms.

    I'd really appreciate it if anyone has some idea on tackling this.
     
    Last edited:
    It's possible that another script of yours overwrites the initialize method and does not include the call to "getFormOnCreation". I recall this being an issue with the pokemon birthsigns script, but that one has been fixed already, depending on when you grabbed the script. (The one currently posted has the fix.)
    What other scripts do you have in your project?
     
    It's possible that another script of yours overwrites the initialize method and does not include the call to "getFormOnCreation". I recall this being an issue with the pokemon birthsigns script, but that one has been fixed already, depending on when you grabbed the script. (The one currently posted has the fix.)
    What other scripts do you have in your project?

    Thanks for letting me know this! I think that's exactly what I went into as I installed that script ages ago and did not check for updates.
    (Although strangely I think the multiple forms thing once worked for me even with birthsigns but thanks anyway! Will look into this.)
     
    Back
    Top