Hello, this is my first post here, apologies for the newbie question.
So I am trying to make a conditional branch that checks if the player has certain items in their inventory (eg. a key, a gem, and a book), and I figured I should use scripts instead of nested multiple conditional branches. Below is the script I made:
$gameParty.hasItem (($dataItems[6]) && ($dataItems[7]) && ($dataItems[8]) && ($dataItems[9]) && ($dataItems[12]))
It's not working though, and instead it only checks if player has any of the items above. What am I doing wrong and how do I fix it? Thank you in advance.
So I am trying to make a conditional branch that checks if the player has certain items in their inventory (eg. a key, a gem, and a book), and I figured I should use scripts instead of nested multiple conditional branches. Below is the script I made:
$gameParty.hasItem (($dataItems[6]) && ($dataItems[7]) && ($dataItems[8]) && ($dataItems[9]) && ($dataItems[12]))
It's not working though, and instead it only checks if player has any of the items above. What am I doing wrong and how do I fix it? Thank you in advance.