This is some actual code from one of my projects (though written by another contributor):
To transition to monster card gallery:
animate the gallery-transition as a reel animation targeting the transition-container at 8 fps;
wait for main menu input until all animations are complete;
pause for 1000 milliseconds, accepting input;
now the image-ID of the transition-container is the image-ID of the card-container.