ok, here's a little sample code:
THIS IS THE EVENT ON THE HOUSE EXIT:
<>Conditional Branch: If Switch 0002: Gave the Baby is ON
<>Teleport: Whereever you want, probably.... OUTSIDE.
<>
THIS IS THE EVENT WHEN YOU GET THE BABY:
<>Message: Ok I got the baby.
<>Move Event: Change Graphic - NONE (so that you don't see the baby anymore)
<>Erase Event
THIS IS THE EVENT WHEN YOU GIVE THE BABY:
<>Conditional Branch: If Switch 0001: Got Baby is ON
<>Message: Here you go.
<>Switch: 0002: ON
<>
now you can go outside.