Properly handle depositing/withdrawing of ammo, clean up the checking a bit to remove redundant code