I'm basically trying to set up a variable that +1 every time I get a certain item. When said variable is x≥, it will open up more options in a shop.
Basically I have 5 mini medals, so the shop will sell me a potion. I get 10 mini medals so the shop will sell me a potion and an antidote. ad inifinitum
I have to link this variable to a battle event, however; basically every time I beat a certain enemy, which is what is making it complicated. Sure if I just get the item outside of battle I can easily +1 the variable as I get it, but battle events are a bit more complicated. How can I +1 the variable each time I beat an enemy that also holds the item?
Basically I have 5 mini medals, so the shop will sell me a potion. I get 10 mini medals so the shop will sell me a potion and an antidote. ad inifinitum
I have to link this variable to a battle event, however; basically every time I beat a certain enemy, which is what is making it complicated. Sure if I just get the item outside of battle I can easily +1 the variable as I get it, but battle events are a bit more complicated. How can I +1 the variable each time I beat an enemy that also holds the item?