Item Restriction Woes

Good evening!



I have been making tactical turn-based rpg using LETBS. Now, this mod seems to be compatible with most of the yanfly mods I have tried ( if not all), and all has been running smoothly! Today I have stumbled upon a hiccup; however I am wondering if anyone with Javascript experience could lend an idea.



My game allows you to only use one item per turn, and so I used Yanflys item restrictions so it can check if the user has a State applied to them. If they do, they are unable to use another item. This works great as long as you do not have a party member, however, when you do, it appears that this restriction ALSO checks to see if your allies have it as well…which they won't as it is not there turn. So this issue completely breaks my games items system ☹



I want to know if it's possible to either add that state to all allies on the map after using an item OR make it check ONLY the specific user… Anything will do.

Original thread: https://forums.rpgmakerweb.com/threads/item-restriction-woes.125567/