My best guess is that your device doesn't recognize the code, because code type 5 is not listed on http://doc.kodewerx.org/hacking_gba.html, I can only assume as to its function, if your feeling brave you can try to break the code into usable pieces, i'll start it so you can get an idea how to do it. It might be a little time consuming but the code should work
and so on until you get to 4adc on the last line, at that point you can stop because the two 0000 chunks are just padding.