Does the pause screen scroll up from the bottom too? That's one thing I always thought was neat aesthetically about LoZ1, the HUD was actually part of the pause screen.
I'm still confused why your original code did what it did. If anything it should have resulted in the original door *re-locking* itself, not all the doors magically unlocking themselves. Really weird...I know, moot point since it's fixed now, but I do like to try to understand the cause of a bug even after fixing it. Otherwise it's just voodoo debugging.
That's exactly what the hook-list.js script does, although I'm not sure where you could get a copy now...