EDIT
I think this is preferable, though I haven't had time to test it to make sure I've got all the bits and pieces in correctly. What I have done (I hope) is a common event set to parallel process and triggered by a switch you turn on when you want this feature to begin.
First I set a variable switch to count the number of steps the player takes.
Then, when that count reaches 500 or more, the random roll is carried out. I have put it to 500 or more just in case the 'wait' means that the player takes 501 steps.
The random roll is set to 1-20.
There are 2 chances to get a small healing drink (= 1 in 10)
There is 1 chance to get a medium healing drink (= 1 in 20)
Therefore there are 17 chances that the player gets nothing.
After the item has been allocated, or not, the step counter is returned to zero.
The 'wait' is because you do not need this to run 60 times a second, and so a wait will reduce the chance of lag.
Image in the spoiler