101 lines
2.0 KiB
JSON
101 lines
2.0 KiB
JSON
{
|
|
"items": [
|
|
{
|
|
"type": "AUDIO_PLAY",
|
|
"file": "audio/boa.mp3",
|
|
"channel": "BGM_0",
|
|
"volume": 1.0,
|
|
"pan": 0.0,
|
|
"looping": true
|
|
},
|
|
{
|
|
"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.
|
|
{
|
|
"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": "RETRY"
|
|
},
|
|
{
|
|
"text": "main_menu.no_device.continue",
|
|
"marker": "CONTINUE"
|
|
}
|
|
]
|
|
},
|
|
|
|
// Retry
|
|
{
|
|
"type": "MARKER",
|
|
"name": "RETRY"
|
|
},
|
|
{
|
|
"type": "MODAL_CLOSE"
|
|
},
|
|
{
|
|
"type": "RESTART"
|
|
},
|
|
|
|
// 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": "RETRY"
|
|
}
|
|
]
|
|
},
|
|
|
|
{
|
|
"type": "MARKER",
|
|
"name": "LOADED"
|
|
}
|
|
]
|
|
}
|