# Ive reused this code over the past years and it finally failed on me

**URL:** https://forum.makecode.com/t/ive-reused-this-code-over-the-past-years-and-it-finally-failed-on-me/43982
**Category:** Help
**Tags:** game
**Created:** [May 13, 2026, 10:51pm UTC](https://forum.makecode.com/t/ive-reused-this-code-over-the-past-years-and-it-finally-failed-on-me/43982 "2026-05-13T22:51:36Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![xbry](https://avatars.discourse-cdn.com/v4/letter/x/57b2e6/32.png) [@xbry](https://forum.makecode.com/u/xbry)
#### Post date: [May 13, 2026, 10:51pm UTC](https://forum.makecode.com/t/ive-reused-this-code-over-the-past-years-and-it-finally-failed-on-me/43982/1 "2026-05-13T22:51:36Z")

</div>

ive used the code for years changing the topic and it finally failed on me and i have no idea how to fix it or where to start, if anyone could help thank you in advance

> **[save princess eminence](https://arcade.makecode.com/S06442-22980-30065-52872)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

### Author: ![KawaiiGoddess](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kawaiigoddess/32/33722_2.png) [@KawaiiGoddess](https://forum.makecode.com/u/KawaiiGoddess)
#### Post date: [May 14, 2026, 3:27am UTC](https://forum.makecode.com/t/ive-reused-this-code-over-the-past-years-and-it-finally-failed-on-me/43982/2 "2026-05-14T03:27:33Z")

</div>

Did you check the error box?

![Screenshot 2026-05-13 195823](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/1/a/1a4f82641448f665211e45bae944190de32540b7.png)

And welcome here!

---

<div class="post-metadata">

### Author: ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)
#### Post date: [May 14, 2026, 11:46pm UTC](https://forum.makecode.com/t/ive-reused-this-code-over-the-past-years-and-it-finally-failed-on-me/43982/3 "2026-05-14T23:46:22Z")

</div>

The background scroller extension has a bug and you can avoid it by moving the “scroll background” block after the “show long text” block:

 ![Screenshot 2026-05-14 at 3.48.36 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/1/5/150ddb234dfe574cebf4700cc0fc355a21c704a8.png)

> **Dear Richard, why is the debug feature so wrong here?**
>
> @richard Why is the debug feature so terrible in this situation? It took me forever to find this error because the call stack is just really really wrong. You can see here that I have disabled the “startbosslevel” function entirely and it still thinks that that function had something to do with the error!
> 
> ![Screenshot 2026-05-14 at 3.55.04 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/7/9/7928ced3dd274dace119057b4e87962eda90febb.png)  
> The On A Button Pressed function also had nothing to do with the error at all!  
> Could it be seeing an error in one file and attributing that error to lines of code in another file? I just don’t understand why it is completely and totally wrong about what block is causing the error.

---

<div class="post-metadata">

### Author: ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)
#### Post date: [May 15, 2026, 1:14pm UTC](https://forum.makecode.com/t/ive-reused-this-code-over-the-past-years-and-it-finally-failed-on-me/43982/4 "2026-05-15T13:14:41Z")

</div>

looks like a bug, we maintain source maps between the blocks and javascript and it’s possible that the maps are out of date
