Better randomization of flipped corpses

* Increase/decrease the chances of the next corpse being flipped or not
based on whether those before it were on not. This is so it is less
likely to have corpses grouped together that are all the same.
* When walking over health in god mode, no need to check existing
health.
* Several optimisations.