mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-11 10:39:56 -05:00
Add doForLoop to sb2 specmap
This commit is contained in:
parent
a03f45d1d7
commit
00b151b9ff
1 changed files with 18 additions and 0 deletions
|
@ -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': {
|
'stopScripts': {
|
||||||
opcode: 'control_stop',
|
opcode: 'control_stop',
|
||||||
argMap: [
|
argMap: [
|
||||||
|
|
Loading…
Reference in a new issue