Shops array system is not working

I’m currently remaking cookie clicker, but the shop won’t score the items properly.

By the way this is my first time using arrays in a game, I’m still learning how it works, but the bug kind of pissed me off.

Here the link to the game.


https://arcade.makecode.com/S78281-17548-25058-36784


1 Like

You could use enums, but their a JavaScript/python thing

1 Like

nah I fix it but thank you.

1 Like