Nailed it. There was a duplicated store lower in the code, like:
*.waste 100 >
*.waste .shootval store
-4 .shoot store
clearbool
(properly coded stuff)
store
Without the clearbool between, nothing happened, but with the clearbool, the command was executed.