lol, it shouldn't matter to you if temporary flags overwrite temporary variables. They're temporary so there's no point in using a temporary variable. Temporary flags are useful though.
As for your hack, having a good idea is fine so long as you remember it's execution that matters.
Sounded a little serious if you ask me.