# The original code is messed up after arcade.makecode is updated

**URL:** <https://forum.makecode.com/t/the-original-code-is-messed-up-after-arcade-makecode-is-updated/7781>\
**Category:** Help\
**Created:** [May 3, 2021, 4:15pm UTC](https://forum.makecode.com/t/the-original-code-is-messed-up-after-arcade-makecode-is-updated/7781 "2021-05-03T16:15:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![channel2007](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/channel2007/32/4062_2.png) [@channel2007](https://forum.makecode.com/u/channel2007)\
**Post date:** [May 3, 2021, 4:15pm UTC](https://forum.makecode.com/t/the-original-code-is-messed-up-after-arcade-makecode-is-updated/7781/1 "2021-05-03T16:15:04Z")

</div>

Help!! The original code of the game we made before was messed up after the updated version of arcade.makecode. Is there a way to fix it? Thank you  
Game URL

> **[SPACE\_ALIEN\_V8](https://arcade.makecode.com/96105-88733-32394-52685?fbclid=IwAR3zy6hz3eB7i8SMRS77MJbg-mRvkZlKWhrBaYw8WKN4kBHgqY9M-Ye9VPY)**
>
> Microsoft MakeCode Arcade 出品，肯定用 ❤️。

Sorry for my bad english

---

<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 3, 2021, 4:32pm UTC](https://forum.makecode.com/t/the-original-code-is-messed-up-after-arcade-makecode-is-updated/7781/2 "2021-05-03T16:32:24Z")

</div>

Huh, looks like the random blocks did not get updated correctly. @jwunderl any idea why?

You should be able to fix it just by going through the code and adding numbers to the second argument of the pick random blocks. I took a stab at doing it here:

> **[SPACE\_ALIEN\_V8 (fix)](https://arcade.makecode.com/65641-94366-84148-69038)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![channel2007](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/channel2007/32/4062_2.png) [@channel2007](https://forum.makecode.com/u/channel2007)\
**Post date:** [May 4, 2021, 2:59pm UTC](https://forum.makecode.com/t/the-original-code-is-messed-up-after-arcade-makecode-is-updated/7781/3 "2021-05-04T14:59:46Z")

</div>

> [@richard](#):
>
> You should be able to fix it just by going through the code and adding numbers to the second argument of the pick random blocks. I took a stab at doing it here:

You are right, thank you very much. .^^

---

<div class="post-metadata">

**Author:** ![gusiscute64](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gusiscute64/32/3556_2.png) [@gusiscute64](https://forum.makecode.com/u/gusiscute64)\
**Post date:** [May 5, 2021, 4:08pm UTC](https://forum.makecode.com/t/the-original-code-is-messed-up-after-arcade-makecode-is-updated/7781/4 "2021-05-05T16:08:25Z")

</div>

i like this game

---

<div class="post-metadata">

**Author:** ![ThunderDrop180](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thunderdrop180/32/6820_2.png) [@ThunderDrop180](https://forum.makecode.com/u/ThunderDrop180)\
**Post date:** [May 6, 2021, 6:38pm UTC](https://forum.makecode.com/t/the-original-code-is-messed-up-after-arcade-makecode-is-updated/7781/5 "2021-05-06T18:38:23Z")

</div>

Nice artwork!
