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.
I was having the same problem with the one I download from romulations onto my R4. I was wonder are you playing it on a R4 or something similar, becuase I have no idea how to put the code and where to put the code to fix the problem. I've search on many forums and there are a series of numbers that is imputed, but I don't where I would put it, if I have an R4.