# Multiplayer races from free roam with the game's Save option at Prompt or Off (Options, Gameplay, Save; in
# memory [0x844AD8] autosave, [0x844AD9] prompt: SAVE_FLAGS 0x00010100 Prompt, 0x00010000 Off, the frikand
# save's own 0x00010101 Autosave), as mprace_lobby_a.txt otherwise.  Prompt: the crib asks and the trip
# answers Yes, the prize is saved; Off: the prize is in the bank, saved with the player's next save.
0     bot on
+0    waitroam 6000
+0    bot off
+0    roam smsauto on
+0    peek 0x00844ad8 1
+0    poke 0x00844ad8 ${SAVE_FLAGS}
+0    roam mp waitpeers 1 12000
+600  careergo ${MP_RACE}
+300  roam mp spots 1
+0    dump spot_line
+0    log LOBBY open
+0    tap RETURN
+60   dump lobby_line
+0    roam mp waitlobby ${MP_PLAYERS} 9000
+60   roam mp lobby
+0    log LOBBY start
+0    tap RETURN
+0    log LOBBY trip
+0    waitexpr i:0x850078 == 512 6000
+0    waitmem 0x008654a4 6 20000
+0    log LOBBY race
+0    autopilot on 6000
+0    roam mp waittrip 40000
+0    peek 0x00861e74 1                # the bank
+0    peek 0x00844ad8 1
+0    careerlist
+0    roam mp lobby
+0    log LOBBY DONE
+60   quit
