diff --git a/src/serialization/sb2_specmap.js b/src/serialization/sb2_specmap.js index 0a5d64899..e9e8ffbfa 100644 --- a/src/serialization/sb2_specmap.js +++ b/src/serialization/sb2_specmap.js @@ -768,6 +768,24 @@ const specMap = { } ] }, + 'doForLoop': { + opcode: 'control_for_each', + argMap: [ + { + type: 'field', + fieldName: 'VARIABLE' + }, + { + type: 'input', + inputOp: 'text', + inputName: 'VALUE' + }, + { + type: 'input', + inputName: 'SUBSTACK' + } + ] + }, 'stopScripts': { opcode: 'control_stop', argMap: [