Add doForLoop to sb2 specmap

This commit is contained in:
Florrie 2018-03-05 17:36:17 -04:00
parent a03f45d1d7
commit 00b151b9ff

View file

@ -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: [