pxt-common-packages 13.1.1 → 13.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/libs/accelerometer/built/debug/binary.js +9 -10
  2. package/libs/azureiot/built/debug/binary.js +462 -497
  3. package/libs/cable/_locales/cable-strings.json +1 -0
  4. package/libs/color/built/debug/binary.js +9 -10
  5. package/libs/color-sensor/built/debug/binary.js +9 -10
  6. package/libs/controller/built/debug/binary.js +7414 -7952
  7. package/libs/controller---none/built/debug/binary.js +7394 -7930
  8. package/libs/core/built/debug/binary.js +1 -2
  9. package/libs/core---samd/built/debug/binary.js +9 -10
  10. package/libs/datalogger/built/debug/binary.js +64 -72
  11. package/libs/edge-connector/built/debug/binary.js +9 -10
  12. package/libs/esp32/built/debug/binary.js +463 -498
  13. package/libs/game/_locales/game-strings.json +8 -0
  14. package/libs/game/built/debug/binary.js +7333 -7866
  15. package/libs/game/physics.ts +1 -0
  16. package/libs/game/sprite.d.ts +1 -0
  17. package/libs/game/sprite.ts +34 -0
  18. package/libs/game/tilemap.ts +8 -8
  19. package/libs/gamepad/built/debug/binary.js +9 -10
  20. package/libs/infrared/_locales/infrared-strings.json +1 -0
  21. package/libs/keyboard/built/debug/binary.js +9 -10
  22. package/libs/lcd/built/debug/binary.js +9 -10
  23. package/libs/light/built/debug/binary.js +9 -10
  24. package/libs/light-spectrum-sensor/built/debug/binary.js +9 -10
  25. package/libs/lora/built/debug/binary.js +9 -10
  26. package/libs/matrix-keypad/built/debug/binary.js +9 -10
  27. package/libs/microphone/built/debug/binary.js +9 -10
  28. package/libs/mouse/built/debug/binary.js +9 -10
  29. package/libs/mqtt/built/debug/binary.js +177 -193
  30. package/libs/music/built/debug/binary.js +9 -10
  31. package/libs/net/built/debug/binary.js +177 -193
  32. package/libs/net-game/built/debug/binary.js +9050 -9696
  33. package/libs/palette/built/debug/binary.js +7332 -7865
  34. package/libs/pixel/built/debug/binary.js +9 -10
  35. package/libs/power/built/debug/binary.js +9 -10
  36. package/libs/proximity/built/debug/binary.js +9 -10
  37. package/libs/pulse/built/debug/binary.js +9 -10
  38. package/libs/radio/_locales/radio-strings.json +5 -0
  39. package/libs/radio/built/debug/binary.js +9 -10
  40. package/libs/radio-broadcast/built/debug/binary.js +9 -10
  41. package/libs/rotary-encoder/built/debug/binary.js +9 -10
  42. package/libs/screen/built/debug/binary.js +51 -58
  43. package/libs/servo/built/debug/binary.js +9 -10
  44. package/libs/sprite-scaling/built/debug/binary.js +7332 -7865
  45. package/libs/storyboard/built/debug/binary.js +7332 -7865
  46. package/libs/tests/built/debug/binary.js +16 -17
  47. package/libs/thermometer/built/debug/binary.js +9 -10
  48. package/package.json +4 -4
@@ -1,4 +1,4 @@
1
- // total=2917 new=27.67% cached=0.00% other=72.33%
1
+ // total=2916 new=27.64% cached=0.00% other=72.36%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P56952(s) {
59
+ function _main___P56980(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___57196 = (undefined);
70
- globals._pollEventQueue___57209 = (undefined);
69
+ globals._intervals___57224 = (undefined);
70
+ globals._pollEventQueue___57237 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P56952.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/light/neopixel.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P56952.continuations = [ ]
75
+ _main___P56980.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/light/neopixel.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P56980.continuations = [ ]
77
77
 
78
- function _main___P56952_mk(s) {
78
+ function _main___P56980_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P56952, depth: s.depth + 1,
81
+ parent: s, fn: _main___P56980, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
85
85
 
86
86
 
87
87
 
88
-
89
88
  const breakpoints = setupDebugger(1, [])
90
89
 
91
- return _main___P56952
90
+ return _main___P56980
92
91
  })
