Ok I'm having this problem with chests. The chests that Link opens and gets items from. Right now I'm only using one item for the chest, placing it in the room, and then using a script that checks the id to know what item to give link.
The problem is when I go to the next room and come back the chest is unopened. I'm not sure how to keep them opened because it seems like I need a global variable to stay in play during the room switches, but it also seems like I need a local variable because each chest is independent from one another.
How would I be able to have the chests that Link has opened stay opened when he leaves and returns to a room? Keep in mind that right now the chest object is just one object.