The PH of the stomach cannot be ignored in this discussion.
So, let's talk about that first, sorry for the tangent.
Most amphetamines are better absorbed after antacids are taken. This is true for amphetamine, and more true for MDMA. The methylenedioxyring is easily digested by the stomach...