• 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.
  • 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!
  • Scottie, Todd, Serena, Kris - 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.

[Battle] Moves which ignore certain type immunities?

  • 10
    Posts
    8
    Years
    • Seen Nov 21, 2018
    Is there a way to create an 'ignore x type immunity' effect for moves?

    An example would be in Gen 6, Thousand Arrows can hit Flying types despite being a Ground move - I assume it has a flag or effect that could possibly be rewritten to apply to other types that have immunities, unless it's just a flag that just flat out means 'ignore immunity'. You'd probably need to set it manually for each move you'd want to ignore immunities, but I'd be interested in having it work to change Special Dragon moves to hit Fairy, Special Normal/Fighting moves to hit Ghost, Physical Psychic moves to hit Dark, and/or Physical Electric moves to hit Ground.

    If anything, it might be easier creating a Dragon-version of Mind's Eye that allows hitting Fairy/a Electric-version that allows hitting Ground. (Which again is probably just creating a new effect using Mind's Eye as a template.)

    I know we are definitely nowhere near the level of being able to edit a Gen 5/6 game to the point that we can Gen 3.
     
    Generally moves with more complex effects like that (Scald's defrosting effect, Psyshock, etc.) are handled by the battle engine itself. The game has specific routines it calls when one of those moves is used, which means that the effect is tied to the move ID number rather than the move effect number. Unfortunately, this means creating more moves with an effect like Thousand Arrows outside of the first three gens is very difficult; you'd have to do it by editing the battle engine rather than just the move.

    There's definitely a way to do it, but the method depends on which game you want to modify.

    EDIT: to clarify, here's an example: giving another ground move Thousand Arrows' effect ID won't allow it to hit flying types (or at least it didn't work when I tried it with Bonemerang).
     
    Damn, that's exactly what I wanted to change too - projectile Ground moves not hitting Flying types, or that non-Fighting Punches hit Ghosts at all.

    I'm assuming the battle engine for Gen VI is split between the code.bin and DllBattle.cro, if not entirely contained in the latter.
     
    Back
    Top