Before the teleport event, make an enemy encounter before it. Make a custom victory handler, if you lose, game over lol, if you win, teleport.
If you dont want to fight them again, put a local switch a - on, then make a new page the same but whithout the enemy encounter.