First of all i used;
Download "R4CCE" (R4 Cheat Code Editor) made by Yasu.
Open R4CCE, and use it to open your usrcheat.dat file.
Click "Add Game", title it.
Where it says Game ID, click the "..." button, and select your Mario and Luigi: Bowser's Inside Story rom.
Check Game Enable.
Click Add...