This would be a nightmare for my semi-custom battle system.
Then this would probably be important information to convey to us, because without it, we are assuming you are something closer to default.
Without understanding what you "semi-custom battle system" is doing, we cannot make any possible suggestions.
At least within the default systems, you can run most event commands, including show picture and show text, so you could just as easily screenshot those "flashback" moments and then display them as pictures.
If you want any finer control, such as move routes for events/NPCs then you'd need to find a way to save the battle, exit out of it, and then return to battle. Saving the battle would be as simple as assigning battle stat values (HP/MP) to variables for each entity, and then when you start the battle again, on turn 0 set their values to the saved values.