i been doing some experimentation and i think there 2 tables active at once. one that sends directly to your inventory and one that sends to your pokemon. and if you have something equipped it will not draw from the second table.
currently did about 15 battles with item and about 20 without small sample size may not be accurate.