R4 has its own code handler which uses the same code types as Action Replay DS. I believe it can only be used on ROMs, just like other slot-1 flash carts. All standard ARDS codes should work on the R4 (asm codes will not). If a code doesn't work, simply patch the ROM with Toenailed's tool in Apps and Info.