Flamewolf Okay I looked over her code and there doesn't seem to be anything that would cause the issue you are having.
She has two states with regards to the Gold House:
1. One of them causes the menu "Chat/Sex/Leave" to appear. If you are seeing Chat and Leave, you should also be seeing the option for Sex. There is no code in the game that only displays the Chat and Leave option.
2. The other option says "Chat" or "Nothing..." I'm guessing this is the menu you are actually seeing, and you reported it as "Leave" instead of "Nothing..." I'd be interested to get a screenshot of exactly what you are seeing however, as this may help.
Anyway, assuming you are seeing the second menu, this is something that should never appear after she gives birth. It should be literally impossible. There's only one time when she shows this menu; When you are standing outside of the house, after purchasing it, and before going inside. In order to get her to progress from that menu to the next, all you need to do is go inside of the house and talk to her once or twice.
I checked all of her scripts for repeatable sex, birth, and other events that can be viewed and none of them would change her variable low enough to the point where you'd see this menu. I also checked her behavior in the castle bath and the throne room and found no problems. For this reason I think one of two things happened:
A. You have only spoken to her outside of the house. You need to go into the house to progress her storyline further.
B. Some kind of very strange bug that does not appear naturally anywhere in the code has somehow caused her variable to be set to an extremely low value, so low that even going into the house won't fix it. This should be impossible but who knows, anything is possible.
Anyway, I'm not going to investigate this bug anymore unless you show me a screenshot of her interaction menu while you are standing inside of the house talking to her. If you got Chat/Leave to appear I'd be pretty surprised. If you can only get Chat/Nothing to appear, I'd like to see exactly which dialogue she is displaying. One of them should be impossible in the house. The other one should immediately progress her quest after it is shown. Either way, I don't currently see a way that she gets stuck, and would need to get more information before I could even begin to investigate.