Qust thing

Hello!

I Trying to make a very simple quest. (I'm new with rpg maker)

The quest about to buy a potion from the shop. My problem is this:

I made you talk with the man he gives you the gold and send you to the shop.

here i made a switch and if you talk with him again then he ask you do you have the potion? If you say yes then potion will be removed from your inventory if you say no then he remind you what to do and where is the shop. The only problem is, i can say yes without i have a potion 🙁 How can i make that i can say only no if i don't have the potion or if i say yes without potion he say i don't have? Thank you for help me !
I think VX works the same way as VXAce on this aspect.

You use a conditional branch which checks if the potion is in the inventory.  In Ace that particular check is on tab 4 of the conditional branch menus.

If yes: Then dialogue saying yes, remove it from inventory etc.

Self switch and new page, because you don't want this to repeat once you have given him the potion.

Else: Dialogue as you wish, including a reminder about where the shop is.
Thank you 🙂 Working now 😀 Sorry for my low question, I'm a fully newbie in rpg maker.
Could I therefore suggest that you have a look at this thread where Andar has compiled everything that someone new to the engine needs to known.  In particular, you might want to have a look at Dreadshadow's events tutorial game.  Spending some time on this now will save you a huge amount of time and frustration in the future.

Original thread: https://forums.rpgmakerweb.com/threads/qust-thing.42385/