• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • 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] The Generation 9 Project is overwriting my custom code for Critical Hits, Super Effective attack calculation, and custom text, what do I do?

  • 428
    Posts
    5
    Years
    My Pokemon Essentials project has custom code for Critical Hit damage, and the message that appears when a Critical Hit is performed, but the Gen 9 Misc.rb script appears to be overwriting the changes I made to my game. Or maybe it's something else, commenting out the Gen 9 project's critical hit code didn't fix the issue.

    What do I do?
     
    Last edited:
    I couldn't even find def pbEffectivenessMessage(user, target, numTargets = 1) in any plugin files in my game when I opened each .rb file and CTRL+F'd in each one for it. I can't test my code in the game if something is stopping my game's code from ending up in the compiled game.

    My custom edits to multiple abilities. My changes to weather mechanics. My new custom abilities. None of it seems to make it into the game. Even the foul language I put into the "It's super effective/not very effective" messages just to check if the game is reading my code or somebody else's is missing.
     
    Back
    Top