AngryAndConflict

Results 3 issues of AngryAndConflict

Generalized, currable clamp function and it's usage in brighten

Also changed ifs to switch, this way it is more readable and compact