To trigger the 999 Rare Candies code, press and hold the R and L buttons together with Select. This button combination activates the cheat on supported games and cheat devices.