when fighting gearan or giratinna in wisp tower i healed with the machine before the fight, and when i lose to giratinna or geara, it sets my team back to a save from before i fought the 3rd gym, if you lose to giratinna it doesnt change anything but it changes once you fight with geara, and if you lose to geara after beating giratinna, it also changes your team