Okay. I cut out a bunch of irrelevant stuff, but here's the debug log from a few fights. gooseDronesRemaining goes down from 2 to 1, then from 1 to 0, then grey goose is switched in to emit drones, and they go from 0 to 1, but they don't decrement in that battle when they are in fact used up...