Skip to content

Commit

Permalink
Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Aug 13, 2023
1 parent ad98650 commit 2a84405
Show file tree
Hide file tree
Showing 86 changed files with 0 additions and 124 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const b0 = stage.variables["p]KODv+)+:l=%NT~j3/d-order"];
const b1 = stage.variables["p]KODv+)+:l=%NT~j3/d-wait"];
const b2 = runtime.getOpcodeFunction("looks_say");
return function* genXYZ () {
yield; /* hat noop */
b0.value = 0;
thread.timer = timer();
var a0 = Math.max(0, 1000 * (+b1.value || 0));
Expand All @@ -31,7 +30,6 @@ retire(); return;
const b0 = runtime.getOpcodeFunction("looks_say");
const b1 = stage.variables["p]KODv+)+:l=%NT~j3/d-wait"];
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 2",}, b0, false, false, null);
thread.timer = timer();
var a0 = Math.max(0, 1000 * (+b1.value || 0));
Expand Down Expand Up @@ -67,7 +65,6 @@ const b0 = stage.variables["p]KODv+)+:l=%NT~j3/d-order"];
const b1 = stage.variables["p]KODv+)+:l=%NT~j3/d-wait"];
const b2 = runtime.getOpcodeFunction("looks_say");
return function* genXYZ () {
yield; /* hat noop */
b0.value = 0;
thread.timer = timer();
var a0 = Math.max(0, 1000 * (+b1.value || 0));
Expand Down
3 changes: 0 additions & 3 deletions test/snapshot/__snapshots__/order-library.sb3.tw-snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
const b0 = runtime.getOpcodeFunction("looks_say");
const b1 = stage.variables["):/PVGTvoVRvq(ikGwRE-wait"];
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 2",}, b0, false, false, null);
thread.timer = timer();
var a0 = Math.max(0, 1000 * (+b1.value || 0));
Expand Down Expand Up @@ -42,7 +41,6 @@ const b0 = stage.variables["):/PVGTvoVRvq(ikGwRE-order"];
const b1 = stage.variables["):/PVGTvoVRvq(ikGwRE-wait"];
const b2 = runtime.getOpcodeFunction("looks_say");
return function* genXYZ () {
yield; /* hat noop */
b0.value = 0;
thread.timer = timer();
var a0 = Math.max(0, 1000 * (+b1.value || 0));
Expand All @@ -67,7 +65,6 @@ const b0 = stage.variables["):/PVGTvoVRvq(ikGwRE-order"];
const b1 = stage.variables["):/PVGTvoVRvq(ikGwRE-wait"];
const b2 = runtime.getOpcodeFunction("looks_say");
return function* genXYZ () {
yield; /* hat noop */
b0.value = 0;
thread.timer = timer();
var a0 = Math.max(0, 1000 * (+b1.value || 0));
Expand Down
1 change: 0 additions & 1 deletion test/snapshot/__snapshots__/tw-NaN.sb3.tw-snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
const b0 = runtime.getOpcodeFunction("looks_say");
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 20",}, b0, false, false, null);
if ((("" + (0 * Infinity)).toLowerCase() === "NaN".toLowerCase())) {
yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
const b0 = runtime.getOpcodeFunction("looks_say");
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 1",}, b0, false, false, null);
if (!((Infinity + -Infinity) <= 0)) {
yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, null);
Expand Down
1 change: 0 additions & 1 deletion test/snapshot/__snapshots__/tw-all-at-once.sb3.tw-snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
const b0 = runtime.getOpcodeFunction("looks_say");
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 1",}, b0, false, false, null);
if (true) {
yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
const b0 = runtime.getOpcodeFunction("looks_say");
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, null);
retire(); return;
}; })
Expand All @@ -14,7 +13,6 @@ retire(); return;
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
const b0 = runtime.getOpcodeFunction("looks_say");
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 1",}, b0, false, false, null);
yield* waitThreads(startHats("event_whenbroadcastreceived", { BROADCAST_OPTION: "message1" }));
yield* executeInCompatibilityLayer({"MESSAGE":"end",}, b0, false, false, null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
const b0 = runtime.getOpcodeFunction("looks_say");
const b1 = stage.variables["`jEk@4|i[#Fk?(8x)AV.-my variable"];
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 1",}, b0, false, false, null);
target.setSize(96);
b1.value = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
const b0 = runtime.getOpcodeFunction("looks_say");
const b1 = stage.variables["`jEk@4|i[#Fk?(8x)AV.-my variable"];
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 1",}, b0, false, false, null);
b1.value = "#22388a";
if ((("" + b1.value).toLowerCase() === "#22388a".toLowerCase())) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
const b0 = runtime.getOpcodeFunction("looks_say");
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 0",}, b0, false, false, null);
if (!(("" + (0 < 0)).toLowerCase() === "false".toLowerCase())) {
yield* executeInCompatibilityLayer({"MESSAGE":"fail 1: 0 should be < 0",}, b0, false, false, null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
const b0 = runtime.getOpcodeFunction("looks_say");
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 0",}, b0, false, false, null);
yield* thread.procedures["Wrun test"]();
yield* executeInCompatibilityLayer({"MESSAGE":"end",}, b0, false, false, null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
const b0 = runtime.getOpcodeFunction("looks_say");
const b1 = runtime.getSpriteTargetByName("Sprite1");
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 6",}, b0, false, false, null);
target.setXY(1e-9, target.y);
if ((limitPrecision(target.x) === 1e-9)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
const b0 = runtime.getOpcodeFunction("looks_say");
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 4",}, b0, false, false, null);
if (compareGreaterThan(("something".toLowerCase() === "something".toLowerCase()), ("0" + ""))) {
yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
const b0 = runtime.getOpcodeFunction("looks_say");
const b1 = runtime.getOpcodeFunction("motion_pointtowards");
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 4",}, b0, false, false, null);
target.setDirection(95);
if ((target.direction === 95)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
const b0 = runtime.getOpcodeFunction("looks_say");
const b1 = stage.variables["`jEk@4|i[#Fk?(8x)AV.-my variable"];
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 6",}, b0, false, false, null);
b1.value = runtime.ext_scratch3_operators._random(("an invalid number" + "."), 1);
if (!(b1.value <= 0)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const b0 = runtime.getOpcodeFunction("looks_say");
const b1 = target.variables["gTtSj;o_E;Snkn620KF."];
const b2 = target.variables["zShM`!CD?d_|Z,]5X}N6"];
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 2",}, b0, false, false, null);
b1.value = 2;
if (((+b1.value || 0) === 2)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const b0 = runtime.getOpcodeFunction("sound_setvolumeto");
const b1 = stage.variables["`jEk@4|i[#Fk?(8x)AV.-my variable"];
const b2 = runtime.getOpcodeFunction("looks_say");
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"VOLUME":0,}, b0, false, false, null);
b1.value = 0;
yield* executeInCompatibilityLayer({"MESSAGE":"plan 1",}, b2, false, false, null);
Expand Down Expand Up @@ -73,7 +72,6 @@ return "";
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
const b0 = stage.variables["`jEk@4|i[#Fk?(8x)AV.-my variable"];
return function* genXYZ () {
yield; /* hat noop */
while (true) {
b0.value = ((+b0.value || 0) + 1);
yield;
Expand Down
1 change: 0 additions & 1 deletion test/snapshot/__snapshots__/tw-list-any.sb3.tw-snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
const b0 = runtime.getOpcodeFunction("looks_say");
const b1 = stage.variables["eFlmP1{XC+I1:h0Yln.K"];
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 7",}, b0, false, false, null);
b1.value = [];
listInsert(b1, "any", "a");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const b8 = runtime.getOpcodeFunction("looks_setstretchto");
const b9 = runtime.getOpcodeFunction("looks_changestretchby");
const b10 = runtime.getOpcodeFunction("looks_hideallsprites");
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 1",}, b0, false, false, null);
b1.value = (yield* executeInCompatibilityLayer({}, b2, false, false, null));
b1.value = (yield* executeInCompatibilityLayer({}, b3, false, false, null));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
const b0 = runtime.getOpcodeFunction("looks_say");
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 1",}, b0, false, false, null);
if ((((1 / -0) || 0) === -Infinity)) {
yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const b0 = stage.variables["PsY$$vp$IVH;dDAr[q2h"];
const b1 = runtime.getOpcodeFunction("looks_say");
const b2 = stage.variables["l^q!%fq]Bv;72dlGf}^Z"];
return function* genXYZ () {
yield; /* hat noop */
b0.value = 0;
yield* executeInCompatibilityLayer({"MESSAGE":"plan 0",}, b1, false, false, null);
for (var a0 = 30; a0 >= 0.5; a0--) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
const b0 = runtime.getOpcodeFunction("looks_say");
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 1",}, b0, false, false, null);
yield* thread.procedures["ZSet Costume"]();
yield* executeInCompatibilityLayer({"MESSAGE":"end",}, b0, false, false, null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
const b0 = runtime.getOpcodeFunction("looks_say");
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 2",}, b0, false, false, null);
yield* thread.procedures["Znumber or text %s %s"]("bad","ok");
yield* thread.procedures["Zboolean %b %b"]("false",!false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
const b0 = runtime.getOpcodeFunction("looks_say");
const b1 = stage.variables["`jEk@4|i[#Fk?(8x)AV.-my variable"];
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 1",}, b0, false, false, null);
b1.value = "";
thread.procedures["Zdo something"]();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
const b0 = runtime.getOpcodeFunction("looks_say");
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 0",}, b0, false, false, null);
yield* executeInCompatibilityLayer({"MESSAGE":"end",}, b0, false, false, null);
retire(); return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
const b0 = stage.variables["Go=PJS7BFXYo_qi2S:kQ"];
return function* genXYZ () {
yield; /* hat noop */
b0.value = 0;
while (true) {
b0.value = ((+b0.value || 0) + 1);
Expand All @@ -27,7 +26,6 @@ retire(); return;
const b0 = runtime.getOpcodeFunction("looks_say");
const b1 = stage.variables["Go=PJS7BFXYo_qi2S:kQ"];
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 2",}, b0, false, false, null);
b1.value = 0;
if (compareEqual(thread.procedures["Zinvalid params - reporter"](), 0)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
const b0 = runtime.getOpcodeFunction("looks_say");
const b1 = stage.variables["`jEk@4|i[#Fk?(8x)AV.-my variable"];
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 1",}, b0, false, false, null);
b1.value = "discard me";
b1.value = "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const b0 = runtime.getOpcodeFunction("looks_say");
const b1 = stage.variables["Go=PJS7BFXYo_qi2S:kQ"];
const b2 = stage.variables["`jEk@4|i[#Fk?(8x)AV.-my variable"];
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 18",}, b0, false, false, null);
b1.value = 0;
b2.value = (yield* thread.procedures["Znon warp recursion should yield %s"](8));
Expand Down Expand Up @@ -130,7 +129,6 @@ return "";
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
const b0 = stage.variables["Go=PJS7BFXYo_qi2S:kQ"];
return function* genXYZ () {
yield; /* hat noop */
b0.value = 0;
while (true) {
b0.value = ((+b0.value || 0) + 1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
const b0 = runtime.getOpcodeFunction("looks_say");
const b1 = stage.variables["`jEk@4|i[#Fk?(8x)AV.-my variable"];
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 8",}, b0, false, false, null);
if ((("" + thread.procedures["Zsimplest"]()).toLowerCase() === "It works!".toLowerCase())) {
yield* executeInCompatibilityLayer({"MESSAGE":"pass simplest",}, b0, false, false, null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
const b0 = runtime.getOpcodeFunction("looks_say");
const b1 = stage.variables["PsAI*C{QHI3*4?O8p#TM"];
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 2",}, b0, false, false, null);
yield* thread.procedures["Wreturn stops the script immediately"]();
if (((+b1.value || 0) === 25)) {
Expand Down Expand Up @@ -40,7 +39,6 @@ return "";
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
const b0 = stage.variables["PsAI*C{QHI3*4?O8p#TM"];
return function* genXYZ () {
yield; /* hat noop */
b0.value = 0;
while (true) {
b0.value = ((+b0.value || 0) + 1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
const b0 = stage.variables["Go=PJS7BFXYo_qi2S:kQ"];
return function* genXYZ () {
yield; /* hat noop */
b0.value = 0;
while (true) {
b0.value = ((+b0.value || 0) + 1);
Expand All @@ -26,7 +25,6 @@ retire(); return;
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
const b0 = runtime.getOpcodeFunction("looks_say");
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 3",}, b0, false, false, null);
yield* thread.procedures["Znon warp"]();
runtime.stopForTarget(target, thread);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const b1 = stage.variables["[G/@.KGc-4y[(GZ(bt7o"];
const b2 = runtime.getOpcodeFunction("looks_say");
const b3 = runtime.getOpcodeFunction("sound_seteffectto");
return function* genXYZ () {
yield; /* hat noop */
while (true) {
if (compareEqual(b0.value, b1.value)) {
} else {
Expand All @@ -28,7 +27,6 @@ const b0 = stage.variables["[G/@.KGc-4y[(GZ(bt7o"];
const b1 = runtime.getOpcodeFunction("looks_say");
const b2 = stage.variables["JbF5exWEi*m?-UEmkASS"];
return function* genXYZ () {
yield; /* hat noop */
b0.value = 0;
yield* executeInCompatibilityLayer({"MESSAGE":"plan 15",}, b1, false, false, null);
for (var a0 = 15; a0 >= 0.5; a0--) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
const b0 = runtime.getOpcodeFunction("looks_say");
const b1 = stage.variables["`jEk@4|i[#Fk?(8x)AV.-my variable"];
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 1",}, b0, false, false, null);
b1.value = 0;
startHats("event_whenbroadcastreceived", { BROADCAST_OPTION: "message1" });
Expand All @@ -30,7 +29,6 @@ retire(); return;
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
const b0 = stage.variables["`jEk@4|i[#Fk?(8x)AV.-my variable"];
return function* genXYZ () {
yield; /* hat noop */
b0.value = ((+b0.value || 0) + 1);
retire(); return;
}; })
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
const b0 = runtime.getOpcodeFunction("looks_say");
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 2",}, b0, false, false, null);
thread.procedures["Zswitch %s"]("1");
if ((((target.currentCostume + 1) === 2) && ((+target.getCostumes()[target.currentCostume].name || 0) === 1))) {
Expand Down
1 change: 0 additions & 1 deletion test/snapshot/__snapshots__/tw-sensing-of.sb3.tw-snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const b4 = stage && stage.lookupVariableByNameAndType("This variable used to exi
const b5 = stage.variables["GTmK+*w8mNQP,z`4WG8#"];
const b6 = runtime.getSpriteTargetByName("Sprite that doesn't exist");
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 32",}, b0, false, false, null);
if (((stage.currentCostume + 1) === 2)) {
yield* executeInCompatibilityLayer({"MESSAGE":"pass backdrop #",}, b0, false, false, null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
const b0 = runtime.getOpcodeFunction("looks_say");
const b1 = stage.variables["`jEk@4|i[#Fk?(8x)AV.-my variable"];
return function* genXYZ () {
yield; /* hat noop */
yield* executeInCompatibilityLayer({"MESSAGE":"plan 1",}, b0, false, false, null);
b1.value = "Initial";
thread.timer = timer();
Expand All @@ -27,7 +26,6 @@ retire(); return;
const b0 = stage.variables["`jEk@4|i[#Fk?(8x)AV.-my variable"];
const b1 = runtime.getOpcodeFunction("looks_say");
return function* genXYZ () {
yield; /* hat noop */
if ((("" + b0.value).toLowerCase() === "Initial".toLowerCase())) {
yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b1, false, false, null);
}
Expand All @@ -37,15 +35,13 @@ retire(); return;
// Stage script
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
return function* genXYZ () {
yield; /* hat noop */
retire(); return;
}; })

// Stage script
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
const b0 = target.variables["`jEk@4|i[#Fk?(8x)AV.-my variable"];
return function* genXYZ () {
yield; /* hat noop */
b0.value = "Stage callback";
retire(); return;
}; })
Loading

0 comments on commit 2a84405

Please sign in to comment.