My game is broken

I go to the elite 4 then beat tem then when the champions door opens I go into the wrong door then go to the ledge and the stairs are gone so I’m stuck. and it saved.

If you remembered to get the dex nav in the beginning of the game, you can use the memory chamber feature to fight trainers and lose a battle to you may black out.

Ive tried that and my pokemon died but I didn’t black out when I went to the next battle my game crashed. but ty for replying