I tried both RocketRobz and CDBiggen suggestion, nothing works.
EDIT: the only thing that works is exporting the save to DeSmuME on PC, playing it from chapter start to after finishing dialogue wit Det. Badd, save it and then export the new .sav file to the 3DS.