Quest gives reward before completion?

I am very new to the program. My conditional branch will not be taken in account for some reason. Even if the player doesn't complete the quest, the npc will give them the reward. The player is supposed to finish the quest by giving an axe, yet even if he has nothing in the inventory the quest will be completed when pressing "yes". The "else" branch is completely dismissed.
I do not understand how to make it so the quest stops completing itself by just pressing yes.
Here's my coding, learned from Venthros's video. 🙁
That all seems fine to me. Are you SURE you don't have it in inventory? Are you using any scripts? I know there's at least one that puts a heap of items in inventory for you when the game starts.
You have the "include equipment" box checked and, since you said you are very new and thus likely haven't done any removal of default assets, this probably means you have the default character Eric in the party... who happens to come equipped with that particular weapon. I suggest you change it to something else and see if the issue remains.
You have the "include equipment" box checked and, since you said you are very new and thus likely haven't done any removal of default assets, this probably means you have the default character Eric in the party... who happens to come equipped with that particular weapon. I suggest you change it to something else and see if the issue remais
You just saved my entire life. I am such an idiot, didn't even think that the character might be given equipment automatically. Thank you so much omg!!! 😢
Also sorry for being a noob and wasting time. :hswt:
That all seems fine to me. Are you SURE you don't have it in inventory? Are you using any scripts? I know there's at least one that puts a heap of items in inventory for you when the game starts.
Apparently it was because of the equipment the character spawns with. I am sorry for wasting your time but I am very grateful for helping to me. Have a wonderful day!!! 😍

Original thread: https://forums.rpgmakerweb.com/threads/quest-gives-reward-before-completion.143935/