Refactored BMInterface->save_game() to reduce cyclomatic complexity