I'm not sure what main2 is for but It's just 8 bytes, so I guess some kind of checksum or timestamp, it can't hold any pokemon info.
For the "Copy Height" error go to OT/Misc -> Extra bytes and change tthe value for 0x52 to the same value you have in Height. No idea about the merit points issue though