|
3 | 3 |
|
4 | 4 | // Sprite1 script |
5 | 5 | (function factoryXYZ(thread) { const target = thread.target; const runtime = target.runtime; const stage = runtime.getTargetForStage(); |
6 | | -const b0 = runtime.getOpcodeFunction("looks_say"); |
7 | 6 | return function* genXYZ () { |
8 | | -yield* executeInCompatibilityLayer({"MESSAGE":"plan 21",}, b0, false, false, "B", null); |
| 7 | +runtime.ext_scratch3_looks._say("plan 21", target); |
9 | 8 | if (!(("" + (0 / 0)).toLowerCase() === "0".toLowerCase())) { |
10 | | -yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "aA", null); |
| 9 | +runtime.ext_scratch3_looks._say("pass", target); |
11 | 10 | } |
12 | 11 | if ((("" + (0 * Infinity)).toLowerCase() === "NaN".toLowerCase())) { |
13 | | -yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "/", null); |
| 12 | +runtime.ext_scratch3_looks._say("pass", target); |
14 | 13 | } |
15 | 14 | if (((((0 * Infinity) || 0) * 1) === 0)) { |
16 | | -yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "?", null); |
| 15 | +runtime.ext_scratch3_looks._say("pass", target); |
17 | 16 | } |
18 | 17 | if ((("" + ((Math.acos(1.01) * 180) / Math.PI)).toLowerCase() === "NaN".toLowerCase())) { |
19 | | -yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "=", null); |
| 18 | +runtime.ext_scratch3_looks._say("pass", target); |
20 | 19 | } |
21 | 20 | if ((((((Math.acos(1.01) * 180) / Math.PI) || 0) * 1) === 0)) { |
22 | | -yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "]", null); |
| 21 | +runtime.ext_scratch3_looks._say("pass", target); |
23 | 22 | } |
24 | 23 | if ((("" + ((Math.asin(1.01) * 180) / Math.PI)).toLowerCase() === "NaN".toLowerCase())) { |
25 | | -yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "_", null); |
| 24 | +runtime.ext_scratch3_looks._say("pass", target); |
26 | 25 | } |
27 | 26 | if ((((((Math.asin(1.01) * 180) / Math.PI) || 0) * 1) === 0)) { |
28 | | -yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "{", null); |
| 27 | +runtime.ext_scratch3_looks._say("pass", target); |
29 | 28 | } |
30 | 29 | if ((("" + (0 / 0)).toLowerCase() === "NaN".toLowerCase())) { |
31 | | -yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "}", null); |
| 30 | +runtime.ext_scratch3_looks._say("pass", target); |
32 | 31 | } |
33 | 32 | if (((((0 / 0) || 0) * 1) === 0)) { |
34 | | -yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "aa", null); |
| 33 | +runtime.ext_scratch3_looks._say("pass", target); |
35 | 34 | } |
36 | 35 | if ((("" + Math.sqrt(-1)).toLowerCase() === "NaN".toLowerCase())) { |
37 | | -yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "ac", null); |
| 36 | +runtime.ext_scratch3_looks._say("pass", target); |
38 | 37 | } |
39 | 38 | if ((((Math.sqrt(-1) || 0) * 1) === 0)) { |
40 | | -yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "ae", null); |
| 39 | +runtime.ext_scratch3_looks._say("pass", target); |
41 | 40 | } |
42 | 41 | if ((("" + mod(0, 0)).toLowerCase() === "NaN".toLowerCase())) { |
43 | | -yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "ag", null); |
| 42 | +runtime.ext_scratch3_looks._say("pass", target); |
44 | 43 | } |
45 | 44 | if ((((mod(0, 0) || 0) * 1) === 0)) { |
46 | | -yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "ai", null); |
| 45 | +runtime.ext_scratch3_looks._say("pass", target); |
47 | 46 | } |
48 | 47 | if ((("" + Math.log(-1)).toLowerCase() === "NaN".toLowerCase())) { |
49 | | -yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "ak", null); |
| 48 | +runtime.ext_scratch3_looks._say("pass", target); |
50 | 49 | } |
51 | 50 | if ((((Math.log(-1) || 0) * 1) === 0)) { |
52 | | -yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "am", null); |
| 51 | +runtime.ext_scratch3_looks._say("pass", target); |
53 | 52 | } |
54 | 53 | if ((("" + (Math.log(-1) / Math.LN10)).toLowerCase() === "NaN".toLowerCase())) { |
55 | | -yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "ao", null); |
| 54 | +runtime.ext_scratch3_looks._say("pass", target); |
56 | 55 | } |
57 | 56 | if (((((Math.log(-1) / Math.LN10) || 0) * 1) === 0)) { |
58 | | -yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "aq", null); |
| 57 | +runtime.ext_scratch3_looks._say("pass", target); |
59 | 58 | } |
60 | 59 | if (((((Math.round(Math.sin((Math.PI * (1 / 0)) / 180) * 1e10) / 1e10) || 0) * 1) === 0)) { |
61 | | -yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "as", null); |
| 60 | +runtime.ext_scratch3_looks._say("pass", target); |
62 | 61 | } |
63 | 62 | if (((((Math.round(Math.cos((Math.PI * (1 / 0)) / 180) * 1e10) / 1e10) || 0) * 1) === 0)) { |
64 | | -yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "au", null); |
| 63 | +runtime.ext_scratch3_looks._say("pass", target); |
65 | 64 | } |
66 | 65 | if ((((tan((1 / 0)) || 0) * 1) === 0)) { |
67 | | -yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "aw", null); |
| 66 | +runtime.ext_scratch3_looks._say("pass", target); |
68 | 67 | } |
69 | 68 | if ((((runtime.ext_scratch3_operators._random((-1 / 0), (1 / 0)) || 0) * 1) === 0)) { |
70 | | -yield* executeInCompatibilityLayer({"MESSAGE":"pass",}, b0, false, false, "ax", null); |
| 69 | +runtime.ext_scratch3_looks._say("pass", target); |
71 | 70 | } |
72 | | -yield* executeInCompatibilityLayer({"MESSAGE":"end",}, b0, false, false, ":", null); |
| 71 | +runtime.ext_scratch3_looks._say("end", target); |
73 | 72 | retire(); return; |
74 | 73 | }; }) |
0 commit comments