The three items I added for demonstration purposes. Weak Potion is the one that heals very little HP (2-5), Moldy Bread is the one that you risk getting the Food Poisoning state but also be healed a small amount (originally it was either/or but I'm planning on changing that), Foul Brew either inflicts a Fever/Headache/Sore Throat/Listless state on the user or blows them up for 20 damage (OR thanks to Yanfly's new plugins, the foe, making this actually a blessing in disguise if you use it on them instead).
I use Weak Potion. It does nothing. Wonderful.
I use Moldy Bread. I get no healing at all and get the state instead. I tried testing this earlier, and I either got the state or no healing at all.
I use Foul Brew. I get one of the states I added just fine.
Here's the Common Event for that btw: