Issues occurred resulting from an incomplete implementation of Inverse Battles from Commit #e59cc2b329.
Attempts to fix have been made through completing the implementation, which also accounts for proto-Fairy.
Additionally, some semi-invulnerable glitches have attempts made to resolve them, involving a generic list and 16bitification of the compare commands.
Damage processing seems iffy but this needs more testing. Type matchups function correctly, though.
Nihon badges now count and Sepia City has its Gym Leader. All fully functional.
I've also distributed the transfer-exclusive Kanto Pokemon items to their relevant owners, plus the Polkadot Bow.