Ok, so, after doing a bit of testing, it seems to remove some shop items that aren't owned. For example, I have a shop that has the Silver Arrow and the Long Bow in it, and buying the Arrow removed the Bow, making the shop empty.
Both items have the remove from shop flag. But it also happened with a shop that has a quiver (which has the script) and 2 items that do not, and all 3 were removed.
Interestingly, for the bow & arrow shop, buying the arrow first (item 1) removes the bow from the shop. Buying the Bow first (item 2) does not remove the arrow, but purchasing the arrow afterwards does not grant the player the arrow. Both items have the script.
The other notable shop is the hidden one on 1:46. Buying the quiver I put there in slot 1 removes the Bait and recovery heart, neither of which have the script. (noted in EDIT1)
Same happens for the shop on 1:12, which is a duplicate shop.
With doing a bit more testing, it appears to be an issue with buying an item in the first slot of a shop that has the script attached to it.
Actually, it seems to be that buying an item with the script attached removes any subsequent items. i.e., buying item1 removes item2 and item3, but buying item2 only removes item3 and not item1.
Edited by SeraphinEveles, 21 June 2023 - 05:51 PM.