i am not sure if it is all of them i found this while trying to use hp restoring items i think you should make sure those work right or make items meant for healing during battle as those are the only items worth using in battle
I did manage to work out a counter measure so it wouldn't cause the battle to crash. Was kind of funny just having battles end randomly when i was testing though :P