mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Add doWhile -> control_while to specmap
This commit is contained in:
parent
2d9bd92140
commit
27d053acff
1 changed files with 13 additions and 0 deletions
|
@ -768,6 +768,19 @@ const specMap = {
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
'doWhile': {
|
||||||
|
opcode: 'control_while',
|
||||||
|
argMap: [
|
||||||
|
{
|
||||||
|
type: 'input',
|
||||||
|
inputName: 'CONDITION'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'input',
|
||||||
|
inputName: 'SUBSTACK'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
'doForLoop': {
|
'doForLoop': {
|
||||||
opcode: 'control_for_each',
|
opcode: 'control_for_each',
|
||||||
argMap: [
|
argMap: [
|
||||||
|
|
Loading…
Reference in a new issue