If anyone’s still here,
Got a quick question…
I just don’t know anymore. So I made an inventory thing just like the equipment one, but modified a bit to decrease variables everytime players use them. Like potions and stuff. looks something like this:
*label consumable
You go through your things…
*choice
*if (potion_got) #Potion
A potion that can increase your vitality…
Potion: ${potion}
*choice
*selectable_if (potion >0) #Use Potion (1)
You chug down a potion…
*set potion -1
*set health +200
*goto consumable
#(back)
*goto consumable
The problem now is that everytime I press the Return to Game button and then back to the Show Stats then navigate my way to inventory, the potion variable bumps itself back to the number (like it was never used) but it still increases the health by 200. Is this some sort of bug? Because I see nothing wrong with the code (i think). Sometimes it even increases by it itself. (surpassing the original variable change that I did *set variable +1" (becomes 2)