Each queued action now resolves to its move's cutscene (cutscenes/battle/moves/<name>.jsonc), spliced into the executing state with a BATTLE_POST_MOVE checkpoint after each one. Fighter turn order is tracked via fighterOrder/fighterOrderCount, and resolved actions/pending counts are cleared so fighters aren't skipped in later rounds. Also fixes a BATTLE_WAIT_SELECTION deadlock and adds an optional "blocking" flag to MODAL cutscene items. Co-Authored-By: Claude Sonnet 5 <[email protected]>
17 lines
239 B
JSON
17 lines
239 B
JSON
{
|
|
"items": [
|
|
{
|
|
"type": "MODAL",
|
|
"title": "Slash",
|
|
"message": "A quick blade strike cuts across the target."
|
|
},
|
|
{
|
|
"type": "WAIT",
|
|
"seconds": 2
|
|
},
|
|
{
|
|
"type": "MODAL_CLOSE"
|
|
}
|
|
]
|
|
}
|