lets say my Starmie only have 10% hp left and it used rapid spin on a ferrothorn holding rocky helmet with added damage from its ability iron barbs it should be around 25% of damage dealt, and it already set up the hazards (Stealth Rocks/Spikes). So will my starmie still spin the hazards away since it fainted on that turn?