Skip to content

Commit

Permalink
toLeopard: add motion_ifonedgebounce
Browse files Browse the repository at this point in the history
  • Loading branch information
towerofnix committed Mar 3, 2024
1 parent bf91013 commit 63cd486
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/io/leopard/toLeopard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ export default function toLeopard(
"glide",
"goto",
"move",
"ifOnEdgeBounce",
"rotationStyle",
"x",
"y",
Expand Down Expand Up @@ -791,6 +792,14 @@ export default function toLeopard(
break;
}

case OpCode.motion_ifonedgebounce: {
satisfiesInputShape = InputShape.Stack;

blockSource = `this.ifOnEdgeBounce()`;

break;
}

case OpCode.motion_setrotationstyle: {
satisfiesInputShape = InputShape.Stack;

Expand Down

0 comments on commit 63cd486

Please sign in to comment.