I used this code:
94000130 fffb0000
022340a8 03840074
022340ac 03840075
022340b0 03840076
022340b4 03840077
02234344 0384023c
02234348 0384023d
0223434c 0384023e
02234350 0384023f
02234354 03840240
02234358 03840241
d2000000 00000000
94000130 fffb0000
d5000000 03840001
c0000000 0000000f
d6000000 02233fac
d4000000 00000001
d2000000 00000000
94000130 fffb0000
d5000000 03840041
c0000000 0000002e
d6000000 02233fec
d4000000 00000001
d2000000 00000000
94000130 fffb0000
d5000000 03840087
c0000000 0000000c
d6000000 022340b8
d4000000 00000001
d2000000 00000000
from this website: http://www.supercheats.com/nintendods/pokemon-black/6912/ar-codes/All-Items-EXCLUDING-KEY-ITEM/.
After I used it, my game froze when i hit the Y button.