Hey, I think you're talking about chrono trigger for ds?
I'm using an acekard r.p.g but the code should work for R4 too.
I'm not really sure how it works for R4 but I put the code in notepad and save it in CC format and put it in the same folder as the roms are and it works.
Try finding out in what format it needs to be for R4 or just go to gbatemp. They make most of the codes and were the first ones to bypass the chrono triggers loop. Most of the codes are tested on R4 and acekard cartridges there.