Resolve moves into per-move cutscenes during battle execution

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]>
This commit is contained in:
2026-09-20 17:49:06 -05:00
co-authored by Claude Sonnet 5
parent e3f56c4d12
commit 37e7e95ace
19 changed files with 320 additions and 87 deletions
+11 -4
View File
@@ -1,9 +1,16 @@
{
"items": [
{
{
"type": "MODAL",
"title": "BATTLE TEST",
"message": "BATTLE TEST"
"title": "Slash",
"message": "A quick blade strike cuts across the target."
},
{
"type": "WAIT",
"seconds": 2
},
{
"type": "MODAL_CLOSE"
}
]
}
}