pxt-common-packages 9.4.7 → 9.5.1

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 (60) hide show
  1. package/built/common-sim.d.ts +1 -0
  2. package/built/common-sim.js +3 -0
  3. package/libs/accelerometer/built/debug/binary.js +8 -8
  4. package/libs/azureiot/built/debug/binary.js +461 -461
  5. package/libs/base/fixed.ts +6 -0
  6. package/libs/color/built/debug/binary.js +8 -8
  7. package/libs/color-sensor/built/debug/binary.js +8 -8
  8. package/libs/controller/built/debug/binary.js +7636 -7598
  9. package/libs/controller---none/built/debug/binary.js +7617 -7579
  10. package/libs/core/built/debug/binary.js +2 -2
  11. package/libs/core---samd/built/debug/binary.js +8 -8
  12. package/libs/datalogger/built/debug/binary.js +63 -63
  13. package/libs/edge-connector/built/debug/binary.js +8 -8
  14. package/libs/esp32/built/debug/binary.js +462 -462
  15. package/libs/game/built/debug/binary.js +7530 -7492
  16. package/libs/game/hitbox.ts +5 -5
  17. package/libs/game/sprite.ts +9 -9
  18. package/libs/gamepad/built/debug/binary.js +8 -8
  19. package/libs/keyboard/built/debug/binary.js +8 -8
  20. package/libs/lcd/built/debug/binary.js +8 -8
  21. package/libs/light/built/debug/binary.js +8 -8
  22. package/libs/light-spectrum-sensor/built/debug/binary.js +8 -8
  23. package/libs/lora/built/debug/binary.js +8 -8
  24. package/libs/matrix-keypad/built/debug/binary.js +8 -8
  25. package/libs/microphone/built/debug/binary.js +8 -8
  26. package/libs/mouse/built/debug/binary.js +8 -8
  27. package/libs/mqtt/built/debug/binary.js +176 -176
  28. package/libs/music/built/debug/binary.js +8 -8
  29. package/libs/net/built/debug/binary.js +176 -176
  30. package/libs/net/controller.ts +10 -1
  31. package/libs/net-game/built/debug/binary.js +9286 -9248
  32. package/libs/palette/built/debug/binary.js +7529 -7491
  33. package/libs/pixel/built/debug/binary.js +8 -8
  34. package/libs/power/built/debug/binary.js +8 -8
  35. package/libs/proximity/built/debug/binary.js +8 -8
  36. package/libs/pulse/built/debug/binary.js +8 -8
  37. package/libs/radio/built/debug/binary.js +8 -8
  38. package/libs/radio-broadcast/built/debug/binary.js +8 -8
  39. package/libs/rotary-encoder/built/debug/binary.js +8 -8
  40. package/libs/screen/built/debug/binary.js +50 -50
  41. package/libs/servo/built/debug/binary.js +8 -8
  42. package/libs/sprite-scaling/_locales/sprite-scaling-strings.json +5 -7
  43. package/libs/sprite-scaling/built/debug/binary.js +7529 -7491
  44. package/libs/sprite-scaling/scaling.ts +51 -50
  45. package/libs/storyboard/built/debug/binary.js +7529 -7491
  46. package/libs/tests/built/debug/binary.js +15 -15
  47. package/libs/thermometer/built/debug/binary.js +8 -8
  48. package/libs/wifi---esp32/README.md +12 -0
  49. package/libs/wifi---esp32/buildlogin.sh +1 -0
  50. package/libs/wifi---esp32/controller.ts +27 -1
  51. package/libs/wifi---esp32/enums.d.ts +4 -0
  52. package/libs/wifi---esp32/httpserver.cpp +168 -0
  53. package/libs/wifi---esp32/login.full.html +37 -0
  54. package/libs/wifi---esp32/login.html +1 -0
  55. package/libs/wifi---esp32/pxt.json +1 -0
  56. package/libs/wifi---esp32/shims.d.ts +8 -0
  57. package/libs/wifi---esp32/sim/wifisockets.ts +3 -0
  58. package/libs/wifi---esp32/wifi.cpp +24 -15
  59. package/libs/wifi---esp32/wifi.h +15 -1
  60. package/package.json +1 -1
@@ -17,11 +17,11 @@ namespace game {
17
17
  }
18
18
 
19
19
  get left() {
20
- return Fx.add(this.ox, this.parent._x);
20
+ return Fx.add(this.ox, Fx.floor(this.parent._x));
21
21
  }
22
22
 
23
23
  get top() {
24
- return Fx.add(this.oy, this.parent._y);
24
+ return Fx.add(this.oy, Fx.floor(this.parent._y));
25
25
  }
