Trying to make a battle that's heavily a cutscene and teleports to a new map when the battle ends, any help?

I'm trying to make a troop encounter with a character, and I cannot for the life of me figure out how to do this properly.

The first three pages work as they're supposed to; however, the fourth page, not so much...

I want the player to be knocked out and then teleported to a new map after displaying a picture.
Could anyone help me figure this out? 😐
Common event.PNG

I tried to use ChatGPT to figure it out, but it wasn't much help. The plugin ChatGPT made didn't work either.

Event page 4.PNG
Yeah, put your battle to 'can lose'. Have HimeWorks End Phase Triggers plugin, so the battle doesn't end before troop event when your dude hits 0hp. In the troop event you have show picture and fadeout screen and turn on a switch. Then when you return to the map, the switch triggers an event that transports you to the infirmary. Then in the infirmary you have an event that says that 'You wake up'.
Yeah, put your battle to 'can lose'. Have HimeWorks End Phase Triggers plugin, so the battle doesn't end before troop event when your dude hits 0hp. In the troop event you have show picture and fadeout screen and turn on a switch. Then when you return to the map, the switch triggers an event that transports you to the infirmary. Then in the infirmary you have an event that says that 'You wake up'.
Lifesaver, thank you so much! Im gonna try this out next time i can use my PC and ill LYK if it works! :]
Yeah, put your battle to 'can lose'. Have HimeWorks End Phase Triggers plugin, so the battle doesn't end before troop event when your dude hits 0hp. In the troop event you have show picture and fadeout screen and turn on a switch. Then when you return to the map, the switch triggers an event that transports you to the infirmary. Then in the infirmary you have an event that says that 'You wake up'.
Oh wow i forgot to update you, sorry! But it worked like a charm! Thank you so much for the help!

Original thread: https://forums.rpgmakerweb.com/threads/trying-to-make-a-battle-thats-heavily-a-cutscene-and-teleports-to-a-new-map-when-the-battle-ends-any-help.177609/