[Very speculative, but piracetam may reverse tolerance for MDMA]
"Press and internet reports mention abuse of nootropic drug piracetam (PIR) in combination with psychostimulants methamphetamine (MET) or 4-methylenedioxymethamphetamine (MDMA). These combinations are believed to produce more profound desirable effects, while decreasing hangover. However, there is a lack of valid experimental studies on such drug–drug interactions in the scientific literature available. Our hypothesis proposes that a functional interaction exists between PIR and amphetamine psychostimulants (MET and MDMA) which can potentiate psychostimulant behavioural effect"
https://www.sciencedirect.com/science/article/abs/pii/S030698771200206X
"Press and internet reports mention abuse of nootropic drug piracetam (PIR) in combination with psychostimulants methamphetamine (MET) or 4-methylenedioxymethamphetamine (MDMA). These combinations are believed to produce more profound desirable effects, while decreasing hangover. However, there is a lack of valid experimental studies on such drug–drug interactions in the scientific literature available. Our hypothesis proposes that a functional interaction exists between PIR and amphetamine psychostimulants (MET and MDMA) which can potentiate psychostimulant behavioural effect"
https://www.sciencedirect.com/science/article/abs/pii/S030698771200206X