It's the mastercode. For some reason it's interfering with some of the other codes in the database which causes the crash. Best thing is to just remove that code.
Kind of wanting to know if it's possible to get a 1.0.2 version of this code?
[PokeBalls and items never decrease (Hold ZL cancel)]
010E0000 00FD1732 0000001F
80000100
010E0000 00FD1732 00000002
20000000