Skip to content

Commit

Permalink
Update OASM.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Mistium authored May 11, 2024
1 parent 619140b commit ef17bde
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions featured/OASM.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
name: 'OASM',
blocks: [
{
func: "docs",
func: 'docs',
blockType: Scratch.BlockType.BUTTON,
text: "Learn OASM",
text: 'Learn OASM',
},
{
opcode: 'compile',
Expand All @@ -30,7 +30,27 @@
arguments: {
CODE: {
type: Scratch.ArgumentType.STRING,
defaultValue: "[\"setv msg hello\",\"prnt msg\"]"
defaultValue: '["setv msg hello","prnt msg"]'
},
},
},
{
opcode: 'runblock',
func: 'run',
blockType: Scratch.BlockType.COMMAND,
text: 'Run At [X],[Y] Code: [CODE]',
arguments: {
CODE: {
type: Scratch.ArgumentType.STRING,
defaultValue: ''
},
X: {
type: Scratch.ArgumentType.NUMBER,
defaultValue: 0
},
Y: {
type: Scratch.ArgumentType.NUMBER,
defaultValue: 0
},
},
},
Expand All @@ -41,7 +61,7 @@
arguments: {
CODE: {
type: Scratch.ArgumentType.STRING,
defaultValue: ""
defaultValue: ''
},
X: {
type: Scratch.ArgumentType.NUMBER,
Expand Down

0 comments on commit ef17bde

Please sign in to comment.