# How does this even happen?

**URL:** <https://forum.makecode.com/t/how-does-this-even-happen/40566>\
**Category:** Help\
**Created:** [November 20, 2025, 5:34pm UTC](https://forum.makecode.com/t/how-does-this-even-happen/40566 "2025-11-20T17:34:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![codeFan413](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/codefan413/32/26855_2.png) [@codeFan413](https://forum.makecode.com/u/codeFan413)\
**Post date:** [November 20, 2025, 5:34pm UTC](https://forum.makecode.com/t/how-does-this-even-happen/40566/1 "2025-11-20T17:34:40Z")

</div>

[gaem](https://makecode.com/_1X7ccyLefW7i)

After adding the code for spawning an enemy per red tile, the whole tilemap breaks for no reason, and it dosen’t even create new enemies… please help

---

<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:** [November 20, 2025, 10:31pm UTC](https://forum.makecode.com/t/how-does-this-even-happen/40566/2 "2025-11-20T22:31:40Z")

</div>

This is happening because sometime you are using normal tilemap code and sometimes you are using code from the Color Coded Tilemaps extension. When you use the color coded tilemap blocks, the normal tilemap stops working. To fix this, you need to use the normal tilemap code instead of the Color Coded versions:

 ![Screenshot 2025-11-20 at 1.30.37 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/8/2/8223a74177433cbe219237279cb866487fefe4be.png)  
 ![Screenshot 2025-11-20 at 1.32.25 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/e/3/e3acf25ddb6bd17171c8b963eac89b44f26903a7.png)
