After two bool variables have been assigned an initial value, they are assigned as arguments in a function.
After being run through the if/ else statement they appear to be correct, but directly after the function they revert back to the original values.
They are not global, but are public.