# I need help with this yes or no

**URL:** https://forum.makecode.com/t/i-need-help-with-this-yes-or-no/36014
**Category:** Help
**Created:** [April 21, 2025, 7:34pm UTC](https://forum.makecode.com/t/i-need-help-with-this-yes-or-no/36014 "2025-04-21T19:34:27Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![KensingtonianNinja](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kensingtonianninja/32/20742_2.png) [@KensingtonianNinja](https://forum.makecode.com/u/KensingtonianNinja)
#### Post date: [April 21, 2025, 7:34pm UTC](https://forum.makecode.com/t/i-need-help-with-this-yes-or-no/36014/1 "2025-04-21T19:34:27Z")

</div>

> **[Pokemon Red/Blue](https://arcade.makecode.com/S65664-62873-93683-13198)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

I’m making a game where i need help with an if statement here and I don’t know why it isn’t working. Here it is:

 ![Screenshot 2025-04-20 2.22.37 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/8/e/8e57fa2a4572adda544373bc69ff283f81e19236.png)

---

<div class="post-metadata">

### Author: ![gimmoeri](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gimmoeri/32/25503_2.png) [@gimmoeri](https://forum.makecode.com/u/gimmoeri)
#### Post date: [April 22, 2025, 6:24pm UTC](https://forum.makecode.com/t/i-need-help-with-this-yes-or-no/36014/2 "2025-04-22T18:24:01Z")

</div>

try just doing tilemap position of pokeballab

---

<div class="post-metadata">

### Author: ![KensingtonianNinja](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kensingtonianninja/32/20742_2.png) [@KensingtonianNinja](https://forum.makecode.com/u/KensingtonianNinja)
#### Post date: [April 23, 2025, 12:31pm UTC](https://forum.makecode.com/t/i-need-help-with-this-yes-or-no/36014/3 "2025-04-23T12:31:06Z")

</div>

thanks  
Ill try

---

<div class="post-metadata">

### Author: ![KensingtonianNinja](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kensingtonianninja/32/20742_2.png) [@KensingtonianNinja](https://forum.makecode.com/u/KensingtonianNinja)
#### Post date: [April 24, 2025, 5:12pm UTC](https://forum.makecode.com/t/i-need-help-with-this-yes-or-no/36014/4 "2025-04-24T17:12:54Z")

</div>

it didn’t work???

---

<div class="post-metadata">

### Author: ![Stickman4269](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/stickman4269/32/23582_2.png) [@Stickman4269](https://forum.makecode.com/u/Stickman4269)
#### Post date: [May 1, 2025, 3:36pm UTC](https://forum.makecode.com/t/i-need-help-with-this-yes-or-no/36014/5 "2025-05-01T15:36:12Z")

</div>

For some reason, tilemap locations can’t be compared. You need to do a “join (tilemap location) column & : & (tilemap location) row = 6:4”

---

<div class="post-metadata">

### Author: ![KensingtonianNinja](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kensingtonianninja/32/20742_2.png) [@KensingtonianNinja](https://forum.makecode.com/u/KensingtonianNinja)
#### Post date: [May 1, 2025, 8:13pm UTC](https://forum.makecode.com/t/i-need-help-with-this-yes-or-no/36014/6 "2025-05-01T20:13:19Z")

</div>

thanks