26
26
 
27
27
  get right() {
@@ -85,9 +85,9 @@ namespace game {
85
85
  minY = Fx.mul(minY, s._sy);
86
86
  maxX = Fx.mul(maxX, s._sx);
87
87
  maxY = Fx.mul(maxY, s._sy);
88
- const width = Fx.add(Fx.sub(maxX, minX), Fx.oneFx8);
89
- const height = Fx.add(Fx.sub(maxY, minY), Fx.oneFx8);
88
+ const width = Fx.add(Fx.sub(maxX, minX), s._sx);
89
+ const height = Fx.add(Fx.sub(maxY, minY), s._sy);
90
90
 
91
- return new Hitbox(s, width, height, minX, minY);
91
+ return new Hitbox(s, width, height, Fx.floor(minX), Fx.floor(minY));
92
92
  }
93
93
  }
@@ -301,7 +301,7 @@ class Sprite extends sprites.BaseSprite {
301
301
  }
302
302
 
303
303
  __serialize(offset: number): Buffer {
304
- const buf = control.createBuffer(offset + 16);
304
+ const buf = control.createBuffer(offset + 20);
305
305
  let k = offset;
306
306
  buf.setNumber(NumberFormat.Int16LE, k, Fx.toInt(this._x)); k += 2;
307
307
  buf.setNumber(NumberFormat.Int16LE, k, Fx.toInt(this._y)); k += 2;
@@ -309,8 +309,8 @@ class Sprite extends sprites.BaseSprite {
309
309
  buf.setNumber(NumberFormat.Int16LE, k, Fx.toInt(this._vy)); k += 2;
310
310
  buf.setNumber(NumberFormat.Int16LE, k, Fx.toInt(this._ax)); k += 2;
311
311
  buf.setNumber(NumberFormat.Int16LE, k, Fx.toInt(this._ay)); k += 2;
312
- buf.setNumber(NumberFormat.Int16LE, k, Fx.toInt(this._sx)); k += 2;
313
- buf.setNumber(NumberFormat.Int16LE, k, Fx.toInt(this._sy)); k += 2;
312
+ buf.setNumber(NumberFormat.Float32LE, k, Fx.toFloat(this._sx)); k += 4;
313
+ buf.setNumber(NumberFormat.Float32LE, k, Fx.toFloat(this._sy)); k += 4;
314
314
  return buf;
315
315
  }
316
316
 
@@ -407,12 +407,12 @@ class Sprite extends sprites.BaseSprite {
407
407
  //% group="Physics" blockSetVariable="mySprite"
408
408
  //% blockCombine block="width" callInDebugger
409
409
  get width() {
410
- return Fx.toInt(this._width);
410
+ return Fx.toFloat(this._width);
411
411
  }
412
412
  //% group="Physics" blockSetVariable="mySprite"
413
413
  //% blockCombine block="height" callInDebugger
414
414
  get height() {
415
- return Fx.toInt(this._height);
415
+ return Fx.toFloat(this._height);
416
416
  }
417
417
 
418
418
  //% group="Physics" blockSetVariable="mySprite"
@@ -1112,14 +1112,14 @@ class Sprite extends sprites.BaseSprite {
1112
1112
  if (anchor & (ScaleAnchor.Left | ScaleAnchor.Right)) {
1113
1113
  const newW = this.width;
1114
1114
  const diff = newW - oldW;
1115
- const diffOver2 = (diff / 2) | 0;
1115
+ const diffOver2 = diff / 2;
1116
1116
  if (anchor & ScaleAnchor.Left) { this.x += diffOver2; }
1117
1117
  if (anchor & ScaleAnchor.Right) { this.x -= diffOver2; }
1118
1118
  }
1119
1119
  if (anchor & (ScaleAnchor.Top | ScaleAnchor.Bottom)) {
1120
1120
  const newH = this.height;
1121
1121
  const diff = newH - oldH;
1122
- const diffOver2 = (diff / 2) | 0;
1122
+ const diffOver2 = diff / 2;
1123
1123
  if (anchor & ScaleAnchor.Top) { this.y += diffOver2; }
1124
1124
  if (anchor & ScaleAnchor.Bottom) { this.y -= diffOver2; }
1125
1125
  }
@@ -1131,7 +1131,7 @@ class Sprite extends sprites.BaseSprite {
1131
1131
  //% inlineInputMode=inline
1132
1132
  //% value.defl=1
1133
1133
  //% anchor.defl=ScaleAnchor.Middle
1134
- //% help=sprites/sprite/set-scale
1134
+ //% help=sprites/sprite/scale
1135
1135
  //% group="Scale" weight=90
1136
1136
  setScale(value: number, anchor?: ScaleAnchor): void {
1137
1137
  const direction = ScaleDirection.Uniformly;
@@ -1152,7 +1152,7 @@ class Sprite extends sprites.BaseSprite {
1152
1152
  //% inlineInputMode=inline
1153
1153
  //% value.defl=1
1154
1154
  //% anchor.defl=ScaleAnchor.Middle
1155
- //% help=sprites/sprite/change-scale
1155
+ //% help=sprites/sprite/scale
1156
1156
  //% group="Scale" weight=90
1157
1157
  changeScale(value: number, anchor?: ScaleAnchor): void {
1158
1158
  const direction = ScaleDirection.Uniformly;
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P24411(s) {
59
+ function _main___P24439(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,19 +66,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___24652 = (undefined);
70
- globals._pollEventQueue___24665 = (undefined);
69
+ globals._intervals___24682 = (undefined);
70
+ globals._pollEventQueue___24695 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P24411.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"gamepad.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P24411.continuations = [ ]
75
+ _main___P24439.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"gamepad.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P24439.continuations = [ ]
77
77
 
78
- function _main___P24411_mk(s) {
78
+ function _main___P24439_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P24411, depth: s.depth + 1,
81
+ parent: s, fn: _main___P24439, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
@@ -88,5 +88,5 @@ function _main___P24411_mk(s) {
88
88
 
89
89
  const breakpoints = setupDebugger(1, [])
90
90
 
91
- return _main___P24411
91
+ return _main___P24439
92
92
  })
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P29691(s) {
59
+ function _main___P29725(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,19 +66,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___29932 = (undefined);
70
- globals._pollEventQueue___29945 = (undefined);
69
+ globals._intervals___29968 = (undefined);
70
+ globals._pollEventQueue___29981 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P29691.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"keyboard.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P29691.continuations = [ ]
75
+ _main___P29725.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"keyboard.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P29725.continuations = [ ]
77
77
 
78
- function _main___P29691_mk(s) {
78
+ function _main___P29725_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P29691, depth: s.depth + 1,
81
+ parent: s, fn: _main___P29725, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
@@ -88,5 +88,5 @@ function _main___P29691_mk(s) {
88
88
 
89
89
  const breakpoints = setupDebugger(1, [])
90
90
 
91
- return _main___P29691
91
+ return _main___P29725
92
92
  })
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P48754(s) {
59
+ function _main___P48806(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,19 +66,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___48995 = (undefined);
70
- globals._pollEventQueue___49008 = (undefined);
69
+ globals._intervals___49049 = (undefined);
70
+ globals._pollEventQueue___49062 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P48754.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"characterlcd.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P48754.continuations = [ ]
75
+ _main___P48806.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"characterlcd.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P48806.continuations = [ ]
77
77
 
78
- function _main___P48754_mk(s) {
78
+ function _main___P48806_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P48754, depth: s.depth + 1,
81
+ parent: s, fn: _main___P48806, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
@@ -88,5 +88,5 @@ function _main___P48754_mk(s) {
88
88
 
89
89
  const breakpoints = setupDebugger(1, [])
90
90
 
91
- return _main___P48754
91
+ return _main___P48806
92
92
  })
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P5344(s) {
59
+ function _main___P5350(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,19 +66,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___5585 = (undefined);
70
- globals._pollEventQueue___5598 = (undefined);
69
+ globals._intervals___5593 = (undefined);
70
+ globals._pollEventQueue___5606 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P5344.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P5344.continuations = [ ]
75
+ _main___P5350.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P5350.continuations = [ ]
77
77
 
78
- function _main___P5344_mk(s) {
78
+ function _main___P5350_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P5344, depth: s.depth + 1,
81
+ parent: s, fn: _main___P5350, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
@@ -88,5 +88,5 @@ function _main___P5344_mk(s) {
88
88
 
89
89
  const breakpoints = setupDebugger(1, [])
90
90
 
91
- return _main___P5344
91
+ return _main___P5350
92
92
  })
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P96936(s) {
59
+ function _main___P97034(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,19 +66,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___97177 = (undefined);
70
- globals._pollEventQueue___97190 = (undefined);
69
+ globals._intervals___97277 = (undefined);
70
+ globals._pollEventQueue___97290 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P96936.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"tsl2591.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P96936.continuations = [ ]
75
+ _main___P97034.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"tsl2591.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P97034.continuations = [ ]
77
77
 
78
- function _main___P96936_mk(s) {
78
+ function _main___P97034_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P96936, depth: s.depth + 1,
81
+ parent: s, fn: _main___P97034, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
@@ -88,5 +88,5 @@ function _main___P96936_mk(s) {
88
88
 
89
89
  const breakpoints = setupDebugger(1, [])
90
90
 
91
- return _main___P96936
91
+ return _main___P97034
92
92
  })
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P60044(s) {
59
+ function _main___P60108(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,19 +66,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___60285 = (undefined);
70
- globals._pollEventQueue___60298 = (undefined);
69
+ globals._intervals___60351 = (undefined);
70
+ globals._pollEventQueue___60364 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P60044.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"lora.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P60044.continuations = [ ]
75
+ _main___P60108.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"lora.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P60108.continuations = [ ]
77
77
 
78
- function _main___P60044_mk(s) {
78
+ function _main___P60108_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P60044, depth: s.depth + 1,
81
+ parent: s, fn: _main___P60108, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
@@ -88,5 +88,5 @@ function _main___P60044_mk(s) {
88
88
 
89
89
  const breakpoints = setupDebugger(1, [])
90
90
 
91
- return _main___P60044
91
+ return _main___P60108
92
92
  })
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P187675(s) {
59
+ function _main___P187868(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,19 +66,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___187916 = (undefined);
70
- globals._pollEventQueue___187929 = (undefined);
69
+ globals._intervals___188111 = (undefined);
70
+ globals._pollEventQueue___188124 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P187675.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"keypad.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P187675.continuations = [ ]
75
+ _main___P187868.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"keypad.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P187868.continuations = [ ]
77
77
 
78
- function _main___P187675_mk(s) {
78
+ function _main___P187868_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P187675, depth: s.depth + 1,
81
+ parent: s, fn: _main___P187868, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
@@ -88,5 +88,5 @@ function _main___P187675_mk(s) {
88
88
 
89
89
  const breakpoints = setupDebugger(1, [])
90
90
 
91
- return _main___P187675
91
+ return _main___P187868
92
92
  })
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P9184(s) {
59
+ function _main___P9194(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,19 +66,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___9425 = (undefined);
70
- globals._pollEventQueue___9438 = (undefined);
69
+ globals._intervals___9437 = (undefined);
70
+ globals._pollEventQueue___9450 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P9184.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P9184.continuations = [ ]
75
+ _main___P9194.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"targetoverrides.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P9194.continuations = [ ]
77
77
 
78
- function _main___P9184_mk(s) {
78
+ function _main___P9194_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P9184, depth: s.depth + 1,
81
+ parent: s, fn: _main___P9194, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
@@ -88,5 +88,5 @@ function _main___P9184_mk(s) {
88
88
 
89
89
  const breakpoints = setupDebugger(1, [])
90
90
 
91
- return _main___P9184
91
+ return _main___P9194
92
92
  })
@@ -56,7 +56,7 @@ const pxsim_pxtrt = pxsim.pxtrt;
56
56
  const pxsim_numops = pxsim.numops;
57
57
 
58
58
 
59
- function _main___P27938(s) {
59
+ function _main___P27970(s) {
60
60
  let r0 = s.r0, step = s.pc;
61
61
  s.pc = -1;
62
62
 
@@ -66,19 +66,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re
66
66
  switch (step) {
67
67
  case 0:
68
68
 
69
- globals._intervals___28179 = (undefined);
70
- globals._pollEventQueue___28192 = (undefined);
69
+ globals._intervals___28213 = (undefined);
70
+ globals._pollEventQueue___28226 = (undefined);
71
71
  r0 = undefined;
72
72
  return leave(s, r0)
73
73
  default: oops()
74
74
  } } }
75
- _main___P27938.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"mouse.ts","functionName":"<main>","argumentNames":[]}
76
- _main___P27938.continuations = [ ]
75
+ _main___P27970.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"mouse.ts","functionName":"<main>","argumentNames":[]}
76
+ _main___P27970.continuations = [ ]
77
77
 
78
- function _main___P27938_mk(s) {
78
+ function _main___P27970_mk(s) {
79
79
  checkStack(s.depth);
80
80
  return {
81
- parent: s, fn: _main___P27938, depth: s.depth + 1,
81
+ parent: s, fn: _main___P27970, depth: s.depth + 1,
82
82
  pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null,
83
83
  } }
84
84
 
@@ -88,5 +88,5 @@ function _main___P27938_mk(s) {
88
88
 
89
89
  const breakpoints = setupDebugger(1, [])
90
90
 
91
- return _main___P27938
91
+ return _main___P27970
92
92
  })