var pp = new PregnancyPlaceholder();
if(!pp.hasVagina()) pp.createVagina();
pc.girlCumInMouth(pp);
Code in question. PregnancyPlaceholder() ain't got none of that, so naturally things crash. Could do a hasOwnProperty check for the function first, but then the createVagina will fail.
Looking at the code it seems PregnancyPlaceholder to be a place holder code,
because this option is only accessible if PC has female parts, seems redundant to have pp.createVagina(); .