# Photo mode (runtime/photo.c) in a Quick Race, driven as the page drives it: on (the world stands, the developers'
# free camera, the race clock still), the camera turned, closer, then free and flown, off (the drive camera back,
# the race going on); then the pause menu's Photo Mode (its own item, after Replay), which opens it once the game
# runs again.
0     tapuntil RETURN MC_Background.fng 120 4000
+200  tap RETURN                                   # "No" profile
+0    tapuntil RETURN UI_QRModeSelect.fng 150 3000 # main menu -> Quick Race
+200  tapuntil RETURN UI_QRTrackSelect.fng 150 1500
+200  tapuntil RETURN UI_QRModeOptions.fng 150 1500
+200  tapuntil RETURN UI_QRCarSelect.fng 150 1500
+200  tapuntil RETURN PC_Loading.fng 150 1500
+0    waitmem 0x8654a4 6 3000
+0    wzero
+0    photo hello                                  # a page that has photo mode
7000wms autopilot on
12000wms photo on
+30   expect i:0x890084 == 1                       # the world stands
+0    expect i:[[0x8900ac]+0x238]+0xc == 2         # the developers' free camera
+0    mark t0 i:0x86518c                            # the race clock
+0    photo drag 0.3 0.05
+0    photo dolly 3
+60   expect i:0x86518c == @t0                     # still
+0    dump photo_orbit
+0    photo free
+0    photo move 0 1
+30   photo move 0 0
+10   dump photo_free
+0    photo other                                  # Tab (a pad's Y): the orbit again
+10   photo other                                  # and the free camera
+10   photo other
+10   photo free
+0    photo off
+30   expect i:0x890084 == 0
+0    expect i:[[0x8900ac]+0x238]+0xc == 1         # the drive camera back
+60   expect i:0x86518c > @t0                      # the race goes on
+0    tapuntil ESCAPE UI_Pause.fng 60 600
+60   tap RIGHT                                    # Restart
+40   tap RIGHT                                    # Options
+40   tap RIGHT                                    # Replay
+40   tap RIGHT                                    # Photo Mode
+60   dump pause_photo_item
+0    tap RETURN
+120  expect i:[[0x8900ac]+0x238]+0xc == 2         # opened from the pause menu
+0    expect i:0x890084 == 1
+0    photo off
+60   expect i:0x890084 == 0
+10   quit
