s4s-editor-beta / local-scratch-vm /test /snapshot /__snapshots__ /tw-broadcast-id-and-name-desync.sb3.tw-snapshot
soiz1's picture
Upload 811 files
30c32c8 verified
raw
history blame
960 Bytes
// TW Snapshot
// Input SHA-256: f2d984762d77ff375ba3e39b5d57190b71a131f0d8620d2becb2735b7da116c3
// Sprite1 script
(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* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, null);
retire();
}; })
// Sprite1 script
(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* executeInCompatibilityLayer({"MESSAGE":"plan 1",}, b0, false, false, null);
yield* waitThreads(startHats("event_whenbroadcastreceived", { BROADCAST_OPTION: "message1" }));
yield* executeInCompatibilityLayer({"MESSAGE":"end",}, b0, false, false, null);
retire();
}; })