Your explanation of the bug was slightly confusing, but its making sense. On turn 22 Skarmory seems to have the leftovers when it shouldn't. Morever, this is inconsistent with the expected behavior observed on turn 64. I have an idea of what might be causing the bug, do you mind if I look into it?