yeah sounds like the ROM hack plays around with the data and checksums in the HoF area.
When you export from PKHeX, it fixes all checksums. So that area gets 'fixed', which isn't what your ROM hack expects, thus it appears as corruption.
You could go with cheat codes for your device/emulator, if those work for this ROM hack.