Quoted By:
A mechanic in my hack will be moves having passive effects in picrel a pokemon that knows the move magnet rise will resist ground moves, what other effects could there be besides gaining resistances?
I don't recommend copying my code, it was lazily implemented and done in an outdated version of pokeemerald-expansion so it might not even work but it does work