Added and fixed error checking in feeback_in_battle feature.