{ "items": [ // Runs immediately as soon as the main menu scene becomes active // (see sceneMainMenuInit) - owns menu-wide ambience, then idles while // the menu itself is shown and interacted with natively. // { // "type": "AUDIO_PLAY", // "file": "audio/boa.mp3", // "channel": "BGM_0", // "volume": 1.0, // "pan": 0.0, // "looping": true // }, { "type": "IDLE" }, // New Game pressed (sceneMainMenuStartGame jumps here via // cutsceneGoTo) - check for a save device before loading slots. { "type": "MARKER", "name": "NEW_GAME" }, { "type": "MODAL", "title": "main_menu.checking_save.title", "message": "main_menu.checking_save.message" }, { "type": "WAIT", "seconds": 0.2 }, { "type": "SAVE_DEVICE_CHECK", "successMarker": "CONTINUE", "failureMarker": "NO_DEVICE" }, // No save device found - offer to retry or continue without saving. // Retry jumps straight back to NEW_GAME rather than restarting the // whole cutscene, so the BGM above isn't retriggered. { "type": "MARKER", "name": "NO_DEVICE" }, { "type": "MODAL_CLOSE" }, { "type": "MODAL_OPTIONS_MARKERS", "title": "main_menu.no_device.title", "message": "main_menu.no_device.message", "options": [ { "text": "main_menu.no_device.retry", "marker": "NEW_GAME" }, { "text": "main_menu.no_device.continue", "marker": "CONTINUE" } ] }, // Save device found - attempt to load all save slots. { "type": "MARKER", "name": "CONTINUE" }, { "type": "MODAL_CLOSE" }, { "type": "SAVE_LOAD_ALL_SLOTS", "successMarker": "LOADED", "failureMarker": "LOAD_ERROR" }, // Save data failed to load (e.g. corrupt/unreadable) - only option is // to retry, no "continue without saving" here since we already know a // device is present. { "type": "MARKER", "name": "LOAD_ERROR" }, { "type": "MODAL_OPTIONS_MARKERS", "title": "main_menu.save_load_error.title", "message": "main_menu.save_load_error.message", "options": [ { "text": "main_menu.save_load_error.retry", "marker": "NEW_GAME" } ] }, { "type": "MARKER", "name": "LOADED" } ] }