Files
001code-html--cocos/scratch-vm/test/snapshot/__snapshots__/tw-forkphorus-515-boolean-number-comparison.sb3.tw-snapshot
刘宇飞 6e0a1fbcbb Initial commit of 001code-html Scratch frontend project.
Includes scratch-gui, scratch-vm, scratch-blocks, scratch-render, scratch-l10n, and deployment config.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 15:37:45 +08:00

24 lines
1.2 KiB
Plaintext

// TW Snapshot
// Input SHA-256: fd48053df5e75de0ec56ac106699076335b2bd46266f8da4e4d81d52e29f5c29
// 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 4",}, b0, false, false, "i", null);
if (compareGreaterThan(("something".toLowerCase() === "something".toLowerCase()), ("0" + ""))) {
yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "k", null);
}
if (compareLessThan(("something".toLowerCase() === "else".toLowerCase()), ("1" + ""))) {
yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "m", null);
}
if (compareGreaterThan(("something".toLowerCase() === "something".toLowerCase()), (0 + 0))) {
yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "n", null);
}
if (compareLessThan(("something".toLowerCase() === "else".toLowerCase()), (1 + 0))) {
yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "o", null);
}
yield* executeInCompatibilityLayer({"MESSAGE":"end",}, b0, false, false, "l", null);
retire(); return;
}; })