The wavefunction of the complex coordinate method