The one I remember was having to refactor and rewrite some archaic code I'd never seen before. The lead developer went away for two weeks who knew about it, and left vague instructions. That wasn't so bad, until I looked at the code.
Upon examination, whilst having to deal with something like 7 levels of inheritance (where the naming convention they had used made no logical sense), they had this thing called 'isFlag'. There was no indication of what isFlag was meant to be, where it came from, what it was meant to be assigned as.
Aside from doing an damn good job at rewriting this crap (which I still can't believe I did it, given I spent my time on an emotional rollercoaster, almost crying, laughing, head in hands, joking, shouting etc), I still to this day have no idea what the hell isFlag was meant to be, and neither did/do any of my colleagues.