Hello Everyone! I'll get straight to my point:
I'm looking for a script that will activate once Link is facing the FFC and presses A (much like the NPC scripts do). From there, the script checks if Link has an item in his inventory before warping. If Link does not have the item, activate side warp A. If Link does have the item, activate side warp B.
For some better elaboration:
I want to try using this for key items in my quest that will trigger cutscenes/secrets. I dont know much on scripting, but I am assuming that if the script was made as an ffc, it would be possible to use D0 or D1, etc. to check the value of the item that the game is looking for. That way, a single script could be used for all of my key items.
So an example of how it would be used:
Key item X is needed to open a stone door blocking a cave entrance. This stone door would have the FFC put on top of it. So Link would walk up to the stone door and press A. Then it would either take him to side warp A if he does not have Key Item X, and side warp B if he does have the item. So side warp B will go to a cutscene of the stone door opening, but side warp A will not.
Sorry if I sound redundant explaining this. I know its good to be as specific as possible