• 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.

[Error] Some Attacks get Ignored

Atlat

Atlat
  • 90
    Posts
    5
    Years
    • Seen yesterday
    So I implemented the Gen 8 stuff by WolfPP and everyone he worked with, and everything seems fine. I'm not getting any errors.

    However, I soon realized that certain attacks are just being ignored in battle. The worst part is that I don't even understand what the correlation between these attacks are. They include moves like Growl, Tail Whip, and Leer (but not Charm or Iron Defense), Icy Wind and Blizzard (but not Ice Punch or Ice Beam), Electroweb, Snarl, and Acid. There are probably more than this, I'd have to do more research on that. Most seem to have a common theme in that stat lowering moves by one stage are involved, which makes Blizzard particularly weird. I just tried to see if adding Mirror Armor was the cause, but it doesn't seem like it.

    Does anyone have any idea where to even begin?
    Because I'd really, really like to not have to start over with the coding portion...
     
    You have posted about issues with the Gen 8 Stuff multiple times in multiple threads. Be patient someone will answer your questions eventually.

    You inserted alot of code from the internet into your project and now don't know what code does what. Been there, done that. I remember I was adding all the Gen 7 Code I could find on Pokécommunity and then realized my battle system was behaving weirdly. You make one mistake in copying, even if its something as small as a single "end", it could ruin your code.

    None of us know what all you have added into your game other than the Gen 8 Stuff. We also don't know whether you have tested that the multi-hit moves or the stat decreasing moves were working before you added the Gen 8 Stuff. So, I really can't help you with this. At this point your best plan of attack is to trace back your steps, evaluate all the new code you have added into your game. Read every statement and try to understand what it means and try to figure out what is causing the error.

    And from now onwards, make sure that whenever you add new code to any existing Section, add something to indicate that changes have been made to that part of the code. Something even as simple as
    Code:
    # newscript Adds Galar Yamask Evo
    can do wonders because you can just use Ctrl+Shift+F to find it.

    Also a good practice is to document all the changes you have made to your code in a .txt file. Eg:
    Code:
    Added Pokemon Amie
    Added Elite Battle System
    Added All Gen 7 Item Scripts
    Removed Z-Move Addon

    This is all mentioned on the Essentials Wiki, which you should make a point to read before starting a new game. Simple things like this can do wonders later on when debugging your game. Make sure to make these habitual and I am 99% positive that you will never have an unsolvable Battle Engine Error in your game again.
     
    Back
    Top