@@ -1,4 +1,4 @@
1
- // total=2896 new=27.14% cached=0.00% other=72.86%
1
+ // total=2895 new=27.12% cached=0.00% other=72.88%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P63803(s) {
59
+ function _main___P63834(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___64047 = (undefined);
70
- globals._pollEventQueue___64060 = (undefined);
69
+ globals._intervals___64078 = (undefined);
70
+ globals._pollEventQueue___64091 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P63803.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"power.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P63803.continuations = [ ]
75
+ _main___P63834.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"power.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P63834.continuations = [ ]
77
77
 
78
- function _main___P63803_mk(s) {
78
+ function _main___P63834_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P63803, depth: s.depth + 1,
81
+ parent: s, fn: _main___P63834, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
85
85
 
86
86
 
87
87
 
88
-
89
88
  const breakpoints = setupDebugger(1, [])
90
89
 
91
- return _main___P63803
90
+ return _main___P63834
92
91
  })
@@ -1,4 +1,4 @@
1
- // total=2910 new=27.32% cached=0.00% other=72.68%
1
+ // total=2909 new=27.29% cached=0.00% other=72.71%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P104795(s) {
59
+ function _main___P104840(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___105039 = (undefined);
70
- globals._pollEventQueue___105052 = (undefined);
69
+ globals._intervals___105084 = (undefined);
70
+ globals._pollEventQueue___105097 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P104795.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"vl53l0x.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P104795.continuations = [ ]
75
+ _main___P104840.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"vl53l0x.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P104840.continuations = [ ]
77
77
 
78
- function _main___P104795_mk(s) {
78
+ function _main___P104840_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P104795, depth: s.depth + 1,
81
+ parent: s, fn: _main___P104840, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
85
85
 
86
86
 
87
87
 
88
-
89
88
  const breakpoints = setupDebugger(1, [])
90
89
 
91
- return _main___P104795
90
+ return _main___P104840
92
91
  })
@@ -1,4 +1,4 @@
1
- // total=2910 new=27.49% cached=0.00% other=72.51%
1
+ // total=2909 new=27.47% cached=0.00% other=72.53%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P19401(s) {
59
+ function _main___P19412(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___19645 = (undefined);
70
- globals._pollEventQueue___19658 = (undefined);
69
+ globals._intervals___19656 = (undefined);
70
+ globals._pollEventQueue___19669 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P19401.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/base/ns.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P19401.continuations = [ ]
75
+ _main___P19412.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/base/ns.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P19412.continuations = [ ]
77
77
 
78
- function _main___P19401_mk(s) {
78
+ function _main___P19412_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P19401, depth: s.depth + 1,
81
+ parent: s, fn: _main___P19412, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
85
85
 
86
86
 
87
87
 
88
-
89
88
  const breakpoints = setupDebugger(1, [])
90
89
 
91
- return _main___P19401
90
+ return _main___P19412
92
91
  })
@@ -5,9 +5,14 @@
5
5
  "radio._packetProperty|block": "%note",
6
6
  "radio.onDataReceived|block": "radio on data received",
7
7
  "radio.onReceivedBuffer|block": "on radio received",
8
+ "radio.onReceivedBuffer|handlerParam|receivedBuffer": "receivedBuffer",
8
9
  "radio.onReceivedNumber|block": "on radio received",
10
+ "radio.onReceivedNumber|handlerParam|receivedNumber": "receivedNumber",
9
11
  "radio.onReceivedString|block": "on radio received",
12
+ "radio.onReceivedString|handlerParam|receivedString": "receivedString",
10
13
  "radio.onReceivedValue|block": "on radio received",
14
+ "radio.onReceivedValue|handlerParam|name": "name",
15
+ "radio.onReceivedValue|handlerParam|value": "value",
11
16
  "radio.raiseEvent|block": "radio raise event|from source %src=control_event_source_id|with value %value=control_event_value_id",
12
17
  "radio.receivedPacket|block": "received packet %type=radio_packet_property",
13
18
  "radio.sendNumber|block": "radio send number %value",
