Includes scratch-gui, scratch-vm, scratch-blocks, scratch-render, scratch-l10n, and deployment config. Co-authored-by: Cursor <cursoragent@cursor.com>
52 lines
2.0 KiB
Plaintext
52 lines
2.0 KiB
Plaintext
// TW Snapshot
|
|
// Input SHA-256: 19e0b3f9dcac763041039a8ffe87b6732eb744f9ebb136e8d61a53ccf19118e3
|
|
|
|
// Sprite1 script
|
|
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
|
|
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 () {
|
|
b0.value = 0;
|
|
yield* executeInCompatibilityLayer({"MESSAGE":"plan 0",}, b1, false, false, "}fY]VN(X|v/[G`P0?@s2", null);
|
|
for (var a0 = 30; a0 >= 0.5; a0--) {
|
|
b2.value = runtime.ioDevices.clock.projectTimer();
|
|
thread.timer = timer();
|
|
var a1 = Math.max(0, 1000 * 0);
|
|
runtime.requestRedraw();
|
|
yield;
|
|
while (thread.timer.timeElapsed() < a1) {
|
|
yield;
|
|
}
|
|
thread.timer = null;
|
|
yield;
|
|
}
|
|
b0.value = 1;
|
|
yield* executeInCompatibilityLayer({"MESSAGE":"end",}, b1, false, false, "mDG0BTTG/wwr;/Uz~u^c", null);
|
|
retire(); return;
|
|
}; })
|
|
|
|
// Sprite1 script
|
|
(function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage();
|
|
const b0 = stage.variables["l^q!%fq]Bv;72dlGf}^Z"];
|
|
const b1 = runtime.getOpcodeFunction("event_whengreaterthan");
|
|
const b2 = stage.variables["PsY$$vp$IVH;dDAr[q2h"];
|
|
const b3 = runtime.getOpcodeFunction("looks_say");
|
|
return function* genXYZ () {
|
|
{
|
|
const resolvedValue = toBoolean((yield* executeInCompatibilityLayer({"VALUE":b0.value,"WHENGREATERTHANMENU":"TIMER",}, b1, false, false, "iNmua~6veGey6O-_UB9.", null)));
|
|
const id = "iNmua~6veGey6O-_UB9.";
|
|
const hasOldEdgeValue = target.hasEdgeActivatedValue(id);
|
|
const oldEdgeValue = target.updateEdgeActivatedValue(id, resolvedValue);
|
|
const edgeWasActivated = hasOldEdgeValue ? (!oldEdgeValue && resolvedValue) : resolvedValue;
|
|
if (!edgeWasActivated) {
|
|
retire(); return;
|
|
}
|
|
yield;
|
|
}
|
|
if (compareEqual(b2.value, 0)) {
|
|
yield* executeInCompatibilityLayer({"MESSAGE":"fail",}, b3, false, false, "JE9*Ms@I!EKJ-|Bcga#W", null);
|
|
}
|
|
retire(); return;
|
|
}; })
|