Let's just say that in a double battle I send out gourgeist knowing trick or treat and Trevenant knowing forest curse. What if they use those moves against one Pokemon, like quagsire for example, will quagsire be a water/ground/ghost/grass type? Or will one of the moves fail?