gpSP Gameshark Codes Question

Recently I’ve been using the gpSP emulator for the Nintendo 3DS, once I tried out the cheat code function on Mother 3 (English version and the Japanese version), the codes didn’t seem to work. Did I not set up the codes properly? Here’s what I typed down for the cheat codes: