"Pirates, when were they not buggering around?"
"Like oh my god, the 1700s."
"Were they're Aztecs in my bed?"
Did that serve any purpose?
__________________
Gas and masturbation are highly unlikely to be connected with each other. Have you tried to stop masturbating? Has the gas subsided as a result? Perhaps you could try the same experiment by increasing the times you masturbate daily. Do you notice that the gas is increasing?