Combined two similar ifs to one with xor

There is no need for the two ifs to exist. If both `flipY` and `yDown` are `true` then there will be no effect because of the double negation. This way with XOR the if will execute only if one of the two is true, but not both.