@@ -1,4 +1,4 @@
1
- // total=2914 new=27.56% cached=0.00% other=72.44%
1
+ // total=2913 new=27.53% cached=0.00% other=72.47%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P193615(s) {
59
+ function _main___P193688(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___193859 = (undefined);
70
- globals._pollEventQueue___193872 = (undefined);
69
+ globals._intervals___193932 = (undefined);
70
+ globals._pollEventQueue___193945 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P193615.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P193615.continuations = [ ]
75
+ _main___P193688.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P193688.continuations = [ ]
77
77
 
78
- function _main___P193615_mk(s) {
78
+ function _main___P193688_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P193615, depth: s.depth + 1,
81
+ parent: s, fn: _main___P193688, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
85
85
 
86
86
 
87
87
 
88
-
89
88
  const breakpoints = setupDebugger(1, [])
90
89
 
91
- return _main___P193615
90
+ return _main___P193688
92
91
  })
@@ -1,4 +1,4 @@
1
- // total=2924 new=27.46% cached=0.00% other=72.54%
1
+ // total=2923 new=27.44% cached=0.00% other=72.56%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P195440(s) {
59
+ function _main___P195514(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___195684 = (undefined);
70
- globals._pollEventQueue___195697 = (undefined);
69
+ globals._intervals___195758 = (undefined);
70
+ globals._pollEventQueue___195771 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P195440.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"radio-broadcast.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P195440.continuations = [ ]
75
+ _main___P195514.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"radio-broadcast.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P195514.continuations = [ ]
77
77
 
78
- function _main___P195440_mk(s) {
78
+ function _main___P195514_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P195440, depth: s.depth + 1,
81
+ parent: s, fn: _main___P195514, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
85
85
 
86
86
 
87
87
 
88
-
89
88
  const breakpoints = setupDebugger(1, [])
90
89
 
91
- return _main___P195440
90
+ return _main___P195514
92
91
  })
@@ -1,4 +1,4 @@
1
- // total=2923 new=27.47% cached=0.00% other=72.53%
1
+ // total=2922 new=27.45% cached=0.00% other=72.55%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P175605(s) {
59
+ function _main___P175672(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,27 +66,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___175849 = (undefined);
70
- globals._pollEventQueue___175862 = (undefined);
69
+ globals._intervals___175916 = (undefined);
70
+ globals._pollEventQueue___175929 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P175605.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P175605.continuations = [ ]
75
+ _main___P175672.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P175672.continuations = [ ]
77
77
 
78
- function _main___P175605_mk(s) {
78
+ function _main___P175672_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P175605, depth: s.depth + 1,
81
+ parent: s, fn: _main___P175672, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
85
85
 
86
86
 
87
87
 
88
-
89
88
  const breakpoints = setupDebugger(1, [])
90
89
 
91
- return _main___P175605
90
+ return _main___P175672
92
91
  })
@@ -1,4 +1,4 @@
1
- // total=10109 new=75.23% cached=0.00% other=24.77%
1
+ // total=10102 new=75.21% cached=0.00% other=24.79%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P51551(s) {
59
+ function _main___P51576(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,29 +66,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___51795 = (undefined);
70
- globals._pollEventQueue___51808 = (undefined);
71
- globals.__updated___52048 = (false);
72
- r0 = pxsim.control.runInParallel(control___screen_inline__P52053);
69
+ globals._intervals___51820 = (undefined);
70
+ globals._pollEventQueue___51833 = (undefined);
71
+ globals.__updated___52073 = (false);
72
+ r0 = pxsim.control.runInParallel(control___screen_inline__P52078);
73
73
  r0 = pxsim.image.create(178, 128);
74
- globals.screen___52076 = (r0);
75
- s.tmp_0 = control___screen_setupUpdate__P52050_mk(s);
76
- s.tmp_0.arg0 = _screen_internal_inline__P52081;
74
+ globals.screen___52101 = (r0);
75
+ s.tmp_0 = control___screen_setupUpdate__P52075_mk(s);
76
+ s.tmp_0.arg0 = _screen_internal_inline__P52106;
77
77
  s.callLocIdx = 4; s.pc = 1; return s.tmp_0;
78
78
  case 1:
79
79
  r0 = s.retval;
80
- globals.control_EventContext_onStats___51863 = (_screen_internal_inline__P52086);
80
+ globals.control_EventContext_onStats___51888 = (_screen_internal_inline__P52111);
81
81
  r0 = undefined;
82
82
  return leave(s, r0)
83
83
  default: oops()
84
84
  } } }
