Firstly, and most important of all, note that spearfishing with scuba equipment is forbidden.
Scuba equipment cannot be used while spearfishing.
There are no laws prohibiting spearfishing in scuba gear.