Includes scratch-gui, scratch-vm, scratch-blocks, scratch-render, scratch-l10n, and deployment config. Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
1.1 KiB
Plaintext
25 lines
1.1 KiB
Plaintext
// TW Snapshot
|
|
// Input SHA-256: 9ecff9e3c4b1dcdf3e23d0e49c0a2da3de446b6d626a2b5ee39d761be20344ca
|
|
|
|
// 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, "f", null);
|
|
yield* thread.procedures["ZBlock A %s"]("Hai!!!");
|
|
yield* executeInCompatibilityLayer({"MESSAGE":"end",}, b0, false, false, "k", null);
|
|
retire(); return;
|
|
}; })
|
|
|
|
// Sprite1 ZBlock A %s
|
|
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
|
|
const b0 = runtime.getOpcodeFunction("looks_say");
|
|
return function* genXYZ_Block_A_ (p0) {
|
|
if ((("" + p0).toLowerCase() === "Hai!!!".toLowerCase())) {
|
|
yield* executeInCompatibilityLayer({"MESSAGE":"pass did not cast",}, b0, false, false, "m", null);
|
|
} else {
|
|
yield* executeInCompatibilityLayer({"MESSAGE":"fail was casted",}, b0, false, false, "n", null);
|
|
}
|
|
return "";
|
|
}; })
|