85
- _main___P51551.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"imagesoverrides.ts","functionName":"<main>","argumentNames":[]}
86
- _main___P51551.continuations = [ ]
85
+ _main___P51576.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"imagesoverrides.ts","functionName":"<main>","argumentNames":[]}
86
+ _main___P51576.continuations = [ ]
87
87
 
88
- function _main___P51551_mk(s) {
88
+ function _main___P51576_mk(s) {
89
89
  checkStack(s.depth);
90
90
  return {
91
- parent: s, fn: _main___P51551, depth: s.depth + 1,
91
+ parent: s, fn: _main___P51576, depth: s.depth + 1,
92
92
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
93
93
  tmp_0: undefined,
94
94
  } }
@@ -96,8 +96,7 @@ function _main___P51551_mk(s) {
96
96
 
97
97
 
98
98
 
99
-
100
- function control___screen_inline__P52053(s) {
99
+ function control___screen_inline__P52078(s) {
101
100
  let r0 = s.r0, step = s.pc;
102
101
  s.pc = -1;
103
102
 
@@ -110,23 +109,23 @@ switch (step) {
110
109
  case 1:
111
110
  r0 = pxsim_numops_toBoolDecr(true);
112
111
  if (!r0) { step = 4; continue; }
113
- globals.__updated___52048 = (false);
114
- s.tmp_0 = pause__P51872_mk(s);
112
+ globals.__updated___52073 = (false);
113
+ s.tmp_0 = pause__P51897_mk(s);
115
114
  s.tmp_0.arg0 = 200;
116
115
  s.callLocIdx = 2; s.pc = 5; return s.tmp_0;
117
116
  case 5:
118
117
  r0 = s.retval;
119
- r0 = pxsim_numops_toBoolDecr(globals.__updated___52048);
118
+ r0 = pxsim_numops_toBoolDecr(globals.__updated___52073);
120
119
  s.tmp_1 = r0;
121
120
  r0 = pxsim_Boolean__bang(s.tmp_1);
122
121
  s.tmp_0 = r0;
123
122
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
124
123
  if (!r0) { step = 2; continue; }
125
- s.tmp_2 = control___screen_update__P52049_mk(s);
124
+ s.tmp_2 = control___screen_update__P52074_mk(s);
126
125
  s.callLocIdx = 3; s.pc = 6; return s.tmp_2;
127
126
  case 6:
128
127
  r0 = s.retval;
129
- globals.__updated___52048 = (true);
128
+ globals.__updated___52073 = (true);
130
129
  case 2:
131
130
  case 3:
132
131
  { step = 1; continue; }
@@ -135,12 +134,12 @@ switch (step) {
135
134
  return leave(s, r0)
136
135
  default: oops()
137
136
  } } }
138
- control___screen_inline__P52053.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"frame.ts","functionName":"inline","argumentNames":[]}
137
+ control___screen_inline__P52078.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"frame.ts","functionName":"inline","argumentNames":[]}
139
138
 
140
- function control___screen_inline__P52053_mk(s) {
139
+ function control___screen_inline__P52078_mk(s) {
141
140
  checkStack(s.depth);
142
141
  return {
143
- parent: s, fn: control___screen_inline__P52053, depth: s.depth + 1,
142
+ parent: s, fn: control___screen_inline__P52078, depth: s.depth + 1,
144
143
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
145
144
  tmp_0: undefined,
146
145
  tmp_1: undefined,
@@ -150,8 +149,7 @@ function control___screen_inline__P52053_mk(s) {
150
149
 
151
150
 
152
151
 
153
-
154
- function _screen_internal_inline__P52081(s) {
152
+ function _screen_internal_inline__P52106(s) {
155
153
  let r0 = s.r0, step = s.pc;
156
154
  s.pc = -1;
157
155
 
@@ -161,25 +159,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
161
159
  switch (step) {
162
160
  case 0:
163
161
 
164
- r0 = pxsim_pxtcore.updateScreen(globals.screen___52076);
162
+ r0 = pxsim_pxtcore.updateScreen(globals.screen___52101);
165
163
  r0 = undefined;
166
164
  return leave(s, r0)
167
165
  default: oops()
168
166
  } } }
169
- _screen_internal_inline__P52081.info = {"start":327,"length":26,"line":8,"column":33,"endLine":8,"endColumn":59,"fileName":"targetoverrides.ts","functionName":"inline","argumentNames":[]}
167
+ _screen_internal_inline__P52106.info = {"start":327,"length":26,"line":8,"column":33,"endLine":8,"endColumn":59,"fileName":"targetoverrides.ts","functionName":"inline","argumentNames":[]}
170
168
 
171
- function _screen_internal_inline__P52081_mk(s) {
169
+ function _screen_internal_inline__P52106_mk(s) {
172
170
  checkStack(s.depth);
173
171
  return {
174
- parent: s, fn: _screen_internal_inline__P52081, depth: s.depth + 1,
172
+ parent: s, fn: _screen_internal_inline__P52106, depth: s.depth + 1,
175
173
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
176
174
  } }
177
175
 
178
176
 
179
177
 
180
178
 
181
-
182
- function _screen_internal_inline__P52086(s) {
179
+ function _screen_internal_inline__P52111(s) {
183
180
  let r0 = s.r0, step = s.pc;
184
181
  s.pc = -1;
185
182
 
@@ -198,12 +195,12 @@ switch (step) {
198
195
  return leave(s, r0)
199
196
  default: oops()
200
197
  } } }
201
- _screen_internal_inline__P52086.info = {"start":390,"length":56,"line":9,"column":35,"endLine":11,"endColumn":5,"fileName":"targetoverrides.ts","functionName":"inline","argumentNames":["msg"]}
198
+ _screen_internal_inline__P52111.info = {"start":390,"length":56,"line":9,"column":35,"endLine":11,"endColumn":5,"fileName":"targetoverrides.ts","functionName":"inline","argumentNames":["msg"]}
202
199
 
203
- function _screen_internal_inline__P52086_mk(s) {
200
+ function _screen_internal_inline__P52111_mk(s) {
204
201
  checkStack(s.depth);
205
202
  return {
206
- parent: s, fn: _screen_internal_inline__P52086, depth: s.depth + 1,
203
+ parent: s, fn: _screen_internal_inline__P52111, depth: s.depth + 1,
207
204
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
208
205
  arg0: undefined,
209
206
  } }
@@ -211,8 +208,7 @@ function _screen_internal_inline__P52086_mk(s) {
211
208
 
212
209
 
213
210
 
214
-
215
- function control___screen_setupUpdate__P52050(s) {
211
+ function control___screen_setupUpdate__P52075(s) {
216
212
  let r0 = s.r0, step = s.pc;
217
213
  s.pc = -1;
218
214
 
@@ -226,8 +222,8 @@ switch (step) {
226
222
  s.arg0 = (s.lambdaArgs[0]);
227
223
  s.lambdaArgs = null;
228
224
  }
229
- globals.__updated___52048 = (true);
230
- globals.__update___52046 = (s.arg0);
225
+ globals.__updated___52073 = (true);
226
+ globals.__update___52071 = (s.arg0);
231
227
  s.tmp_0 = lambda_1_mk(s);
232
228
  s.tmp_0.argL = s.arg0;
233
229
  setupLambda(s.tmp_0, s.tmp_0.argL);
@@ -238,12 +234,12 @@ switch (step) {
238
234
  return leave(s, r0)
239
235
  default: oops()
240
236
  } } }
241
- control___screen_setupUpdate__P52050.info = {"start":198,"length":125,"line":10,"column":4,"endLine":14,"endColumn":5,"fileName":"frame.ts","functionName":"setupUpdate","argumentNames":["update"]}
237
+ control___screen_setupUpdate__P52075.info = {"start":198,"length":125,"line":10,"column":4,"endLine":14,"endColumn":5,"fileName":"frame.ts","functionName":"setupUpdate","argumentNames":["update"]}
242
238
 
243
- function control___screen_setupUpdate__P52050_mk(s) {
239
+ function control___screen_setupUpdate__P52075_mk(s) {
244
240
  checkStack(s.depth);
245
241
  return {
246
- parent: s, fn: control___screen_setupUpdate__P52050, depth: s.depth + 1,
242
+ parent: s, fn: control___screen_setupUpdate__P52075, depth: s.depth + 1,
247
243
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
248
244
  tmp_0: undefined,
249
245
  arg0: undefined,
@@ -252,8 +248,7 @@ function control___screen_setupUpdate__P52050_mk(s) {
252
248
 
253
249
 
254
250
 
255
-
256
- function control___screen_update__P52049(s) {
251
+ function control___screen_update__P52074(s) {
257
252
  let r0 = s.r0, step = s.pc;
258
253
  s.pc = -1;
259
254
 
@@ -263,27 +258,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
263
258
  switch (step) {
264
259
  case 0:
265
260
 
266
- r0 = pxsim_numops_toBoolDecr(globals.__update___52046);
261
+ r0 = pxsim_numops_toBoolDecr(globals.__update___52071);
267
262
  if (!r0) { step = 1; continue; }
268
263
  s.tmp_0 = lambda_1_mk(s);
269
- s.tmp_0.argL = globals.__update___52046;
264
+ s.tmp_0.argL = globals.__update___52071;
270
265
  setupLambda(s.tmp_0, s.tmp_0.argL);
271
266
  s.callLocIdx = 0; s.pc = 3; return s.tmp_0;
272
267
  case 3:
273
268
  r0 = s.retval;
274
269
  case 1:
275
270
  case 2:
276
- globals.__updated___52048 = (true);
271
+ globals.__updated___52073 = (true);
277
272
  r0 = undefined;
278
273
  return leave(s, r0)
279
274
  default: oops()
280
275
  } } }
281
- control___screen_update__P52049.info = {"start":90,"length":102,"line":4,"column":4,"endLine":8,"endColumn":5,"fileName":"frame.ts","functionName":"update","argumentNames":[]}
276
+ control___screen_update__P52074.info = {"start":90,"length":102,"line":4,"column":4,"endLine":8,"endColumn":5,"fileName":"frame.ts","functionName":"update","argumentNames":[]}
282
277
 
283
- function control___screen_update__P52049_mk(s) {
278
+ function control___screen_update__P52074_mk(s) {
284
279
  checkStack(s.depth);
285
280
  return {
286
- parent: s, fn: control___screen_update__P52049, depth: s.depth + 1,
281
+ parent: s, fn: control___screen_update__P52074, depth: s.depth + 1,
287
282
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
288
283
  tmp_0: undefined,
289
284
  } }
@@ -291,8 +286,7 @@ function control___screen_update__P52049_mk(s) {
291
286
 
292
287
 
293
288
 
294
-
295
- function pause__P51872(s) {
289
+ function pause__P51897(s) {
296
290
  let r0 = s.r0, step = s.pc;
297
291
  s.pc = -1;
298
292
 
@@ -316,19 +310,18 @@ switch (step) {
316
310
  return leave(s, r0)
317
311
  default: oops()
318
312
  } } }
319
- pause__P51872.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]}
313
+ pause__P51897.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]}
320
314
 
321
- function pause__P51872_mk(s) {
315
+ function pause__P51897_mk(s) {
322
316
  checkStack(s.depth);
323
317
  return {
324
- parent: s, fn: pause__P51872, depth: s.depth + 1,
318
+ parent: s, fn: pause__P51897, depth: s.depth + 1,
325
319
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
326
320
  arg0: undefined,
327
321
  } }
328
322
 
329
323
 
330
324
 
331
-
332
325
  function lambda_1_mk(s) {
333
326
  checkStack(s.depth);
334
327
  return {
@@ -343,7 +336,7 @@ function lambda_1_mk(s) {
343
336
  } }
344
337
 
345
338
 
346
- const breakpoints = setupDebugger(1, ["__updated___52048","screen___52076","__update___52046"])
339
+ const breakpoints = setupDebugger(1, ["__updated___52073","screen___52101","__update___52071"])
347
340
 
348
- return _main___P51551
341
+ return _main___P51576
349
342
  })